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

Return to bug 493410