Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/displaycal/
Date: Thu, 22 Mar 2018 13:39:23
Message-Id: 1521725954.01974deafedac4814f08dcbaf01bfd5818078b45.voyageur@gentoo
1 commit: 01974deafedac4814f08dcbaf01bfd5818078b45
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 22 13:38:58 2018 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 22 13:39:14 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01974dea
7
8 media-gfx/displaycal: 3.5.1.0 bump
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 media-gfx/displaycal/Manifest | 1 +
13 media-gfx/displaycal/displaycal-3.5.1.0.ebuild | 64 ++++++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15
16 diff --git a/media-gfx/displaycal/Manifest b/media-gfx/displaycal/Manifest
17 index f7ada34685e..bfd3d755000 100644
18 --- a/media-gfx/displaycal/Manifest
19 +++ b/media-gfx/displaycal/Manifest
20 @@ -1,3 +1,4 @@
21 DIST DisplayCAL-3.3.5.0.tar.gz 9913672 BLAKE2B de95217baf18a3b07b51a9db24e37cd965ecf5ba96392410f7f5af788b696f69260eac5c0188cbd3a2f1b90dfafe781cd711c04a9bd45dd5a2fa59fd547087b2 SHA512 7a24cbc540771fd26b504536ee0c1b9c34f013c19b5b2a4e1ce38015014e9b34e67b48a1f08bf96581cef2968883691206ddb6cefa9ac70d76251a305a5b1c37
22 DIST DisplayCAL-3.4.0.0.tar.gz 10279645 BLAKE2B cf0b6d841c26d8ee4eec47fa58071e31e1ae4c8f1cd63f08216dbfd33caeb900d767988aa19f1738bdbe3c180954a13be22fdd96187b32edc8b0419b945670be SHA512 a63cda986a70cef844908c5809157af28473b564c97fa4c1b957102401b177b254cd215b1cb7c8192873e6d1b204dca66f5a08862f27e0d2f0c06b6ceeaae25e
23 DIST DisplayCAL-3.5.0.0.tar.gz 10371665 BLAKE2B f3854d602857ed260ab5bee3d43f9dafc8b4a55115ea9746c75fa679026493f3d11fd79c68270390de2175639d14796ce2e4cf20e34324b0af037630d118d293 SHA512 968f14edc5fc821de692dfd200c06068c259153afa684fb639f2867a356b435a35b5c7f4120a90c7d3d5ec3b0200cf0c8593bed6c364fcd7130013ec97ac09af
24 +DIST DisplayCAL-3.5.1.0.tar.gz 10378539 BLAKE2B b10e3f70401b9167728c4fc9b59bf66da7e3a09040fdf0800e9697aa9bc328d7d70e4018d14856fbde1a20028ef3aec2922727282050c291ed5a8c83209178e3 SHA512 7dd0c67c8766478223f1e36a36d386b0e8d284001642e34fd1aa27e196fc36be1fd98340f4af202c4b171aa44da9f9d20a53f8dda11ba5e270a1071351fc7a6a
25
26 diff --git a/media-gfx/displaycal/displaycal-3.5.1.0.ebuild b/media-gfx/displaycal/displaycal-3.5.1.0.ebuild
27 new file mode 100644
28 index 00000000000..d955f9b1fea
29 --- /dev/null
30 +++ b/media-gfx/displaycal/displaycal-3.5.1.0.ebuild
31 @@ -0,0 +1,64 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +PYTHON_COMPAT=( python2_7 )
37 +
38 +inherit distutils-r1 gnome2-utils xdg
39 +
40 +MY_PN="DisplayCAL"
41 +MY_P="${MY_PN}-${PV}"
42 +
43 +DESCRIPTION="Display calibration and characterization powered by Argyll CMS"
44 +HOMEPAGE="https://displaycal.net/"
45 +SRC_URI="mirror://sourceforge/dispcalgui/${MY_P}.tar.gz"
46 +
47 +LICENSE="GPL-3"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE=""
51 +
52 +DEPEND="
53 + >=media-gfx/argyllcms-1.1.0
54 + dev-python/wxpython:3.0
55 + >=x11-libs/libX11-1.3.3
56 + >=x11-apps/xrandr-1.3.2
57 + >=x11-libs/libXxf86vm-1.1.0
58 + >=x11-proto/xineramaproto-1.2
59 + >=x11-libs/libXinerama-1.1
60 +"
61 +RDEPEND="${DEPEND}
62 + >=dev-python/numpy-1.2.1
63 +"
64 +
65 +# Just in case someone renames the ebuild
66 +S="${WORKDIR}/${MY_P}"
67 +
68 +src_prepare() {
69 + # Do not generate udev/hotplug files
70 + sed -e '/if os.path.isdir/s#/etc/udev/rules.d\|/etc/hotplug#\0-non-existant#' \
71 + -i DisplayCAL/setup.py || die
72 + # Prohibit setup from running xdg-* programs, resulting to sandbox violation
73 + sed -e '/if which/s#xdg-icon-resource#\0-non-existant#' \
74 + -e '/if which/s#xdg-desktop-menu#\0-non-existant#' \
75 + -i DisplayCAL/postinstall.py || die
76 +
77 + # Remove deprecated Encoding key from .desktop file
78 + sed -e '/Encoding=UTF-8/d' -i misc/*.desktop || die
79 +
80 + # Remove x-world Media Type
81 + sed -e 's/x\-world\/x\-vrml\;//g' \
82 + -i misc/displaycal-vrml-to-x3d-converter.desktop || die
83 +
84 + distutils-r1_src_prepare
85 +}
86 +
87 +pkg_postinst() {
88 + xdg_pkg_postinst
89 + gnome2_icon_cache_update
90 +}
91 +
92 +pkg_postrm() {
93 + xdg_pkg_postrm
94 + gnome2_icon_cache_update
95 +}