1 |
commit: b6e1da66c9d91081748a4d8c5ef02c16319fb8d5 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 5 00:39:03 2015 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 5 01:42:16 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e1da66 |
7 |
|
8 |
media-libs/gegl: 0.3.4 (bug #567366) |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
media-libs/gegl/Manifest | 1 + |
13 |
media-libs/gegl/gegl-0.3.4.ebuild | 183 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 184 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest |
17 |
index 85500bb..1ff8e83 100644 |
18 |
--- a/media-libs/gegl/Manifest |
19 |
+++ b/media-libs/gegl/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST gegl-0.2.0.tar.bz2 7502040 SHA256 df2e6a0d9499afcbc4f9029c18d9d1e0dd5e8710a75e17c9b1d9a6480dd8d426 SHA512 16ef3f6852fd8efef2b6468a754342a2d003f2c2bef468d9465a448e6c89dedb8e791570f073a9faed05218a7c94c6c418eaa0f3abeadfb3e6b88d766ab792c8 WHIRLPOOL 74e9c18b095526b1d053f0700b3c3776197a5c1066cb77adb7c83f154aae9087319f7b7f0379fb9e895a5ef3ac62ebf05e2158c1d18180bafcef41dff096c01d |
22 |
DIST gegl-0.3.0.tar.bz2 5463571 SHA256 f0fec8f2e7b8835979d3cf4e38b05d41bb79f68dc80cf899a846484da693bbf7 SHA512 ff758df4689b0fa8f5e16ebcea32a7fe77bccfef70efc20d10669ce5139a70ec3533e78227fd4798812b31ac1ca5081b9d1d701a7449bf75356f879ece5fadd6 WHIRLPOOL 4827d6e40025c36d4ef869b5856f4def1e93cc195757f430cfd2980742ce6b37c79833283d17ec51e93b569a144548aaf7021854b9bcdb241b90049b1321a99b |
23 |
DIST gegl-0.3.2.tar.bz2 5325146 SHA256 b82f6e07e977dd7c2b6e671e9e029614840a66f0ca58defb22c0b05ed3ea485c SHA512 207d23a62cc447b0f6837e1901410114a63fe1a1b92a08d3c92941bfb461d04e320e02332e013ce26383641fdf1011fb4d3f4b6ce0370030c3fe770a49634a51 WHIRLPOOL 74105180350a621e9f445bcc0040f712f8129792199c4e9be086008854866d0bf4b369dd7f5c96acb2ac4454d34cff7ed4edf4460bc5e632109d1ed294e330eb |
24 |
+DIST gegl-0.3.4.tar.bz2 5328192 SHA256 846290a790854d1e6b7c17a2d6f82ad7cb14c72e240bd3b81b98cc0ceddbc3ec SHA512 7fe14c1534d61cfc253bce54cc707f93882ad96302068fe672e6cdcb613430e835ee5d39a5398537f845a6d101eed6fd3d1ff7e4204d51bc9ab5a59c9e09d2ec WHIRLPOOL 046af673b5a21a050555fabf5e52532b5de7af289922991f0c15cc39a09d32302a6a98483bd4ff2cee3a37356d0cf0e267c87f524f3b6678eb61fcaab6d6735c |
25 |
|
26 |
diff --git a/media-libs/gegl/gegl-0.3.4.ebuild b/media-libs/gegl/gegl-0.3.4.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..4fca26c |
29 |
--- /dev/null |
30 |
+++ b/media-libs/gegl/gegl-0.3.4.ebuild |
31 |
@@ -0,0 +1,183 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+ |
40 |
+# vala and introspection support is broken, bug #468208 |
41 |
+VALA_MIN_API_VERSION=0.20 |
42 |
+VALA_USE_DEPEND=vapigen |
43 |
+ |
44 |
+inherit versionator gnome2-utils eutils autotools python-any-r1 vala |
45 |
+ |
46 |
+if [[ ${PV} == *9999* ]]; then |
47 |
+ inherit autotools git-r3 |
48 |
+ EGIT_REPO_URI="git://git.gnome.org/gegl" |
49 |
+ SRC_URI="" |
50 |
+else |
51 |
+ SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
52 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
53 |
+fi |
54 |
+ |
55 |
+DESCRIPTION="A graph based image processing framework" |
56 |
+HOMEPAGE="http://www.gegl.org/" |
57 |
+ |
58 |
+LICENSE="|| ( GPL-3 LGPL-3 )" |
59 |
+SLOT="0.3" |
60 |
+ |
61 |
+IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg jpeg2k lcms lensfun libav openexr png raw sdl svg test tiff umfpack vala v4l webp" |
62 |
+REQUIRED_IUSE=" |
63 |
+ svg? ( cairo ) |
64 |
+ vala? ( introspection ) |
65 |
+" |
66 |
+ |
67 |
+RDEPEND=" |
68 |
+ >=dev-libs/glib-2.36:2 |
69 |
+ dev-libs/json-glib |
70 |
+ >=media-libs/babl-0.1.14 |
71 |
+ sys-libs/zlib |
72 |
+ >=x11-libs/gdk-pixbuf-2.18:2 |
73 |
+ x11-libs/pango |
74 |
+ |
75 |
+ cairo? ( x11-libs/cairo ) |
76 |
+ ffmpeg? ( |
77 |
+ libav? ( media-video/libav:0= ) |
78 |
+ !libav? ( media-video/ffmpeg:0= ) |
79 |
+ ) |
80 |
+ introspection? ( >=dev-libs/gobject-introspection-1.32 ) |
81 |
+ jpeg? ( virtual/jpeg:0= ) |
82 |
+ jpeg2k? ( >=media-libs/jasper-1.900.1 ) |
83 |
+ lcms? ( >=media-libs/lcms-2.2:2 ) |
84 |
+ lensfun? ( >=media-libs/lensfun-0.2.5 ) |
85 |
+ openexr? ( media-libs/openexr ) |
86 |
+ png? ( media-libs/libpng:0= ) |
87 |
+ raw? ( >=media-libs/libraw-0.15.4 ) |
88 |
+ sdl? ( media-libs/libsdl ) |
89 |
+ svg? ( >=gnome-base/librsvg-2.14:2 ) |
90 |
+ tiff? ( >=media-libs/tiff-4:0 ) |
91 |
+ umfpack? ( sci-libs/umfpack ) |
92 |
+ v4l? ( >=media-libs/libv4l-1.0.1 ) |
93 |
+ webp? ( media-libs/libwebp ) |
94 |
+" |
95 |
+DEPEND="${RDEPEND} |
96 |
+ >=dev-util/gtk-doc-am-1 |
97 |
+ >=dev-util/intltool-0.40.1 |
98 |
+ dev-lang/perl |
99 |
+ virtual/pkgconfig |
100 |
+ >=sys-devel/libtool-2.2 |
101 |
+ test? ( introspection? ( |
102 |
+ $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) |
103 |
+ vala? ( $(vala_depend) ) |
104 |
+" |
105 |
+ |
106 |
+pkg_setup() { |
107 |
+ use test && use introspection && python-any-r1_pkg_setup |
108 |
+} |
109 |
+ |
110 |
+src_prepare() { |
111 |
+ # FIXME: the following should be proper patch sent to upstream |
112 |
+ # fix OSX loadable module filename extension |
113 |
+ sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
114 |
+ # don't require Apple's OpenCL on versions of OSX that don't have it |
115 |
+ if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
116 |
+ sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
117 |
+ fi |
118 |
+ |
119 |
+ #epatch "${FILESDIR}"/${P}-g_log_domain.patch |
120 |
+ |
121 |
+ # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
122 |
+ sed -e '/clones.xml/d' \ |
123 |
+ -e '/composite-transform.xml/d' \ |
124 |
+ -i tests/compositions/Makefile.am || die |
125 |
+ |
126 |
+ epatch_user |
127 |
+ eautoreconf |
128 |
+ |
129 |
+ use vala && vala_src_prepare |
130 |
+} |
131 |
+ |
132 |
+src_configure() { |
133 |
+ # never enable altering of CFLAGS via profile option |
134 |
+ # libspiro: not in portage main tree |
135 |
+ # disable documentation as the generating is bit automagic |
136 |
+ # if anyone wants to work on it just create bug with patch |
137 |
+ |
138 |
+ # Also please note that: |
139 |
+ # |
140 |
+ # - Some auto-detections are not patched away since the docs are |
141 |
+ # not built (--disable-docs, lack of --enable-gtk-doc) and these |
142 |
+ # tools affect re-generation of docs, only |
143 |
+ # (e.g. ruby, asciidoc, dot (of graphviz), enscript) |
144 |
+ # |
145 |
+ # - Parameter --with-exiv2 compiles a noinst-app only, no use |
146 |
+ # |
147 |
+ # - Parameter --disable-workshop disables any use of Lua, effectivly |
148 |
+ # |
149 |
+ # - v4l support does not work with our media-libs/libv4l-0.8.9, |
150 |
+ # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
151 |
+ # |
152 |
+ # - There are two checks for dot, one controllable by --with(out)-graphviz |
153 |
+ # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
154 |
+ # |
155 |
+ # - mrg is not in tree and gexiv2 support only has effect when mrg support |
156 |
+ # is enabled |
157 |
+ # |
158 |
+ # So that's why USE="exif graphviz lua v4l" got resolved. More at: |
159 |
+ # https://bugs.gentoo.org/show_bug.cgi?id=451136 |
160 |
+ # |
161 |
+ econf \ |
162 |
+ --disable-docs \ |
163 |
+ --disable-profile \ |
164 |
+ --disable-silent-rules \ |
165 |
+ --disable-workshop \ |
166 |
+ --program-suffix=-${SLOT} \ |
167 |
+ --with-gdk-pixbuf \ |
168 |
+ --with-pango \ |
169 |
+ --without-libspiro \ |
170 |
+ $(use_enable cpu_flags_x86_mmx mmx) \ |
171 |
+ $(use_enable cpu_flags_x86_sse sse) \ |
172 |
+ $(use_enable debug) \ |
173 |
+ $(use_with cairo) \ |
174 |
+ $(use_with cairo pangocairo) \ |
175 |
+ --without-exiv2 \ |
176 |
+ $(use_with ffmpeg libavformat) \ |
177 |
+ --without-gexiv2 \ |
178 |
+ --without-graphviz \ |
179 |
+ $(use_with jpeg libjpeg) \ |
180 |
+ $(use_with jpeg2k jasper) \ |
181 |
+ $(use_with lcms) \ |
182 |
+ $(use_with lensfun) \ |
183 |
+ --without-lua \ |
184 |
+ --without-mrg \ |
185 |
+ $(use_with openexr) \ |
186 |
+ $(use_with png libpng) \ |
187 |
+ $(use_with raw libraw) \ |
188 |
+ $(use_with sdl) \ |
189 |
+ $(use_with svg librsvg) \ |
190 |
+ $(use_with tiff libtiff) \ |
191 |
+ $(use_with umfpack) \ |
192 |
+ $(use_with v4l libv4l) \ |
193 |
+ $(use_with v4l libv4l2) \ |
194 |
+ $(use_enable introspection) \ |
195 |
+ $(use_with vala) \ |
196 |
+ $(use_with webp) |
197 |
+} |
198 |
+ |
199 |
+src_test() { |
200 |
+ gnome2_environment_reset # sandbox issues |
201 |
+ default |
202 |
+} |
203 |
+ |
204 |
+src_compile() { |
205 |
+ gnome2_environment_reset # sandbox issues (bug #396687) |
206 |
+ default |
207 |
+ |
208 |
+ [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." |
209 |
+} |
210 |
+ |
211 |
+src_install() { |
212 |
+ default |
213 |
+ prune_libtool_files --all |
214 |
+} |