summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-06-09 13:10:49 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2017-06-09 13:11:09 +0200
commit323f40670259ef0212c7426ee3a047258e6d7e15 (patch)
treecc63036b68d62e740a2525679dcbe14797c9ef91 /media-gfx
parentdev-python/libpillowfight: 0.2.2 bump (diff)
downloadgentoo-323f40670259ef0212c7426ee3a047258e6d7e15.tar.gz
gentoo-323f40670259ef0212c7426ee3a047258e6d7e15.tar.bz2
gentoo-323f40670259ef0212c7426ee3a047258e6d7e15.zip
media-gfx/displaycal: 3.3.1.0 bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/displaycal/Manifest1
-rw-r--r--media-gfx/displaycal/displaycal-3.3.1.0.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/media-gfx/displaycal/Manifest b/media-gfx/displaycal/Manifest
index 3f49229d05eb..b59924cb9786 100644
--- a/media-gfx/displaycal/Manifest
+++ b/media-gfx/displaycal/Manifest
@@ -1,2 +1,3 @@
DIST DisplayCAL-3.2.4.0.tar.gz 9759425 SHA256 6851d801d36ab11ba3f65fbc0b8882ebf6a265fb1f0ce7bbab333434c686936b SHA512 87c63f6c2710592b31233ff906b0670d1b733f4fe7c1500e19305739a5658b38059ff1cc91e27b5d7e8dbb780f16d00c05cc84d0e42ce717a481d999fdd33a54 WHIRLPOOL 948344e781a9cf5613b8e31cfdca64c4ab72337744d0f3544c36fc081f8b34c0c099d42d981bf7cdd88a1f246154d26ee781f24f6f6f0a5577d9cd050f325508
DIST DisplayCAL-3.3.0.0.tar.gz 9882703 SHA256 32419d6435fc7369eb6f4320317573ea3b5ec1f204fd299ac81a39aeba68c5ea SHA512 1605845ff63821c1464feffa559b632c1e590e9f8456887e604a89443d65d6c5413ca26edaf1847d7b9b48a338baab0c59cf61fe845f5927e24d9f3af231d77c WHIRLPOOL fc46708cc5ca411bd014baff24afa36d746857c7753c8d49d8aefd761f79fe4e84195168601de08db06d88a0cc35de6ac32781531f7a2b4c7f5008572a062ade
+DIST DisplayCAL-3.3.1.0.tar.gz 9884394 SHA256 76318a42f9260887639e445308311e1022ea315b85572b26ae6030dc9827c842 SHA512 989ea0f7a93d7238b9d9f9d5bf7d2e60d483821668d1280ecbf0cf70626b4a53055fce8f9eda5dc6ef87809d2878a335ffa3313e4353c8b567769e27d360e605 WHIRLPOOL dfa8670a5c6b6da72eaa9c4c090ee969bbe4c468415c2631abbb7cbb32b17b4a92f2a21ad85dce559f56b215c4fea1f5dc8f56e7618caea1b19addd28d76dd68
diff --git a/media-gfx/displaycal/displaycal-3.3.1.0.ebuild b/media-gfx/displaycal/displaycal-3.3.1.0.ebuild
new file mode 100644
index 000000000000..4beb3e30e0da
--- /dev/null
+++ b/media-gfx/displaycal/displaycal-3.3.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}