media-gfx/displaycal: 3.3.3.0 bump

Signed-off-by: Nick Sarnie <commendsarnex@gmail.com>
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
Nick Sarnie
2017-08-30 13:32:40 +02:00
committed by Bernard Cafarelli
parent 67eb68a010
commit d97800d6ec
2 changed files with 55 additions and 0 deletions
+1
View File
@@ -2,3 +2,4 @@ DIST DisplayCAL-3.2.4.0.tar.gz 9759425 SHA256 6851d801d36ab11ba3f65fbc0b8882ebf6
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
DIST DisplayCAL-3.3.3.0.tar.gz 9887918 SHA256 47bcd09a44d43eb550fcd6f486d3f37c204a17b74fd9517991707856f54ca178 SHA512 2f9ac1ac2ce24629695f70078625ac4dc6e1346a675cd55658efc3631a6a37546cf6dc7b2747ae77b3681e7f7c816527497f53564e6cb51ce71a132d93955534 WHIRLPOOL 9b68dad41092d29fc7c15b34cfe3b1b034d7100eb8eeabbc1d9b1214c7670dc423fd9767830c2cf2ef007d2cc14238a0d608658206c76b0db59408d08daf863c
@@ -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
}