summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-07-03 16:27:38 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2017-07-03 16:27:38 +0200
commitcfee4a731a8d2c0625b7a548a938339b5f692d1c (patch)
tree369a62ad0974b64fa230efc5d660d70c53f9762f /media-gfx/displaycal
parentapp-text/tesseract: 3.05.01 bump, thanks mrueg in bug #622932 (diff)
downloadgentoo-cfee4a731a8d2c0625b7a548a938339b5f692d1c.tar.gz
gentoo-cfee4a731a8d2c0625b7a548a938339b5f692d1c.tar.bz2
gentoo-cfee4a731a8d2c0625b7a548a938339b5f692d1c.zip
media-gfx/displaycal: 3.3.2.0 bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-gfx/displaycal')
-rw-r--r--media-gfx/displaycal/Manifest1
-rw-r--r--media-gfx/displaycal/displaycal-3.3.2.0.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/media-gfx/displaycal/Manifest b/media-gfx/displaycal/Manifest
index b59924cb9786..6845e35d77f3 100644
--- a/media-gfx/displaycal/Manifest
+++ b/media-gfx/displaycal/Manifest
@@ -1,3 +1,4 @@
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
+DIST DisplayCAL-3.3.2.0.tar.gz 9887778 SHA256 fd06df52e753bce1ea7b626f2a1c8c241a151bba7767074e0be6821a0fa8e464 SHA512 8901f7b9fa94129c457ad8f7c8eaa9058a115cb5828e41508a7eb7ccac0ce6d8b68b7bc5426c341d57e51dfc459eeabd5beff923ad4366763473dca0a680d9a4 WHIRLPOOL 791f7233e8df919080bf81ef6d067bfa51106977331261782e5028f312854858c8afea61d1904dbb77fdb69253169cfb3922eb1aa91d40d6ccf14dc0aa5640be
diff --git a/media-gfx/displaycal/displaycal-3.3.2.0.ebuild b/media-gfx/displaycal/displaycal-3.3.2.0.ebuild
new file mode 100644
index 000000000000..4beb3e30e0da
--- /dev/null
+++ b/media-gfx/displaycal/displaycal-3.3.2.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
+}