1 |
commit: ceb4ab0f7edf9e4ca2ec6237b5ceaf425559cf35 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 25 21:33:38 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 25 22:40:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceb4ab0f |
7 |
|
8 |
media-libs/gegl: Drop 0.4.14, 0.3.0 and 0.2.0-r2 |
9 |
|
10 |
Package-Manager: Portage-2.3.85, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-libs/gegl/Manifest | 2 - |
14 |
media-libs/gegl/gegl-0.2.0-r2.ebuild | 156 ------------------------------ |
15 |
media-libs/gegl/gegl-0.3.0.ebuild | 181 ----------------------------------- |
16 |
media-libs/gegl/gegl-0.4.14.ebuild | 176 ---------------------------------- |
17 |
4 files changed, 515 deletions(-) |
18 |
|
19 |
diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest |
20 |
index 38747b32436..30c6459c6fc 100644 |
21 |
--- a/media-libs/gegl/Manifest |
22 |
+++ b/media-libs/gegl/Manifest |
23 |
@@ -1,7 +1,5 @@ |
24 |
DIST gegl-0.2.0.tar.bz2 7502040 BLAKE2B 29b33bf6aa878b74461e929a96570fca9a56e52931ee66356ca9c3c4cec7cdc0668330aa25756d0baf531d0b90c4830c1f244e8327b238a63d68cb74d486e961 SHA512 16ef3f6852fd8efef2b6468a754342a2d003f2c2bef468d9465a448e6c89dedb8e791570f073a9faed05218a7c94c6c418eaa0f3abeadfb3e6b88d766ab792c8 |
25 |
-DIST gegl-0.3.0.tar.bz2 5463571 BLAKE2B 7ac52fb22bab3b84068e10610d8681a5bcf56f6cdf39dae4374d2749823f3a1af62995382a1247427dde1921e0b11304adb800a2157ca6e7e773fdd97fee47f5 SHA512 ff758df4689b0fa8f5e16ebcea32a7fe77bccfef70efc20d10669ce5139a70ec3533e78227fd4798812b31ac1ca5081b9d1d701a7449bf75356f879ece5fadd6 |
26 |
DIST gegl-0.3.34.tar.bz2 6707964 BLAKE2B 4424a2c218067bd0a77d79c2334528da393350db3062019f3889b8cdb8d222f6e436ccfc845b61fdf425a1634698a7a6963702a29bb1666f515b1395c50dc99f SHA512 a7a394dcce4137d5224163ca324f1585e64d1cc797e77d452ba444afe2bff39aa2e2d5d040d07b394697b75162bc310bc51490a5af80240b26aac14b6e7abe02 |
27 |
-DIST gegl-0.4.14.tar.bz2 7209142 BLAKE2B a056f02c3fa9e075aa62cb8cb0d8183560ac66ffed68072add3ea6afc9da3b47c9854eb4e1799c61f451287b244bee4dfc8942365f556a0e820dd7485b9fc305 SHA512 1fcec83a961c0b9c98487de99d26893f98a5401816fa6d7238af4c645672d0eb0474cdb7251b8ebcd344aff589e8979bee0304b50fcfae9513fdbf8a02068e3b |
28 |
DIST gegl-0.4.16.tar.bz2 7304904 BLAKE2B a3f6021ed7b9d8b784b909057fcdc39e73b6b8b811009adae3c4a6805263e9a887e874ad662d8cd5c673ae324fe39e8f0299651139783fd3ece08675b70896fd SHA512 38eacbd53d9993ca99d061bf6f80553a86ff06bf42d1710403ac5f15629ccc9b1f4395ee7700a04cebc954ed7fe8745c5bef85453c9c56d89681dd53a1552b27 |
29 |
DIST gegl-0.4.18.tar.xz 4812756 BLAKE2B b8e5902b62c3549f57dd0ce52a0a406974bf8664d5b85389b79f7d698bcf2643d19861add3d8a9bd5c99036aba4da97b70884dcaacf2cb89170b995f1d1497a0 SHA512 e79874cd50e9f0c27c7dc9d9b952545c31d0a48e2b158aa54b92c3e933267877222f86ede7256f2528f18985dc85d6eadbcd809f7a3563efc4449ec7634f15fd |
30 |
DIST gegl-0.4.20.tar.xz 4826340 BLAKE2B 0d1087ea983d7fbeb7ea1edb572bea97e9b4e01aaabd5225ba07ab5cee3b369f42fe39691209f38d4d2a87d56997d9756449cafdb6288eb0864b49fb13a6a8ef SHA512 140ac1543aa24a23aa685dbd7335f21bcbf3d95c41c1451b2383f6d278842bd9f0c8c980ed27c70c67b2fefe9ba01f2d4bd4b77a1cee38ec1332c12ab3fd718d |
31 |
|
32 |
diff --git a/media-libs/gegl/gegl-0.2.0-r2.ebuild b/media-libs/gegl/gegl-0.2.0-r2.ebuild |
33 |
deleted file mode 100644 |
34 |
index 47fa7ae928d..00000000000 |
35 |
--- a/media-libs/gegl/gegl-0.2.0-r2.ebuild |
36 |
+++ /dev/null |
37 |
@@ -1,156 +0,0 @@ |
38 |
-# Copyright 1999-2019 Gentoo Authors |
39 |
-# Distributed under the terms of the GNU General Public License v2 |
40 |
- |
41 |
-EAPI=5 |
42 |
- |
43 |
-WANT_AUTOMAKE=1.11 # see bug 471990, comment 3 |
44 |
-# vala and introspection support is broken, bug #468208 |
45 |
-#VALA_MIN_API_VERSION=0.14 |
46 |
-#VALA_USE_DEPEND=vapigen |
47 |
- |
48 |
-inherit versionator gnome2-utils eutils autotools #vala |
49 |
- |
50 |
-DESCRIPTION="A graph based image processing framework" |
51 |
-HOMEPAGE="http://www.gegl.org/" |
52 |
-SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
53 |
- |
54 |
-LICENSE="|| ( GPL-3 LGPL-3 )" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
57 |
- |
58 |
-IUSE="cairo debug ffmpeg jpeg lensfun libav cpu_flags_x86_mmx openexr png raw sdl cpu_flags_x86_sse svg umfpack" # +introspection vala |
59 |
- |
60 |
-RDEPEND=" |
61 |
- >=media-libs/babl-0.1.10 |
62 |
- >=dev-libs/glib-2.28:2 |
63 |
- >=x11-libs/gdk-pixbuf-2.18:2 |
64 |
- x11-libs/pango |
65 |
- sys-libs/zlib |
66 |
- cairo? ( x11-libs/cairo ) |
67 |
- ffmpeg? ( |
68 |
- libav? ( media-video/libav:0= ) |
69 |
- !libav? ( media-video/ffmpeg:0= ) |
70 |
- ) |
71 |
- jpeg? ( virtual/jpeg:0 ) |
72 |
- openexr? ( media-libs/openexr ) |
73 |
- png? ( media-libs/libpng:0= ) |
74 |
- raw? ( =media-libs/libopenraw-0.0.9 ) |
75 |
- sdl? ( media-libs/libsdl ) |
76 |
- svg? ( >=gnome-base/librsvg-2.14:2 ) |
77 |
- umfpack? ( sci-libs/umfpack ) |
78 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
79 |
-" |
80 |
-# >=media-libs/babl-0.1.10[introspection?] |
81 |
-# introspection? ( >=dev-libs/gobject-introspection-0.10 |
82 |
-# >=dev-python/pygobject-2.26:2 ) |
83 |
-DEPEND="${RDEPEND} |
84 |
- >=dev-util/intltool-0.40.1 |
85 |
- dev-lang/perl |
86 |
- virtual/pkgconfig |
87 |
- >=sys-devel/libtool-2.2 |
88 |
-" |
89 |
-# vala? ( $(vala_depend) )" |
90 |
- |
91 |
-DOCS=( ChangeLog INSTALL README NEWS ) |
92 |
- |
93 |
-src_prepare() { |
94 |
- # https://bugs.gentoo.org/show_bug.cgi?id=442016 |
95 |
- epatch "${FILESDIR}/${P}-cve-2012-4433-1e92e523.patch" |
96 |
- epatch "${FILESDIR}/${P}-cve-2012-4433-4757cdf7.patch" |
97 |
- |
98 |
- # https://bugs.gentoo.org/show_bug.cgi?id=416587 |
99 |
- epatch "${FILESDIR}/${P}-introspection-version.patch" |
100 |
- |
101 |
- epatch "${FILESDIR}/${P}-ffmpeg-0.11.diff" |
102 |
- # fix OSX loadable module filename extension |
103 |
- sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
104 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
105 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
106 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
107 |
- fi |
108 |
- |
109 |
- epatch "${FILESDIR}"/${P}-g_log_domain.patch |
110 |
- |
111 |
- # https://bugs.gentoo.org/show_bug.cgi?id=605216 |
112 |
- # https://bugs.gentoo.org/show_bug.cgi?id=617430 |
113 |
- epatch "${FILESDIR}"/${P}-underlinking.patch |
114 |
- eautoreconf |
115 |
- |
116 |
- # https://bugs.gentoo.org/show_bug.cgi?id=468248 |
117 |
- local deps_file="${PN}/${PN}-$(get_version_component_range 1-2).deps" |
118 |
- [[ -f "${deps_file}" ]] || touch "${deps_file}" |
119 |
- |
120 |
-# use vala && vala_src_prepare |
121 |
-} |
122 |
- |
123 |
-src_configure() { |
124 |
- # never enable altering of CFLAGS via profile option |
125 |
- # libspiro: not in portage main tree |
126 |
- # disable documentation as the generating is bit automagic |
127 |
- # if anyone wants to work on it just create bug with patch |
128 |
- |
129 |
- # Also please note that: |
130 |
- # |
131 |
- # - Some auto-detections are not patched away since the docs are |
132 |
- # not built (--disable-docs, lack of --enable-gtk-doc) and these |
133 |
- # tools affect re-generation of docs, only |
134 |
- # (e.g. ruby, asciidoc, dot (of graphviz), enscript) |
135 |
- # |
136 |
- # - Parameter --with-exiv2 compiles a noinst-app only, no use |
137 |
- # |
138 |
- # - Parameter --disable-workshop disables any use of Lua, effectivly |
139 |
- # |
140 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
141 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
142 |
- # |
143 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
144 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
145 |
- # |
146 |
- # So that's why USE="exif graphviz lua v4l" got resolved. More at: |
147 |
- # https://bugs.gentoo.org/show_bug.cgi?id=451136 |
148 |
- # |
149 |
- econf \ |
150 |
- --disable-silent-rules \ |
151 |
- --disable-profile \ |
152 |
- --without-libspiro \ |
153 |
- --disable-docs --disable-workshop \ |
154 |
- --with-pango --with-gdk-pixbuf \ |
155 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
156 |
- $(use_enable cpu_flags_x86_sse sse) \ |
157 |
- $(use_enable debug) \ |
158 |
- $(use_with cairo) \ |
159 |
- $(use_with cairo pangocairo) \ |
160 |
- --without-exiv2 \ |
161 |
- $(use_with ffmpeg libavformat) \ |
162 |
- --without-graphviz \ |
163 |
- $(use_with jpeg libjpeg) \ |
164 |
- --without-jasper \ |
165 |
- --without-lua \ |
166 |
- $(use_with openexr) \ |
167 |
- $(use_with png libpng) \ |
168 |
- $(use_with raw libopenraw) \ |
169 |
- $(use_with sdl) \ |
170 |
- $(use_with svg librsvg) \ |
171 |
- $(use_with umfpack) \ |
172 |
- --without-libv4l \ |
173 |
- $(use_with lensfun) \ |
174 |
- --disable-introspection \ |
175 |
- --without-vala |
176 |
-# $(use_enable introspection) \ |
177 |
-# $(use_with vala) |
178 |
-} |
179 |
- |
180 |
-src_test() { |
181 |
- gnome2_environment_reset # sandbox issues |
182 |
- default |
183 |
-} |
184 |
- |
185 |
-src_compile() { |
186 |
- gnome2_environment_reset # sandbox issues (bug #396687) |
187 |
- default |
188 |
-} |
189 |
- |
190 |
-src_install() { |
191 |
- default |
192 |
- find "${ED}" -name '*.la' -delete |
193 |
-} |
194 |
|
195 |
diff --git a/media-libs/gegl/gegl-0.3.0.ebuild b/media-libs/gegl/gegl-0.3.0.ebuild |
196 |
deleted file mode 100644 |
197 |
index 02a01d4a9de..00000000000 |
198 |
--- a/media-libs/gegl/gegl-0.3.0.ebuild |
199 |
+++ /dev/null |
200 |
@@ -1,181 +0,0 @@ |
201 |
-# Copyright 1999-2019 Gentoo Authors |
202 |
-# Distributed under the terms of the GNU General Public License v2 |
203 |
- |
204 |
-EAPI=5 |
205 |
- |
206 |
-PYTHON_COMPAT=( python2_7 ) |
207 |
- |
208 |
-# vala and introspection support is broken, bug #468208 |
209 |
-VALA_MIN_API_VERSION=0.20 |
210 |
-VALA_USE_DEPEND=vapigen |
211 |
- |
212 |
-inherit versionator gnome2-utils eutils autotools python-any-r1 vala |
213 |
- |
214 |
-if [[ ${PV} == *9999* ]]; then |
215 |
- inherit autotools git-r3 |
216 |
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git" |
217 |
- SRC_URI="" |
218 |
-else |
219 |
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
220 |
- KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
221 |
-fi |
222 |
- |
223 |
-DESCRIPTION="A graph based image processing framework" |
224 |
-HOMEPAGE="http://www.gegl.org/" |
225 |
- |
226 |
-LICENSE="|| ( GPL-3 LGPL-3 )" |
227 |
-SLOT="0.3" |
228 |
- |
229 |
-IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg lcms lensfun libav openexr png raw sdl svg test umfpack vala v4l webp" |
230 |
-RESTRICT="!test? ( test )" |
231 |
-REQUIRED_USE="vala? ( introspection )" |
232 |
- |
233 |
-RDEPEND=" |
234 |
- >=dev-libs/glib-2.36:2 |
235 |
- dev-libs/json-glib |
236 |
- >=media-libs/babl-0.1.12 |
237 |
- sys-libs/zlib |
238 |
- >=x11-libs/gdk-pixbuf-2.18:2 |
239 |
- x11-libs/pango |
240 |
- |
241 |
- cairo? ( x11-libs/cairo ) |
242 |
- ffmpeg? ( |
243 |
- libav? ( media-video/libav:0= ) |
244 |
- !libav? ( media-video/ffmpeg:0= ) |
245 |
- ) |
246 |
- introspection? ( >=dev-libs/gobject-introspection-1.32 ) |
247 |
- jpeg? ( virtual/jpeg:0= ) |
248 |
- lcms? ( >=media-libs/lcms-2.2:2 ) |
249 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
250 |
- openexr? ( media-libs/openexr ) |
251 |
- png? ( media-libs/libpng:0= ) |
252 |
- raw? ( =media-libs/libopenraw-0.0.9 ) |
253 |
- sdl? ( media-libs/libsdl ) |
254 |
- svg? ( >=gnome-base/librsvg-2.14:2 ) |
255 |
- umfpack? ( sci-libs/umfpack ) |
256 |
- v4l? ( >=media-libs/libv4l-1.0.1 ) |
257 |
- webp? ( media-libs/libwebp ) |
258 |
-" |
259 |
-DEPEND="${RDEPEND} |
260 |
- >=dev-util/gtk-doc-am-1 |
261 |
- >=dev-util/intltool-0.40.1 |
262 |
- dev-lang/perl |
263 |
- virtual/pkgconfig |
264 |
- >=sys-devel/libtool-2.2 |
265 |
- test? ( introspection? ( |
266 |
- $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) |
267 |
- vala? ( $(vala_depend) ) |
268 |
-" |
269 |
- |
270 |
-pkg_setup() { |
271 |
- use test && use introspection && python-any-r1_pkg_setup |
272 |
-} |
273 |
- |
274 |
-src_prepare() { |
275 |
- # FIXME: the following should be proper patch sent to upstream |
276 |
- # fix OSX loadable module filename extension |
277 |
- sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
278 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
279 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
280 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
281 |
- fi |
282 |
- |
283 |
- #epatch "${FILESDIR}"/${P}-g_log_domain.patch |
284 |
- |
285 |
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
286 |
- sed -e '/clones.xml/d' \ |
287 |
- -e '/composite-transform.xml/d' \ |
288 |
- -i tests/compositions/Makefile.am || die |
289 |
- |
290 |
- # commit 11a283ab : test-image-compare needs >=babl-0.1.13 (not released yet) |
291 |
- # for the new CIE conversions |
292 |
- sed -e '/test-image-compare/d' \ |
293 |
- -i tests/simple/Makefile.am || die |
294 |
- |
295 |
- # Skip broken test with >=dev-python/pygobject-3.14 |
296 |
- sed -e '/test_buffer/ i\ @unittest.skip("broken")\' \ |
297 |
- -i tests/python/test-gegl-format.py || die |
298 |
- |
299 |
- epatch_user |
300 |
- eautoreconf |
301 |
- |
302 |
- use vala && vala_src_prepare |
303 |
-} |
304 |
- |
305 |
-src_configure() { |
306 |
- # never enable altering of CFLAGS via profile option |
307 |
- # libspiro: not in portage main tree |
308 |
- # disable documentation as the generating is bit automagic |
309 |
- # if anyone wants to work on it just create bug with patch |
310 |
- |
311 |
- # Also please note that: |
312 |
- # |
313 |
- # - Some auto-detections are not patched away since the docs are |
314 |
- # not built (--disable-docs, lack of --enable-gtk-doc) and these |
315 |
- # tools affect re-generation of docs, only |
316 |
- # (e.g. ruby, asciidoc, dot (of graphviz), enscript) |
317 |
- # |
318 |
- # - Parameter --with-exiv2 compiles a noinst-app only, no use |
319 |
- # |
320 |
- # - Parameter --disable-workshop disables any use of Lua, effectivly |
321 |
- # |
322 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
323 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
324 |
- # |
325 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
326 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
327 |
- # |
328 |
- # So that's why USE="exif graphviz lua v4l" got resolved. More at: |
329 |
- # https://bugs.gentoo.org/show_bug.cgi?id=451136 |
330 |
- # |
331 |
- econf \ |
332 |
- --disable-docs \ |
333 |
- --disable-profile \ |
334 |
- --disable-silent-rules \ |
335 |
- --disable-workshop \ |
336 |
- --program-suffix=-${SLOT} \ |
337 |
- --with-gdk-pixbuf \ |
338 |
- --with-pango \ |
339 |
- --without-libspiro \ |
340 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
341 |
- $(use_enable cpu_flags_x86_sse sse) \ |
342 |
- $(use_enable debug) \ |
343 |
- $(use_with cairo) \ |
344 |
- $(use_with cairo pangocairo) \ |
345 |
- --without-exiv2 \ |
346 |
- $(use_with ffmpeg libavformat) \ |
347 |
- --without-graphviz \ |
348 |
- $(use_with jpeg libjpeg) \ |
349 |
- --without-jasper \ |
350 |
- $(use_with lcms) \ |
351 |
- $(use_with lensfun) \ |
352 |
- --without-lua \ |
353 |
- $(use_with openexr) \ |
354 |
- $(use_with png libpng) \ |
355 |
- $(use_with raw libopenraw) \ |
356 |
- $(use_with sdl) \ |
357 |
- $(use_with svg librsvg) \ |
358 |
- $(use_with umfpack) \ |
359 |
- $(use_with v4l libv4l) \ |
360 |
- $(use_with v4l libv4l2) \ |
361 |
- $(use_enable introspection) \ |
362 |
- $(use_with vala) \ |
363 |
- $(use_with webp) |
364 |
-} |
365 |
- |
366 |
-src_test() { |
367 |
- gnome2_environment_reset # sandbox issues |
368 |
- default |
369 |
-} |
370 |
- |
371 |
-src_compile() { |
372 |
- gnome2_environment_reset # sandbox issues (bug #396687) |
373 |
- default |
374 |
- |
375 |
- [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." |
376 |
-} |
377 |
- |
378 |
-src_install() { |
379 |
- default |
380 |
- prune_libtool_files --all |
381 |
-} |
382 |
|
383 |
diff --git a/media-libs/gegl/gegl-0.4.14.ebuild b/media-libs/gegl/gegl-0.4.14.ebuild |
384 |
deleted file mode 100644 |
385 |
index 2e18c9d64d7..00000000000 |
386 |
--- a/media-libs/gegl/gegl-0.4.14.ebuild |
387 |
+++ /dev/null |
388 |
@@ -1,176 +0,0 @@ |
389 |
-# Copyright 1999-2019 Gentoo Authors |
390 |
-# Distributed under the terms of the GNU General Public License v2 |
391 |
- |
392 |
-EAPI=7 |
393 |
-PYTHON_COMPAT=( python2_7 ) |
394 |
- |
395 |
-# vala and introspection support is broken, bug #468208 |
396 |
-VALA_USE_DEPEND=vapigen |
397 |
- |
398 |
-inherit autotools gnome2-utils python-any-r1 vala |
399 |
- |
400 |
-if [[ ${PV} == *9999* ]]; then |
401 |
- inherit git-r3 |
402 |
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git" |
403 |
- SRC_URI="" |
404 |
-else |
405 |
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
406 |
- KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
407 |
-fi |
408 |
- |
409 |
-DESCRIPTION="A graph based image processing framework" |
410 |
-HOMEPAGE="http://www.gegl.org/" |
411 |
- |
412 |
-LICENSE="|| ( GPL-3+ LGPL-3 )" |
413 |
-SLOT="0.4" |
414 |
- |
415 |
-IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection lcms lensfun libav openexr pdf raw sdl svg test tiff umfpack vala v4l webp zlib" |
416 |
-RESTRICT="!test? ( test )" |
417 |
-REQUIRED_USE=" |
418 |
- svg? ( cairo ) |
419 |
- vala? ( introspection ) |
420 |
-" |
421 |
- |
422 |
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
423 |
-# so there is no chance to support libav right now (Gentoo bug #567638) |
424 |
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! |
425 |
-RDEPEND=" |
426 |
- >=dev-libs/glib-2.44:2 |
427 |
- dev-libs/json-glib |
428 |
- >=media-libs/babl-0.1.62 |
429 |
- >=media-libs/libpng-1.6.0:0= |
430 |
- virtual/jpeg:0= |
431 |
- >=x11-libs/gdk-pixbuf-2.32:2 |
432 |
- x11-libs/pango |
433 |
- cairo? ( >=x11-libs/cairo-1.12.2 ) |
434 |
- ffmpeg? ( |
435 |
- libav? ( media-video/libav:0= ) |
436 |
- !libav? ( media-video/ffmpeg:0= ) |
437 |
- ) |
438 |
- introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
439 |
- lcms? ( >=media-libs/lcms-2.8:2 ) |
440 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
441 |
- openexr? ( >=media-libs/openexr-2.2.0:= ) |
442 |
- pdf? ( >=app-text/poppler-0.71.0[cairo] ) |
443 |
- raw? ( >=media-libs/libraw-0.15.4:0= ) |
444 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
445 |
- svg? ( >=gnome-base/librsvg-2.40.6:2 ) |
446 |
- tiff? ( >=media-libs/tiff-4:0 ) |
447 |
- umfpack? ( sci-libs/umfpack ) |
448 |
- v4l? ( >=media-libs/libv4l-1.0.1 ) |
449 |
- webp? ( >=media-libs/libwebp-0.5.0:= ) |
450 |
- zlib? ( >=sys-libs/zlib-1.2.0 ) |
451 |
-" |
452 |
-DEPEND="${RDEPEND} |
453 |
- dev-lang/perl |
454 |
- >=dev-util/gtk-doc-am-1 |
455 |
- >=sys-devel/gettext-0.19.8 |
456 |
- virtual/pkgconfig |
457 |
- >=sys-devel/libtool-2.2 |
458 |
- test? ( ffmpeg? ( media-libs/gexiv2 ) |
459 |
- introspection? ( |
460 |
- $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') |
461 |
- ) |
462 |
- ) |
463 |
- vala? ( $(vala_depend) ) |
464 |
-" |
465 |
- |
466 |
-PATCHES=( |
467 |
- "${FILESDIR}/${PN}-0.3.12-failing-tests.patch" |
468 |
-) |
469 |
- |
470 |
-pkg_setup() { |
471 |
- use test && use introspection && python-any-r1_pkg_setup |
472 |
-} |
473 |
- |
474 |
-src_prepare() { |
475 |
- default |
476 |
- |
477 |
- # FIXME: the following should be proper patch sent to upstream |
478 |
- # fix OSX loadable module filename extension |
479 |
- sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
480 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
481 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
482 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
483 |
- fi |
484 |
- |
485 |
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
486 |
- sed -e '/clones.xml/d' \ |
487 |
- -e '/composite-transform.xml/d' \ |
488 |
- -i tests/compositions/Makefile.am || die |
489 |
- |
490 |
- eautoreconf |
491 |
- |
492 |
- gnome2_environment_reset |
493 |
- |
494 |
- use vala && vala_src_prepare |
495 |
-} |
496 |
- |
497 |
-src_configure() { |
498 |
- local myeconfargs=( |
499 |
- # disable documentation as the generating is bit automagic |
500 |
- # if anyone wants to work on it just create bug with patch |
501 |
- --disable-docs |
502 |
- # never enable altering of CFLAGS via profile option |
503 |
- --disable-profile |
504 |
- --disable-silent-rules |
505 |
- # - Parameter --disable-workshop disables any use of Lua, effectivly |
506 |
- --disable-workshop |
507 |
- --program-suffix=-${SLOT} |
508 |
- --with-gdk-pixbuf |
509 |
- --with-pango |
510 |
- # - Parameter --with-exiv2 compiles a noinst-app only, no use |
511 |
- # but needed during testing |
512 |
- --without-exiv2 |
513 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
514 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
515 |
- --without-graphviz |
516 |
- # libspiro: not in portage main tree |
517 |
- --without-libspiro |
518 |
- --without-lua |
519 |
- --without-mrg |
520 |
- $(use_enable cpu_flags_x86_mmx mmx) |
521 |
- $(use_enable cpu_flags_x86_sse sse) |
522 |
- $(use_enable debug) |
523 |
- $(use_enable introspection) |
524 |
- $(use_with cairo) |
525 |
- $(use_with cairo pangocairo) |
526 |
- $(use_with ffmpeg libavformat) |
527 |
- --without-jasper |
528 |
- $(use_with lcms) |
529 |
- $(use_with lensfun) |
530 |
- $(use_with openexr) |
531 |
- $(use_with pdf popplerglib) |
532 |
- $(use_with raw libraw) |
533 |
- $(use_with sdl) |
534 |
- $(use_with svg librsvg) |
535 |
- $(use_with tiff libtiff) |
536 |
- $(use_with umfpack) |
537 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
538 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
539 |
- $(use_with v4l libv4l) |
540 |
- $(use_with v4l libv4l2) |
541 |
- $(use_with vala) |
542 |
- $(use_with webp) |
543 |
- $(use_with zlib) |
544 |
- ) |
545 |
- |
546 |
- if use test; then |
547 |
- myeconfargs+=( $(use_with ffmpeg gexiv2) ) |
548 |
- else |
549 |
- myeconfargs+=( --without-gexiv2 ) |
550 |
- fi |
551 |
- |
552 |
- econf "${myeconfargs[@]}" |
553 |
-} |
554 |
- |
555 |
-src_compile() { |
556 |
- default |
557 |
- |
558 |
- [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." |
559 |
-} |
560 |
- |
561 |
-src_install() { |
562 |
- default |
563 |
- find "${ED}" -name '*.la' -delete || die |
564 |
-} |