Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 493410 | Differences between
and this patch

Collapse All | Expand All

(-)dispcalgui-1.2.7.0.ebuild (-12 / +8 lines)
Lines 2-24 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.2.7.0.ebuild,v 1.4 2014/03/04 20:10:14 ago Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.2.7.0.ebuild,v 1.4 2014/03/04 20:10:14 ago Exp $
4
4
5
EAPI="2"
5
EAPI="5"
6
PYTHON_DEPEND="2"
6
PYTHON_COMPAT=( python2_7 )
7
SUPPORT_PYTHON_ABIS="1"
8
RESTRICT_PYTHON_ABIS="2.4 3.* *-jython 2.7-pypy-*"
9
7
10
inherit distutils fdo-mime eutils
8
inherit distutils-r1 fdo-mime eutils
11
9
12
MY_PN="dispcalGUI"
10
MY_PN="dispcalGUI"
13
MY_P="${MY_PN}-${PV}"
11
MY_P="${MY_PN}-${PV}"
14
12
15
DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS"
13
DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS"
16
HOMEPAGE="http://dispcalgui.hoech.net/"
14
HOMEPAGE="http://dispcalgui.hoech.net/"
17
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
15
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
18
16
19
LICENSE="GPL-3"
17
LICENSE="GPL-3"
20
SLOT="0"
18
SLOT="0"
21
KEYWORDS="amd64 x86"
19
KEYWORDS="~amd64 ~x86"
22
IUSE=""
20
IUSE=""
23
21
24
DEPEND=">=media-gfx/argyllcms-1.1.0
22
DEPEND=">=media-gfx/argyllcms-1.1.0
Lines 39-45 Link Here
39
)
37
)
40
38
41
src_prepare() {
39
src_prepare() {
42
	epatch "${FILESDIR}"/${P}-wxversion-select.patch
40
	epatch "${FILESDIR}/${PN}-1.7.5.7-wxversion-select.patch"
43
41
44
#	Prohibit setup from running xdg-* programs, resulting to sandbox violation
42
#	Prohibit setup from running xdg-* programs, resulting to sandbox violation
45
	cd "${S}/dispcalGUI" || die "Cannot cd to source directory."
43
	cd "${S}/dispcalGUI" || die "Cannot cd to source directory."
Lines 54-64 Link Here
54
		die "removing deprecated Encoding key from .desktop files failed"
52
		die "removing deprecated Encoding key from .desktop files failed"
55
	done
53
	done
56
54
57
	distutils_src_prepare
55
	distutils-r1_src_prepare
58
}
56
}
59
57
60
src_install() {
58
src_install() {
61
	distutils_src_install
59
	distutils-r1_src_install
62
	#remove udev files
60
	#remove udev files
63
	rm -rf "${D}"/etc/udev/rules.d
61
	rm -rf "${D}"/etc/udev/rules.d
64
}
62
}
Lines 67-78 Link Here
67
#	Run xdg-* programs the Gentoo way since we removed this functionality from the original package
65
#	Run xdg-* programs the Gentoo way since we removed this functionality from the original package
68
	fdo-mime_mime_database_update
66
	fdo-mime_mime_database_update
69
	fdo-mime_desktop_database_update
67
	fdo-mime_desktop_database_update
70
	distutils_pkg_postinst
71
}
68
}
72
69
73
pkg_postrm() {
70
pkg_postrm() {
74
#	Run xdg-* programs the Gentoo way since we removed this functionality from the original package
71
#	Run xdg-* programs the Gentoo way since we removed this functionality from the original package
75
	fdo-mime_mime_database_update
72
	fdo-mime_mime_database_update
76
	fdo-mime_desktop_database_update
73
	fdo-mime_desktop_database_update
77
	distutils_pkg_postrm
78
}
74
}

Return to bug 493410