summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-01-18 12:38:01 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2017-01-18 12:38:01 +0100
commit40351101965f0400ca0e040166e73828a6625b95 (patch)
tree0721a588a39f3518821c508fe4cc94db3e09f1d4 /media-gfx/displaycal
parentdev-python/pyocr: 0.4.5 bump (diff)
downloadgentoo-40351101965f0400ca0e040166e73828a6625b95.tar.gz
gentoo-40351101965f0400ca0e040166e73828a6625b95.tar.bz2
gentoo-40351101965f0400ca0e040166e73828a6625b95.zip
media-gfx/displaycal: 3.2.3.0 bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-gfx/displaycal')
-rw-r--r--media-gfx/displaycal/Manifest1
-rw-r--r--media-gfx/displaycal/displaycal-3.2.3.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/media-gfx/displaycal/Manifest b/media-gfx/displaycal/Manifest
index 8c62afebdaee..e8bc867d6bd4 100644
--- a/media-gfx/displaycal/Manifest
+++ b/media-gfx/displaycal/Manifest
@@ -1,3 +1,4 @@
DIST DisplayCAL-3.1.6.0.tar.gz 9592426 SHA256 fc27814cf29b3643f8a44973f2139518c133f6a2549ffe51658e765a67cd02fd SHA512 ea5d0c5028c9dcfc834c03bd50d9e4cd5f4528ac0adf1312117128f8969533f857eaab738019d561b8197ad595ca73ad085db4feb36101df1e303933e1edbd87 WHIRLPOOL 6a23f57e606852838b43834d81acd346be1746040d47ac5884c997d828130ddf5b2049b8684d2de42b555ab7b6b6fb4d0430544d2586ca388eb769fbecc86be6
DIST DisplayCAL-3.2.1.0.tar.gz 9725546 SHA256 41e71fcec3c0867c94c68e9c56753a3aab614ca3b815cab547b6510926f5321f SHA512 b2a6fdab470f551361de5743f39a8ed9f23ae1ee47d0573f2f68a30d4cb2be89102f4272f2f99fd674e23ec99c6ee2ab2c89632cdad2394c618275af92d2b942 WHIRLPOOL 7081cb274598ca0cdf159c7f3e684a1bd33467f56d49662946740ce8033b002ef0e7060d707354d4d911fe7589788c1ea4f6700f1de25fdb1b34a564b6e5f8a7
DIST DisplayCAL-3.2.2.0.tar.gz 9728053 SHA256 013520784841ddb3bef41d60e9bb3f9d0c11c67bf4902cfd6aec25193450ed3e SHA512 6615b2f8bf8817c56c7691d031d7408b9b608d752319e7a0497a2292f4498ee1e138d6e66f9cca11d1015c1753e96897f68cfb8c32c0f73486c38ff2a8cea8cf WHIRLPOOL 6206d73aae7167f37b37fc378bd7d4590c85a14a2ed4dda2394164e716436cdac926cbe0df7145906c7ded9ad264bcf216a3626426bb221669a0ff690f18586e
+DIST DisplayCAL-3.2.3.0.tar.gz 9730309 SHA256 6d55765d7c8dd45cf2306bb88fc36655de61253474caeb2a406431d7f3a74c40 SHA512 837e076f37c215c3341907be85beb659ac60654c0b853b486f2c9eb3141ef6d03c21b94288621b35a0d1f447e1dda870509847475036e2448b4c4b869aaa5e2f WHIRLPOOL 70b21f81ed10909ad532a1e62dbfc948a878b158402a42c82b818676473d68b8605c89dad066d54b17b9711f7ea8b086f4e6c3e3306d40fcd1b3989800e03bae
diff --git a/media-gfx/displaycal/displaycal-3.2.3.0.ebuild b/media-gfx/displaycal/displaycal-3.2.3.0.ebuild
new file mode 100644
index 000000000000..8428b1f029b5
--- /dev/null
+++ b/media-gfx/displaycal/displaycal-3.2.3.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 xdg
+
+MY_PN="DisplayCAL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Display calibration and characterization powered by Argyll CMS"
+HOMEPAGE="https://displaycal.net/"
+SRC_URI="mirror://sourceforge/dispcalgui/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=media-gfx/argyllcms-1.1.0
+ dev-python/wxpython:3.0
+ >=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}"
+
+src_prepare() {
+ # Do not generate udev/hotplug files
+ sed -e '/if os.path.isdir/s#/etc/udev/rules.d\|/etc/hotplug#\0-non-existant#' \
+ -i DisplayCAL/setup.py || die
+ # Prohibit setup from running xdg-* programs, resulting to sandbox violation
+ sed -e '/if which/s#xdg-icon-resource#\0-non-existant#' \
+ -e '/if which/s#xdg-desktop-menu#\0-non-existant#' \
+ -i DisplayCAL/postinstall.py || die
+
+ # Remove deprecated Encoding key from .desktop file
+ sed -e '/Encoding=UTF-8/d' -i misc/*.desktop || die
+
+ # Remove x-world Media Type
+ sed -e 's/x\-world\/x\-vrml\;//g' \
+ -i misc/displaycal-vrml-to-x3d-converter.desktop || die
+
+ distutils-r1_src_prepare
+}