diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2011-11-18 20:21:09 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2011-11-18 20:21:09 +0000 |
commit | f4ce9e4e8a933b58d6bb636ba4528b78ca9e7391 (patch) | |
tree | 5c278c8d38339e218a1e6e9ec7445c46bcf3c6e2 /media-gfx/dispcalgui | |
parent | Update git repo. Bug #390755 thanks to William Keaney <keaneyw@gmail.com> (diff) | |
download | gentoo-2-f4ce9e4e8a933b58d6bb636ba4528b78ca9e7391.tar.gz gentoo-2-f4ce9e4e8a933b58d6bb636ba4528b78ca9e7391.tar.bz2 gentoo-2-f4ce9e4e8a933b58d6bb636ba4528b78ca9e7391.zip |
Version bump thanks to Marios Andreopoulos <opensource@andmarios.com>. Bug #388947
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/dispcalgui')
-rw-r--r-- | media-gfx/dispcalgui/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/dispcalgui/dispcalgui-0.7.8.9.ebuild | 63 |
2 files changed, 70 insertions, 1 deletions
diff --git a/media-gfx/dispcalgui/ChangeLog b/media-gfx/dispcalgui/ChangeLog index 9ab7a41221c0..37a163bc9fd8 100644 --- a/media-gfx/dispcalgui/ChangeLog +++ b/media-gfx/dispcalgui/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/dispcalgui # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.2 2011/09/30 17:13:45 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.3 2011/11/18 20:21:09 hwoarang Exp $ + +*dispcalgui-0.7.8.9 (18 Nov 2011) + + 18 Nov 2011; Markos Chandras <hwoarang@gentoo.org> +dispcalgui-0.7.8.9.ebuild: + Version bump thanks to Marios Andreopoulos <opensource@andmarios.com>. Bug + #388947 *dispcalgui-0.7.3.7 (30 Sep 2011) diff --git a/media-gfx/dispcalgui/dispcalgui-0.7.8.9.ebuild b/media-gfx/dispcalgui/dispcalgui-0.7.8.9.ebuild new file mode 100644 index 000000000000..c4567bf75247 --- /dev/null +++ b/media-gfx/dispcalgui/dispcalgui-0.7.8.9.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.7.8.9.ebuild,v 1.1 2011/11/18 20:21:09 hwoarang Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils fdo-mime + +MY_PN="dispcalGUI" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS" +HOMEPAGE="http://dispcalgui.hoech.net/" +SRC_URI="http://dispcalgui.hoech.net/archive/${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-gfx/argyllcms-1.1.0 + >=dev-python/wxpython-2.8.10.1 + >=x11-libs/libX11-1.3.3 + >=x11-apps/xrandr-1.3.2 + >=x11-libs/libXxf86vm-1.1.0 + >=x11-proto/xineramaproto-1.2 + >=x11-libs/libXinerama-1.1" +RDEPEND="${DEPEND} + >=dev-python/numpy-1.2.1" + +# Just in case someone renames the ebuild +S=${WORKDIR}/${MY_P} + +DOCS=( + README.html +) + +src_prepare() { +# Prohibit setup from running xdg-* programs, resulting to sandbox violation + cd "${S}/dispcalGUI" || die "Cannot cd to source directory." + sed -e 's/if which(\"xdg-icon-resource\"):/if which(\"xdg-icon-resource-non-existant\"):/' \ + -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \ + -i postinstall.py || die "sed'ing out the xdg-* setup functions failed" + + distutils_src_prepare +} + +pkg_postinst() { +# Run xdg-* programs the Gentoo way since we removed this functionality from the original package + fdo-mime_mime_database_update + fdo-mime_desktop_database_update + distutils_pkg_postinst +} + +pkg_postrm() { +# Run xdg-* programs the Gentoo way since we removed this functionality from the original package + fdo-mime_mime_database_update + fdo-mime_desktop_database_update + distutils_pkg_postrm +} |