1 |
commit: c5aa617a667a11ccce8c998bf9f8365bab05e950 |
2 |
Author: Craig Inches <craig.inches <AT> xayto <DOT> net> |
3 |
AuthorDate: Sun Jan 3 09:02:59 2016 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 3 09:26:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5aa617a |
7 |
|
8 |
media-gfx/dispcalgui: Version bump to 3.0.6.0 |
9 |
|
10 |
Gentoo Bug: #559512 |
11 |
|
12 |
Package-Manager: portage-2.2.24 |
13 |
|
14 |
media-gfx/dispcalgui/Manifest | 1 + |
15 |
media-gfx/dispcalgui/dispcalgui-3.0.6.0.ebuild | 72 ++++++++++++++++++++++++++ |
16 |
2 files changed, 73 insertions(+) |
17 |
|
18 |
diff --git a/media-gfx/dispcalgui/Manifest b/media-gfx/dispcalgui/Manifest |
19 |
index 7edb756..e38d411 100644 |
20 |
--- a/media-gfx/dispcalgui/Manifest |
21 |
+++ b/media-gfx/dispcalgui/Manifest |
22 |
@@ -2,3 +2,4 @@ DIST dispcalGUI-1.2.7.0.tar.gz 3302318 SHA256 8032b71ced4d7f718f8aa50a5dfc925951 |
23 |
DIST dispcalGUI-2.0.0.0.tar.gz 5914050 SHA256 fad516999bd663cf870fad2869fc63a23f93820dffff9dbd1029369417a6b650 SHA512 14e1a5d921ed4aaa07bd96d2c4256ce080bc6201d7a5b2a6fa69ae9ac25b8d34c9b0f3b3dac3d2e9a7d4c5faa97682e10a4b15205098a454623ecdb4e09eb8a5 WHIRLPOOL 1c88bb5da2dcddc1848249ba76057e1e33480e8fc344af6c3348d933c9752cc09f91a03a61f18f71cae27473956ae0e518b85864b5a2eb6ce9caf074d59f167c |
24 |
DIST dispcalGUI-2.5.0.0.tar.gz 6392054 SHA256 036a01a11551d990a6b84e241d131ca0b07d810d552b28332907aa6fb3cd4777 SHA512 d5cb2263739f9c46676222d20e570c161897af58bb359ed569a7690b6fc1ed83ce7e9862e7d69b1afb599b8035ca4f4abfccef83b877d98a34956535d2dd729b WHIRLPOOL 725de21d2d320ec74b6a7840cf5f251885b62946e20cfc7bed480f663c77116c9bac61b2df7e7ddfe7a0e7557269d864f0b88569e52463499eb310279fe66b7d |
25 |
DIST dispcalGUI-2.6.0.0.tar.gz 6722168 SHA256 3087facf1fd7941b04df327903eb9a49511987a9b7afaada9ee8ca4600d0109f SHA512 0f7b1952588ee8e5c49f3ce3be41e53c0dd746b6fd660107e78ec16b392ebda9f8bc45550a119371b2197fd370f0e28e05aee47c71e26cfb8f648a6d66277454 WHIRLPOOL 84f050ed73200054b7dad53730a86490e44e751ab96ef4ef3faea279ac692ef76685c8992135085c43c3e258e2fc44c5a276217443adc67560eb23b376d535d7 |
26 |
+DIST dispcalGUI-3.0.6.0.tar.gz 9048298 SHA256 6432d47734ad18abccd4ef236eb7b721d7233529057da507fa36ccaf80de6d6a SHA512 cd91960b5ef00bb9f4e60000cc9117ffd6c8236e8b8dc65a76a4690da1c17eb5216385fbc1467ea842119fdbdc2d6937990b07ac999d193a0353249be8b8d795 WHIRLPOOL 629db4a3c293c93918b665b28246d047e1defcbafd82f96a8c662aabf4077b33a1492e37e9e1a5cbbe018b92048a98fcfa872057acad30df1d1a915222428a02 |
27 |
|
28 |
diff --git a/media-gfx/dispcalgui/dispcalgui-3.0.6.0.ebuild b/media-gfx/dispcalgui/dispcalgui-3.0.6.0.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..d248f36 |
31 |
--- /dev/null |
32 |
+++ b/media-gfx/dispcalgui/dispcalgui-3.0.6.0.ebuild |
33 |
@@ -0,0 +1,72 @@ |
34 |
+# Copyright 1999-2016 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI="5" |
39 |
+PYTHON_COMPAT=( python2_7 ) |
40 |
+ |
41 |
+inherit distutils-r1 fdo-mime eutils |
42 |
+ |
43 |
+MY_PN="dispcalGUI" |
44 |
+MY_P="${MY_PN}-${PV}" |
45 |
+ |
46 |
+DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS" |
47 |
+HOMEPAGE="https://dispcalgui.hoech.net/" |
48 |
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="GPL-3" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="" |
54 |
+ |
55 |
+DEPEND=">=media-gfx/argyllcms-1.1.0 |
56 |
+ dev-python/wxpython:2.8 |
57 |
+ >=x11-libs/libX11-1.3.3 |
58 |
+ >=x11-apps/xrandr-1.3.2 |
59 |
+ >=x11-libs/libXxf86vm-1.1.0 |
60 |
+ >=x11-proto/xineramaproto-1.2 |
61 |
+ >=x11-libs/libXinerama-1.1" |
62 |
+RDEPEND="${DEPEND} |
63 |
+ >=dev-python/numpy-1.2.1" |
64 |
+ |
65 |
+# Just in case someone renames the ebuild |
66 |
+S=${WORKDIR}/${MY_P} |
67 |
+ |
68 |
+DOCS=( |
69 |
+ README.html |
70 |
+) |
71 |
+ |
72 |
+src_prepare() { |
73 |
+# Prohibit setup from running xdg-* programs, resulting to sandbox violation |
74 |
+ cd "${S}/dispcalGUI" || die "Cannot cd to source directory." |
75 |
+ sed -e 's/if which(\"xdg-icon-resource\"):/if which(\"xdg-icon-resource-non-existant\"):/' \ |
76 |
+ -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \ |
77 |
+ -i postinstall.py || die "sed'ing out the xdg-* setup functions failed" |
78 |
+ |
79 |
+# Remove deprecated Encoding key from .desktop file |
80 |
+ cd "${S}" || die "Cannot cd to work directory." |
81 |
+ for offendingFile in $(grep -r -l "Encoding=UTF-8" .); do |
82 |
+ sed -e '/Encoding=UTF-8/d' -i "${offendingFile}" || \ |
83 |
+ die "removing deprecated Encoding key from .desktop files failed" |
84 |
+ done |
85 |
+ |
86 |
+ distutils-r1_src_prepare |
87 |
+} |
88 |
+ |
89 |
+src_install() { |
90 |
+ distutils-r1_src_install |
91 |
+ #remove udev files |
92 |
+ rm -rf "${D}"/etc/udev/rules.d |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+# Run xdg-* programs the Gentoo way since we removed this functionality from the original package |
97 |
+ fdo-mime_mime_database_update |
98 |
+ fdo-mime_desktop_database_update |
99 |
+} |
100 |
+ |
101 |
+pkg_postrm() { |
102 |
+# Run xdg-* programs the Gentoo way since we removed this functionality from the original package |
103 |
+ fdo-mime_mime_database_update |
104 |
+ fdo-mime_desktop_database_update |
105 |
+} |