1 |
commit: aeed1f2adcc7dcbe2c699588b1e11bcaed52e2ee |
2 |
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Aug 23 17:05:13 2018 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 25 17:11:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeed1f2a |
7 |
|
8 |
media-libs/gegl: remove old versions |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/9678 |
11 |
|
12 |
media-libs/gegl/Manifest | 3 - |
13 |
media-libs/gegl/gegl-0.4.0-r1.ebuild | 191 ----------------------------------- |
14 |
media-libs/gegl/gegl-0.4.0.ebuild | 179 -------------------------------- |
15 |
media-libs/gegl/gegl-0.4.2.ebuild | 189 ---------------------------------- |
16 |
media-libs/gegl/gegl-0.4.4.ebuild | 189 ---------------------------------- |
17 |
media-libs/gegl/gegl-0.4.6.ebuild | 189 ---------------------------------- |
18 |
6 files changed, 940 deletions(-) |
19 |
|
20 |
diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest |
21 |
index 13739affc93..9378e88981d 100644 |
22 |
--- a/media-libs/gegl/Manifest |
23 |
+++ b/media-libs/gegl/Manifest |
24 |
@@ -3,8 +3,5 @@ DIST gegl-0.3.0.tar.bz2 5463571 BLAKE2B 7ac52fb22bab3b84068e10610d8681a5bcf56f6c |
25 |
DIST gegl-0.3.26.tar.bz2 6530788 BLAKE2B 1cd1a61737ec94cb30fdf16ca8dcb5667ebaa481d0e234f89b7e8bd9b05b3e515454bf768a66e64c88f61a57c83d51eecad9aab4450502dd3e02ce4f012df7a5 SHA512 1fafd6bb70b539bd31c052d2acfcb332fac92caf2a67e07a8c827db31b877aa373a184475952b6fc4dae455dcceccfd3943d782e9fe50f166323f698faf60957 |
26 |
DIST gegl-0.3.34.tar.bz2 6707964 BLAKE2B 4424a2c218067bd0a77d79c2334528da393350db3062019f3889b8cdb8d222f6e436ccfc845b61fdf425a1634698a7a6963702a29bb1666f515b1395c50dc99f SHA512 a7a394dcce4137d5224163ca324f1585e64d1cc797e77d452ba444afe2bff39aa2e2d5d040d07b394697b75162bc310bc51490a5af80240b26aac14b6e7abe02 |
27 |
DIST gegl-0.3.8.tar.bz2 5876259 BLAKE2B 24199148ffbef6454ea460d126c29f1cc8581e5430bc3e341a8ab48fff701a0d63c4cf8864d04219455feaeb7e03808e8de06cc8ae0a500eb4154f2ec9ba25fe SHA512 13207e7ab4723be1e31bdba5e30e5725e93c1adc61bad1413502128730391dbe7eb35419d243c8d0a1d8794341a58188790adacbb10d2a8e68db861c18d21bfb |
28 |
-DIST gegl-0.4.0.tar.bz2 6762190 BLAKE2B c138ee79806178f60eab2fae492fcf441dc49b54364abcf023f6ade0cb08d216200ae14a289af8b6da2f0eec97dc81d376469245d0aa6d6cabf269d42c0a83c0 SHA512 4e319e861f6a27f52d0d4920942abe3734e6015eaa76491ab55179d8c677ccf8eb7f4296ef43f55a5e77ae9e99bb2ba6f5bd20aa08f194e9d42a1159fae20c6e |
29 |
-DIST gegl-0.4.2.tar.bz2 6781136 BLAKE2B 522d4e7b2ace519423a66b7e65faab49bd0740173be6a8e108ec95b65c0359937df7b142e0a68589a4d773b839689ad6cf2ee67c5ea5b89267d46199b23e3f15 SHA512 8d842f5e192d279529615e09da8a76b051baa9c257ac699eba5f8ce46b4511554949e35f494e99c190b1477a700e018e2243a9e84c3c79e331824ca364b6cefd |
30 |
-DIST gegl-0.4.4.tar.bz2 6817195 BLAKE2B 928e91e61bfee8b9954992e1ad4dbc874a5f53ef5a8274a6805b2c7d9bb007e3ff9ab5e8fc0a767f7e7d05c327581231b42eebcc6f9781f9feb5abe17c22bbdf SHA512 6953bf7df225914ce9c8166f5a0490615664c69d5a66cf8ca805f75cfbe272186c7745d273fcde29c685e22a66d4483dbdf45064ec9c0007fd6d0b8aa3ebb164 |
31 |
DIST gegl-0.4.6.tar.bz2 6931774 BLAKE2B c8fabc8efbcc21a3663c8a3a698e6bc072506a66a21b81e6696c37c81aec1458c695f773c554b6d98c2fd21a3d3ab7fcca4b2f6567ec9d4f94b1e925b9bc9ce5 SHA512 6df34b6e76318a375820bccac6efeb2792c737e47154902fcc08ef93cb45b978992ee263260c99f8e865964d80cd1fac6dc2d6c8e4453174df64a9044b57325e |
32 |
DIST gegl-0.4.8.tar.bz2 7017022 BLAKE2B ec934fe6faa0c9328ae8c6476e19e175a8e8082e3d1f59052fb83fad766030ede9dd3464a215d332238277492151d988b17c6d3ac87f3d9cec01797acd259fae SHA512 20d2700cc74bce02e3e1b477f5e4dbd6546bb74625de235baaaa31e24f506930927af53de3d0880c0b16f93a10cec993c58a12adba59dec7dda0e389261799aa |
33 |
|
34 |
diff --git a/media-libs/gegl/gegl-0.4.0-r1.ebuild b/media-libs/gegl/gegl-0.4.0-r1.ebuild |
35 |
deleted file mode 100644 |
36 |
index 36f2afb95aa..00000000000 |
37 |
--- a/media-libs/gegl/gegl-0.4.0-r1.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,191 +0,0 @@ |
40 |
-# Copyright 1999-2018 Gentoo Foundation |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=6 |
44 |
-PYTHON_COMPAT=( python2_7 ) |
45 |
- |
46 |
-# vala and introspection support is broken, bug #468208 |
47 |
-VALA_USE_DEPEND=vapigen |
48 |
- |
49 |
-inherit versionator gnome2-utils eutils autotools python-any-r1 vala |
50 |
- |
51 |
-if [[ ${PV} == *9999* ]]; then |
52 |
- inherit autotools git-r3 |
53 |
- EGIT_REPO_URI="git://git.gnome.org/gegl" |
54 |
- SRC_URI="" |
55 |
-else |
56 |
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
57 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
58 |
-fi |
59 |
- |
60 |
-DESCRIPTION="A graph based image processing framework" |
61 |
-HOMEPAGE="http://www.gegl.org/" |
62 |
- |
63 |
-LICENSE="|| ( GPL-3 LGPL-3 )" |
64 |
-SLOT="0.4" |
65 |
- |
66 |
-IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg2k lcms lensfun openexr raw sdl svg test tiff umfpack vala v4l webp" |
67 |
-REQUIRED_USE=" |
68 |
- svg? ( cairo ) |
69 |
- vala? ( introspection ) |
70 |
-" |
71 |
- |
72 |
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
73 |
-# so there is no chance to support libav right now (Gentoo bug #567638) |
74 |
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! |
75 |
-RDEPEND=" |
76 |
- >=dev-libs/glib-2.44:2 |
77 |
- dev-libs/json-glib |
78 |
- >=media-libs/babl-0.1.46 |
79 |
- sys-libs/zlib |
80 |
- >=x11-libs/gdk-pixbuf-2.32:2 |
81 |
- x11-libs/pango |
82 |
- |
83 |
- cairo? ( >=x11-libs/cairo-1.12.2 ) |
84 |
- ffmpeg? ( |
85 |
- >=media-video/ffmpeg-2.8:0= |
86 |
- ) |
87 |
- introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
88 |
- virtual/jpeg:0= |
89 |
- jpeg2k? ( >=media-libs/jasper-1.900.1:= ) |
90 |
- lcms? ( >=media-libs/lcms-2.8:2 ) |
91 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
92 |
- openexr? ( >=media-libs/openexr-1.6.1:= ) |
93 |
- >=media-libs/libpng-1.6.0:0= |
94 |
- raw? ( >=media-libs/libraw-0.15.4:0= ) |
95 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
96 |
- svg? ( >=gnome-base/librsvg-2.40.6:2 ) |
97 |
- tiff? ( >=media-libs/tiff-4:0 ) |
98 |
- umfpack? ( sci-libs/umfpack ) |
99 |
- v4l? ( >=media-libs/libv4l-1.0.1 ) |
100 |
- webp? ( >=media-libs/libwebp-0.5.0:= ) |
101 |
-" |
102 |
-DEPEND="${RDEPEND} |
103 |
- >=dev-util/gtk-doc-am-1 |
104 |
- >=sys-devel/gettext-0.19.8 |
105 |
- dev-lang/perl |
106 |
- virtual/pkgconfig |
107 |
- >=sys-devel/libtool-2.2 |
108 |
- test? ( ffmpeg? ( media-libs/gexiv2 ) |
109 |
- introspection? ( |
110 |
- $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) |
111 |
- vala? ( $(vala_depend) ) |
112 |
-" |
113 |
- |
114 |
-pkg_setup() { |
115 |
- use test && use introspection && python-any-r1_pkg_setup |
116 |
-} |
117 |
- |
118 |
-PATCHES=( |
119 |
- "${FILESDIR}"/${PN}-0.3.12-failing-tests.patch |
120 |
- "${FILESDIR}"/${P}-ffmpeg-4-0-compat-1.patch # bug 654172 |
121 |
- "${FILESDIR}"/${P}-ffmpeg-4-0-compat-2.patch # bug 654172 |
122 |
-) |
123 |
- |
124 |
-src_prepare() { |
125 |
- default |
126 |
- |
127 |
- # FIXME: the following should be proper patch sent to upstream |
128 |
- # fix OSX loadable module filename extension |
129 |
- sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
130 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
131 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
132 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
133 |
- fi |
134 |
- |
135 |
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
136 |
- sed -e '/clones.xml/d' \ |
137 |
- -e '/composite-transform.xml/d' \ |
138 |
- -i tests/compositions/Makefile.am || die |
139 |
- |
140 |
- eautoreconf |
141 |
- |
142 |
- gnome2_environment_reset |
143 |
- |
144 |
- use vala && vala_src_prepare |
145 |
-} |
146 |
- |
147 |
-_use_with_both() { |
148 |
- if use "$1" && use "$2"; then |
149 |
- echo "--with-$3" |
150 |
- else |
151 |
- echo "--without-$3" |
152 |
- fi |
153 |
-} |
154 |
- |
155 |
-src_configure() { |
156 |
- # never enable altering of CFLAGS via profile option |
157 |
- # libspiro: not in portage main tree |
158 |
- # disable documentation as the generating is bit automagic |
159 |
- # if anyone wants to work on it just create bug with patch |
160 |
- |
161 |
- # Also please note that: |
162 |
- # |
163 |
- # - Some auto-detections are not patched away since the docs are |
164 |
- # not built (--disable-docs, lack of --enable-gtk-doc) and these |
165 |
- # tools affect re-generation of docs, only |
166 |
- # (e.g. ruby, asciidoc, dot (of graphviz), enscript) |
167 |
- # |
168 |
- # - Parameter --with-exiv2 compiles a noinst-app only, no use |
169 |
- # but needed during testing |
170 |
- # |
171 |
- # - Parameter --disable-workshop disables any use of Lua, effectivly |
172 |
- # |
173 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
174 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
175 |
- # |
176 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
177 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
178 |
- # |
179 |
- # - mrg is not in tree and gexiv2 support only has effect when mrg support |
180 |
- # is enabled |
181 |
- # |
182 |
- # So that's why USE="exif graphviz lua v4l" got resolved. More at: |
183 |
- # https://bugs.gentoo.org/show_bug.cgi?id=451136 |
184 |
- # |
185 |
- econf \ |
186 |
- --disable-docs \ |
187 |
- --disable-profile \ |
188 |
- --disable-silent-rules \ |
189 |
- --disable-workshop \ |
190 |
- --program-suffix=-${SLOT} \ |
191 |
- --with-gdk-pixbuf \ |
192 |
- --with-pango \ |
193 |
- --without-libspiro \ |
194 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
195 |
- $(use_enable cpu_flags_x86_sse sse) \ |
196 |
- $(use_enable debug) \ |
197 |
- $(use_with cairo) \ |
198 |
- $(use_with cairo pangocairo) \ |
199 |
- --without-exiv2 \ |
200 |
- $(use_with ffmpeg libavformat) \ |
201 |
- $(_use_with_both ffmpeg test gexiv2) \ |
202 |
- --without-graphviz \ |
203 |
- $(use_with jpeg2k jasper) \ |
204 |
- $(use_with lcms) \ |
205 |
- $(use_with lensfun) \ |
206 |
- --without-lua \ |
207 |
- --without-mrg \ |
208 |
- $(use_with openexr) \ |
209 |
- $(use_with raw libraw) \ |
210 |
- $(use_with sdl) \ |
211 |
- $(use_with svg librsvg) \ |
212 |
- $(use_with tiff libtiff) \ |
213 |
- $(use_with umfpack) \ |
214 |
- $(use_with v4l libv4l) \ |
215 |
- $(use_with v4l libv4l2) \ |
216 |
- $(use_enable introspection) \ |
217 |
- $(use_with vala) \ |
218 |
- $(use_with webp) |
219 |
-} |
220 |
- |
221 |
-src_compile() { |
222 |
- default |
223 |
- |
224 |
- [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." |
225 |
-} |
226 |
- |
227 |
-src_install() { |
228 |
- default |
229 |
- prune_libtool_files --all |
230 |
-} |
231 |
|
232 |
diff --git a/media-libs/gegl/gegl-0.4.0.ebuild b/media-libs/gegl/gegl-0.4.0.ebuild |
233 |
deleted file mode 100644 |
234 |
index a247b71cd60..00000000000 |
235 |
--- a/media-libs/gegl/gegl-0.4.0.ebuild |
236 |
+++ /dev/null |
237 |
@@ -1,179 +0,0 @@ |
238 |
-# Copyright 1999-2018 Gentoo Foundation |
239 |
-# Distributed under the terms of the GNU General Public License v2 |
240 |
- |
241 |
-EAPI=6 |
242 |
-PYTHON_COMPAT=( python2_7 ) |
243 |
- |
244 |
-# vala and introspection support is broken, bug #468208 |
245 |
-VALA_USE_DEPEND=vapigen |
246 |
- |
247 |
-inherit versionator gnome2-utils eutils autotools python-any-r1 vala |
248 |
- |
249 |
-if [[ ${PV} == *9999* ]]; then |
250 |
- inherit autotools git-r3 |
251 |
- EGIT_REPO_URI="git://git.gnome.org/gegl" |
252 |
- SRC_URI="" |
253 |
-else |
254 |
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
255 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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" |
256 |
-fi |
257 |
- |
258 |
-DESCRIPTION="A graph based image processing framework" |
259 |
-HOMEPAGE="http://www.gegl.org/" |
260 |
- |
261 |
-LICENSE="|| ( GPL-3 LGPL-3 )" |
262 |
-SLOT="0.4" |
263 |
- |
264 |
-IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg2k lcms lensfun openexr raw sdl svg test tiff umfpack vala v4l webp" |
265 |
-REQUIRED_USE=" |
266 |
- svg? ( cairo ) |
267 |
- vala? ( introspection ) |
268 |
-" |
269 |
- |
270 |
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
271 |
-# so there is no chance to support libav right now (Gentoo bug #567638) |
272 |
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! |
273 |
-RDEPEND=" |
274 |
- >=dev-libs/glib-2.44:2 |
275 |
- dev-libs/json-glib |
276 |
- >=media-libs/babl-0.1.46 |
277 |
- sys-libs/zlib |
278 |
- >=x11-libs/gdk-pixbuf-2.32:2 |
279 |
- x11-libs/pango |
280 |
- |
281 |
- cairo? ( >=x11-libs/cairo-1.12.2 ) |
282 |
- ffmpeg? ( |
283 |
- >=media-video/ffmpeg-2.8:0= |
284 |
- ) |
285 |
- introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
286 |
- virtual/jpeg:0= |
287 |
- jpeg2k? ( >=media-libs/jasper-1.900.1:= ) |
288 |
- lcms? ( >=media-libs/lcms-2.8:2 ) |
289 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
290 |
- openexr? ( >=media-libs/openexr-1.6.1:= ) |
291 |
- >=media-libs/libpng-1.6.0:0= |
292 |
- raw? ( >=media-libs/libraw-0.15.4:0= ) |
293 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
294 |
- svg? ( >=gnome-base/librsvg-2.40.6:2 ) |
295 |
- tiff? ( >=media-libs/tiff-4:0 ) |
296 |
- umfpack? ( sci-libs/umfpack ) |
297 |
- v4l? ( >=media-libs/libv4l-1.0.1 ) |
298 |
- webp? ( >=media-libs/libwebp-0.5.0:= ) |
299 |
-" |
300 |
-DEPEND="${RDEPEND} |
301 |
- >=dev-util/gtk-doc-am-1 |
302 |
- >=sys-devel/gettext-0.19.8 |
303 |
- dev-lang/perl |
304 |
- virtual/pkgconfig |
305 |
- >=sys-devel/libtool-2.2 |
306 |
- test? ( introspection? ( |
307 |
- $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) |
308 |
- vala? ( $(vala_depend) ) |
309 |
-" |
310 |
- |
311 |
-pkg_setup() { |
312 |
- use test && use introspection && python-any-r1_pkg_setup |
313 |
-} |
314 |
- |
315 |
-PATCHES=( |
316 |
- "${FILESDIR}"/${PN}-0.3.12-failing-tests.patch |
317 |
-) |
318 |
- |
319 |
-src_prepare() { |
320 |
- default |
321 |
- |
322 |
- # FIXME: the following should be proper patch sent to upstream |
323 |
- # fix OSX loadable module filename extension |
324 |
- sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
325 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
326 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
327 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
328 |
- fi |
329 |
- |
330 |
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
331 |
- sed -e '/clones.xml/d' \ |
332 |
- -e '/composite-transform.xml/d' \ |
333 |
- -i tests/compositions/Makefile.am || die |
334 |
- |
335 |
- eautoreconf |
336 |
- |
337 |
- gnome2_environment_reset |
338 |
- |
339 |
- use vala && vala_src_prepare |
340 |
-} |
341 |
- |
342 |
-src_configure() { |
343 |
- # never enable altering of CFLAGS via profile option |
344 |
- # libspiro: not in portage main tree |
345 |
- # disable documentation as the generating is bit automagic |
346 |
- # if anyone wants to work on it just create bug with patch |
347 |
- |
348 |
- # Also please note that: |
349 |
- # |
350 |
- # - Some auto-detections are not patched away since the docs are |
351 |
- # not built (--disable-docs, lack of --enable-gtk-doc) and these |
352 |
- # tools affect re-generation of docs, only |
353 |
- # (e.g. ruby, asciidoc, dot (of graphviz), enscript) |
354 |
- # |
355 |
- # - Parameter --with-exiv2 compiles a noinst-app only, no use |
356 |
- # |
357 |
- # - Parameter --disable-workshop disables any use of Lua, effectivly |
358 |
- # |
359 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
360 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
361 |
- # |
362 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
363 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
364 |
- # |
365 |
- # - mrg is not in tree and gexiv2 support only has effect when mrg support |
366 |
- # is enabled |
367 |
- # |
368 |
- # So that's why USE="exif graphviz lua v4l" got resolved. More at: |
369 |
- # https://bugs.gentoo.org/show_bug.cgi?id=451136 |
370 |
- # |
371 |
- econf \ |
372 |
- --disable-docs \ |
373 |
- --disable-profile \ |
374 |
- --disable-silent-rules \ |
375 |
- --disable-workshop \ |
376 |
- --program-suffix=-${SLOT} \ |
377 |
- --with-gdk-pixbuf \ |
378 |
- --with-pango \ |
379 |
- --without-libspiro \ |
380 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
381 |
- $(use_enable cpu_flags_x86_sse sse) \ |
382 |
- $(use_enable debug) \ |
383 |
- $(use_with cairo) \ |
384 |
- $(use_with cairo pangocairo) \ |
385 |
- --without-exiv2 \ |
386 |
- $(use_with ffmpeg libavformat) \ |
387 |
- --without-gexiv2 \ |
388 |
- --without-graphviz \ |
389 |
- $(use_with jpeg2k jasper) \ |
390 |
- $(use_with lcms) \ |
391 |
- $(use_with lensfun) \ |
392 |
- --without-lua \ |
393 |
- --without-mrg \ |
394 |
- $(use_with openexr) \ |
395 |
- $(use_with raw libraw) \ |
396 |
- $(use_with sdl) \ |
397 |
- $(use_with svg librsvg) \ |
398 |
- $(use_with tiff libtiff) \ |
399 |
- $(use_with umfpack) \ |
400 |
- $(use_with v4l libv4l) \ |
401 |
- $(use_with v4l libv4l2) \ |
402 |
- $(use_enable introspection) \ |
403 |
- $(use_with vala) \ |
404 |
- $(use_with webp) |
405 |
-} |
406 |
- |
407 |
-src_compile() { |
408 |
- default |
409 |
- |
410 |
- [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." |
411 |
-} |
412 |
- |
413 |
-src_install() { |
414 |
- default |
415 |
- prune_libtool_files --all |
416 |
-} |
417 |
|
418 |
diff --git a/media-libs/gegl/gegl-0.4.2.ebuild b/media-libs/gegl/gegl-0.4.2.ebuild |
419 |
deleted file mode 100644 |
420 |
index da819d25b88..00000000000 |
421 |
--- a/media-libs/gegl/gegl-0.4.2.ebuild |
422 |
+++ /dev/null |
423 |
@@ -1,189 +0,0 @@ |
424 |
-# Copyright 1999-2018 Gentoo Foundation |
425 |
-# Distributed under the terms of the GNU General Public License v2 |
426 |
- |
427 |
-EAPI=6 |
428 |
-PYTHON_COMPAT=( python2_7 ) |
429 |
- |
430 |
-# vala and introspection support is broken, bug #468208 |
431 |
-VALA_USE_DEPEND=vapigen |
432 |
- |
433 |
-inherit versionator gnome2-utils eutils autotools python-any-r1 vala |
434 |
- |
435 |
-if [[ ${PV} == *9999* ]]; then |
436 |
- inherit autotools git-r3 |
437 |
- EGIT_REPO_URI="git://git.gnome.org/gegl" |
438 |
- SRC_URI="" |
439 |
-else |
440 |
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
441 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
442 |
-fi |
443 |
- |
444 |
-DESCRIPTION="A graph based image processing framework" |
445 |
-HOMEPAGE="http://www.gegl.org/" |
446 |
- |
447 |
-LICENSE="|| ( GPL-3 LGPL-3 )" |
448 |
-SLOT="0.4" |
449 |
- |
450 |
-IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg2k lcms lensfun openexr raw sdl svg test tiff umfpack vala v4l webp" |
451 |
-REQUIRED_USE=" |
452 |
- svg? ( cairo ) |
453 |
- vala? ( introspection ) |
454 |
-" |
455 |
- |
456 |
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
457 |
-# so there is no chance to support libav right now (Gentoo bug #567638) |
458 |
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! |
459 |
-RDEPEND=" |
460 |
- >=dev-libs/glib-2.44:2 |
461 |
- dev-libs/json-glib |
462 |
- >=media-libs/babl-0.1.48 |
463 |
- sys-libs/zlib |
464 |
- >=x11-libs/gdk-pixbuf-2.32:2 |
465 |
- x11-libs/pango |
466 |
- |
467 |
- cairo? ( >=x11-libs/cairo-1.12.2 ) |
468 |
- ffmpeg? ( |
469 |
- >=media-video/ffmpeg-2.8:0= |
470 |
- ) |
471 |
- introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
472 |
- virtual/jpeg:0= |
473 |
- jpeg2k? ( >=media-libs/jasper-1.900.1:= ) |
474 |
- lcms? ( >=media-libs/lcms-2.8:2 ) |
475 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
476 |
- openexr? ( >=media-libs/openexr-1.6.1:= ) |
477 |
- >=media-libs/libpng-1.6.0:0= |
478 |
- raw? ( >=media-libs/libraw-0.15.4:0= ) |
479 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
480 |
- svg? ( >=gnome-base/librsvg-2.40.6:2 ) |
481 |
- tiff? ( >=media-libs/tiff-4:0 ) |
482 |
- umfpack? ( sci-libs/umfpack ) |
483 |
- v4l? ( >=media-libs/libv4l-1.0.1 ) |
484 |
- webp? ( >=media-libs/libwebp-0.5.0:= ) |
485 |
-" |
486 |
-DEPEND="${RDEPEND} |
487 |
- >=dev-util/gtk-doc-am-1 |
488 |
- >=sys-devel/gettext-0.19.8 |
489 |
- dev-lang/perl |
490 |
- virtual/pkgconfig |
491 |
- >=sys-devel/libtool-2.2 |
492 |
- test? ( ffmpeg? ( media-libs/gexiv2 ) |
493 |
- introspection? ( |
494 |
- $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) |
495 |
- vala? ( $(vala_depend) ) |
496 |
-" |
497 |
- |
498 |
-pkg_setup() { |
499 |
- use test && use introspection && python-any-r1_pkg_setup |
500 |
-} |
501 |
- |
502 |
-PATCHES=( |
503 |
- "${FILESDIR}"/${PN}-0.3.12-failing-tests.patch |
504 |
-) |
505 |
- |
506 |
-src_prepare() { |
507 |
- default |
508 |
- |
509 |
- # FIXME: the following should be proper patch sent to upstream |
510 |
- # fix OSX loadable module filename extension |
511 |
- sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
512 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
513 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
514 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
515 |
- fi |
516 |
- |
517 |
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
518 |
- sed -e '/clones.xml/d' \ |
519 |
- -e '/composite-transform.xml/d' \ |
520 |
- -i tests/compositions/Makefile.am || die |
521 |
- |
522 |
- eautoreconf |
523 |
- |
524 |
- gnome2_environment_reset |
525 |
- |
526 |
- use vala && vala_src_prepare |
527 |
-} |
528 |
- |
529 |
-_use_with_both() { |
530 |
- if use "$1" && use "$2"; then |
531 |
- echo "--with-$3" |
532 |
- else |
533 |
- echo "--without-$3" |
534 |
- fi |
535 |
-} |
536 |
- |
537 |
-src_configure() { |
538 |
- # never enable altering of CFLAGS via profile option |
539 |
- # libspiro: not in portage main tree |
540 |
- # disable documentation as the generating is bit automagic |
541 |
- # if anyone wants to work on it just create bug with patch |
542 |
- |
543 |
- # Also please note that: |
544 |
- # |
545 |
- # - Some auto-detections are not patched away since the docs are |
546 |
- # not built (--disable-docs, lack of --enable-gtk-doc) and these |
547 |
- # tools affect re-generation of docs, only |
548 |
- # (e.g. ruby, asciidoc, dot (of graphviz), enscript) |
549 |
- # |
550 |
- # - Parameter --with-exiv2 compiles a noinst-app only, no use |
551 |
- # but needed during testing |
552 |
- # |
553 |
- # - Parameter --disable-workshop disables any use of Lua, effectivly |
554 |
- # |
555 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
556 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
557 |
- # |
558 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
559 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
560 |
- # |
561 |
- # - mrg is not in tree and gexiv2 support only has effect when mrg support |
562 |
- # is enabled |
563 |
- # |
564 |
- # So that's why USE="exif graphviz lua v4l" got resolved. More at: |
565 |
- # https://bugs.gentoo.org/show_bug.cgi?id=451136 |
566 |
- # |
567 |
- econf \ |
568 |
- --disable-docs \ |
569 |
- --disable-profile \ |
570 |
- --disable-silent-rules \ |
571 |
- --disable-workshop \ |
572 |
- --program-suffix=-${SLOT} \ |
573 |
- --with-gdk-pixbuf \ |
574 |
- --with-pango \ |
575 |
- --without-libspiro \ |
576 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
577 |
- $(use_enable cpu_flags_x86_sse sse) \ |
578 |
- $(use_enable debug) \ |
579 |
- $(use_with cairo) \ |
580 |
- $(use_with cairo pangocairo) \ |
581 |
- --without-exiv2 \ |
582 |
- $(use_with ffmpeg libavformat) \ |
583 |
- $(_use_with_both ffmpeg test gexiv2) \ |
584 |
- --without-graphviz \ |
585 |
- $(use_with jpeg2k jasper) \ |
586 |
- $(use_with lcms) \ |
587 |
- $(use_with lensfun) \ |
588 |
- --without-lua \ |
589 |
- --without-mrg \ |
590 |
- $(use_with openexr) \ |
591 |
- $(use_with raw libraw) \ |
592 |
- $(use_with sdl) \ |
593 |
- $(use_with svg librsvg) \ |
594 |
- $(use_with tiff libtiff) \ |
595 |
- $(use_with umfpack) \ |
596 |
- $(use_with v4l libv4l) \ |
597 |
- $(use_with v4l libv4l2) \ |
598 |
- $(use_enable introspection) \ |
599 |
- $(use_with vala) \ |
600 |
- $(use_with webp) |
601 |
-} |
602 |
- |
603 |
-src_compile() { |
604 |
- default |
605 |
- |
606 |
- [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." |
607 |
-} |
608 |
- |
609 |
-src_install() { |
610 |
- default |
611 |
- prune_libtool_files --all |
612 |
-} |
613 |
|
614 |
diff --git a/media-libs/gegl/gegl-0.4.4.ebuild b/media-libs/gegl/gegl-0.4.4.ebuild |
615 |
deleted file mode 100644 |
616 |
index 47d42fbe9e6..00000000000 |
617 |
--- a/media-libs/gegl/gegl-0.4.4.ebuild |
618 |
+++ /dev/null |
619 |
@@ -1,189 +0,0 @@ |
620 |
-# Copyright 1999-2018 Gentoo Foundation |
621 |
-# Distributed under the terms of the GNU General Public License v2 |
622 |
- |
623 |
-EAPI=6 |
624 |
-PYTHON_COMPAT=( python2_7 ) |
625 |
- |
626 |
-# vala and introspection support is broken, bug #468208 |
627 |
-VALA_USE_DEPEND=vapigen |
628 |
- |
629 |
-inherit versionator gnome2-utils eutils autotools python-any-r1 vala |
630 |
- |
631 |
-if [[ ${PV} == *9999* ]]; then |
632 |
- inherit autotools git-r3 |
633 |
- EGIT_REPO_URI="git://git.gnome.org/gegl" |
634 |
- SRC_URI="" |
635 |
-else |
636 |
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
637 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
638 |
-fi |
639 |
- |
640 |
-DESCRIPTION="A graph based image processing framework" |
641 |
-HOMEPAGE="http://www.gegl.org/" |
642 |
- |
643 |
-LICENSE="|| ( GPL-3 LGPL-3 )" |
644 |
-SLOT="0.4" |
645 |
- |
646 |
-IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg2k lcms lensfun openexr raw sdl svg test tiff umfpack vala v4l webp" |
647 |
-REQUIRED_USE=" |
648 |
- svg? ( cairo ) |
649 |
- vala? ( introspection ) |
650 |
-" |
651 |
- |
652 |
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
653 |
-# so there is no chance to support libav right now (Gentoo bug #567638) |
654 |
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! |
655 |
-RDEPEND=" |
656 |
- >=dev-libs/glib-2.44:2 |
657 |
- dev-libs/json-glib |
658 |
- >=media-libs/babl-0.1.52 |
659 |
- sys-libs/zlib |
660 |
- >=x11-libs/gdk-pixbuf-2.32:2 |
661 |
- x11-libs/pango |
662 |
- |
663 |
- cairo? ( >=x11-libs/cairo-1.12.2 ) |
664 |
- ffmpeg? ( |
665 |
- >=media-video/ffmpeg-2.8:0= |
666 |
- ) |
667 |
- introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
668 |
- virtual/jpeg:0= |
669 |
- jpeg2k? ( >=media-libs/jasper-1.900.1:= ) |
670 |
- lcms? ( >=media-libs/lcms-2.8:2 ) |
671 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
672 |
- openexr? ( >=media-libs/openexr-1.6.1:= ) |
673 |
- >=media-libs/libpng-1.6.0:0= |
674 |
- raw? ( >=media-libs/libraw-0.15.4:0= ) |
675 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
676 |
- svg? ( >=gnome-base/librsvg-2.40.6:2 ) |
677 |
- tiff? ( >=media-libs/tiff-4:0 ) |
678 |
- umfpack? ( sci-libs/umfpack ) |
679 |
- v4l? ( >=media-libs/libv4l-1.0.1 ) |
680 |
- webp? ( >=media-libs/libwebp-0.5.0:= ) |
681 |
-" |
682 |
-DEPEND="${RDEPEND} |
683 |
- >=dev-util/gtk-doc-am-1 |
684 |
- >=sys-devel/gettext-0.19.8 |
685 |
- dev-lang/perl |
686 |
- virtual/pkgconfig |
687 |
- >=sys-devel/libtool-2.2 |
688 |
- test? ( ffmpeg? ( media-libs/gexiv2 ) |
689 |
- introspection? ( |
690 |
- $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) |
691 |
- vala? ( $(vala_depend) ) |
692 |
-" |
693 |
- |
694 |
-pkg_setup() { |
695 |
- use test && use introspection && python-any-r1_pkg_setup |
696 |
-} |
697 |
- |
698 |
-PATCHES=( |
699 |
- "${FILESDIR}"/${PN}-0.3.12-failing-tests.patch |
700 |
-) |
701 |
- |
702 |
-src_prepare() { |
703 |
- default |
704 |
- |
705 |
- # FIXME: the following should be proper patch sent to upstream |
706 |
- # fix OSX loadable module filename extension |
707 |
- sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
708 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
709 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
710 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
711 |
- fi |
712 |
- |
713 |
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
714 |
- sed -e '/clones.xml/d' \ |
715 |
- -e '/composite-transform.xml/d' \ |
716 |
- -i tests/compositions/Makefile.am || die |
717 |
- |
718 |
- eautoreconf |
719 |
- |
720 |
- gnome2_environment_reset |
721 |
- |
722 |
- use vala && vala_src_prepare |
723 |
-} |
724 |
- |
725 |
-_use_with_both() { |
726 |
- if use "$1" && use "$2"; then |
727 |
- echo "--with-$3" |
728 |
- else |
729 |
- echo "--without-$3" |
730 |
- fi |
731 |
-} |
732 |
- |
733 |
-src_configure() { |
734 |
- # never enable altering of CFLAGS via profile option |
735 |
- # libspiro: not in portage main tree |
736 |
- # disable documentation as the generating is bit automagic |
737 |
- # if anyone wants to work on it just create bug with patch |
738 |
- |
739 |
- # Also please note that: |
740 |
- # |
741 |
- # - Some auto-detections are not patched away since the docs are |
742 |
- # not built (--disable-docs, lack of --enable-gtk-doc) and these |
743 |
- # tools affect re-generation of docs, only |
744 |
- # (e.g. ruby, asciidoc, dot (of graphviz), enscript) |
745 |
- # |
746 |
- # - Parameter --with-exiv2 compiles a noinst-app only, no use |
747 |
- # but needed during testing |
748 |
- # |
749 |
- # - Parameter --disable-workshop disables any use of Lua, effectivly |
750 |
- # |
751 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
752 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
753 |
- # |
754 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
755 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
756 |
- # |
757 |
- # - mrg is not in tree and gexiv2 support only has effect when mrg support |
758 |
- # is enabled |
759 |
- # |
760 |
- # So that's why USE="exif graphviz lua v4l" got resolved. More at: |
761 |
- # https://bugs.gentoo.org/show_bug.cgi?id=451136 |
762 |
- # |
763 |
- econf \ |
764 |
- --disable-docs \ |
765 |
- --disable-profile \ |
766 |
- --disable-silent-rules \ |
767 |
- --disable-workshop \ |
768 |
- --program-suffix=-${SLOT} \ |
769 |
- --with-gdk-pixbuf \ |
770 |
- --with-pango \ |
771 |
- --without-libspiro \ |
772 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
773 |
- $(use_enable cpu_flags_x86_sse sse) \ |
774 |
- $(use_enable debug) \ |
775 |
- $(use_with cairo) \ |
776 |
- $(use_with cairo pangocairo) \ |
777 |
- --without-exiv2 \ |
778 |
- $(use_with ffmpeg libavformat) \ |
779 |
- $(_use_with_both ffmpeg test gexiv2) \ |
780 |
- --without-graphviz \ |
781 |
- $(use_with jpeg2k jasper) \ |
782 |
- $(use_with lcms) \ |
783 |
- $(use_with lensfun) \ |
784 |
- --without-lua \ |
785 |
- --without-mrg \ |
786 |
- $(use_with openexr) \ |
787 |
- $(use_with raw libraw) \ |
788 |
- $(use_with sdl) \ |
789 |
- $(use_with svg librsvg) \ |
790 |
- $(use_with tiff libtiff) \ |
791 |
- $(use_with umfpack) \ |
792 |
- $(use_with v4l libv4l) \ |
793 |
- $(use_with v4l libv4l2) \ |
794 |
- $(use_enable introspection) \ |
795 |
- $(use_with vala) \ |
796 |
- $(use_with webp) |
797 |
-} |
798 |
- |
799 |
-src_compile() { |
800 |
- default |
801 |
- |
802 |
- [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." |
803 |
-} |
804 |
- |
805 |
-src_install() { |
806 |
- default |
807 |
- prune_libtool_files --all |
808 |
-} |
809 |
|
810 |
diff --git a/media-libs/gegl/gegl-0.4.6.ebuild b/media-libs/gegl/gegl-0.4.6.ebuild |
811 |
deleted file mode 100644 |
812 |
index c4ca39c3b74..00000000000 |
813 |
--- a/media-libs/gegl/gegl-0.4.6.ebuild |
814 |
+++ /dev/null |
815 |
@@ -1,189 +0,0 @@ |
816 |
-# Copyright 1999-2018 Gentoo Foundation |
817 |
-# Distributed under the terms of the GNU General Public License v2 |
818 |
- |
819 |
-EAPI=6 |
820 |
-PYTHON_COMPAT=( python2_7 ) |
821 |
- |
822 |
-# vala and introspection support is broken, bug #468208 |
823 |
-VALA_USE_DEPEND=vapigen |
824 |
- |
825 |
-inherit versionator gnome2-utils eutils autotools python-any-r1 vala |
826 |
- |
827 |
-if [[ ${PV} == *9999* ]]; then |
828 |
- inherit autotools git-r3 |
829 |
- EGIT_REPO_URI="git://git.gnome.org/gegl" |
830 |
- SRC_URI="" |
831 |
-else |
832 |
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
833 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
834 |
-fi |
835 |
- |
836 |
-DESCRIPTION="A graph based image processing framework" |
837 |
-HOMEPAGE="http://www.gegl.org/" |
838 |
- |
839 |
-LICENSE="|| ( GPL-3 LGPL-3 )" |
840 |
-SLOT="0.4" |
841 |
- |
842 |
-IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg2k lcms lensfun openexr raw sdl svg test tiff umfpack vala v4l webp" |
843 |
-REQUIRED_USE=" |
844 |
- svg? ( cairo ) |
845 |
- vala? ( introspection ) |
846 |
-" |
847 |
- |
848 |
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
849 |
-# so there is no chance to support libav right now (Gentoo bug #567638) |
850 |
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! |
851 |
-RDEPEND=" |
852 |
- >=dev-libs/glib-2.44:2 |
853 |
- dev-libs/json-glib |
854 |
- >=media-libs/babl-0.1.54 |
855 |
- sys-libs/zlib |
856 |
- >=x11-libs/gdk-pixbuf-2.32:2 |
857 |
- x11-libs/pango |
858 |
- |
859 |
- cairo? ( >=x11-libs/cairo-1.12.2 ) |
860 |
- ffmpeg? ( |
861 |
- >=media-video/ffmpeg-2.8:0= |
862 |
- ) |
863 |
- introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
864 |
- virtual/jpeg:0= |
865 |
- jpeg2k? ( >=media-libs/jasper-1.900.1:= ) |
866 |
- lcms? ( >=media-libs/lcms-2.8:2 ) |
867 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
868 |
- openexr? ( >=media-libs/openexr-1.6.1:= ) |
869 |
- >=media-libs/libpng-1.6.0:0= |
870 |
- raw? ( >=media-libs/libraw-0.15.4:0= ) |
871 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
872 |
- svg? ( >=gnome-base/librsvg-2.40.6:2 ) |
873 |
- tiff? ( >=media-libs/tiff-4:0 ) |
874 |
- umfpack? ( sci-libs/umfpack ) |
875 |
- v4l? ( >=media-libs/libv4l-1.0.1 ) |
876 |
- webp? ( >=media-libs/libwebp-0.5.0:= ) |
877 |
-" |
878 |
-DEPEND="${RDEPEND} |
879 |
- >=dev-util/gtk-doc-am-1 |
880 |
- >=sys-devel/gettext-0.19.8 |
881 |
- dev-lang/perl |
882 |
- virtual/pkgconfig |
883 |
- >=sys-devel/libtool-2.2 |
884 |
- test? ( ffmpeg? ( media-libs/gexiv2 ) |
885 |
- introspection? ( |
886 |
- $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) |
887 |
- vala? ( $(vala_depend) ) |
888 |
-" |
889 |
- |
890 |
-pkg_setup() { |
891 |
- use test && use introspection && python-any-r1_pkg_setup |
892 |
-} |
893 |
- |
894 |
-PATCHES=( |
895 |
- "${FILESDIR}"/${PN}-0.3.12-failing-tests.patch |
896 |
-) |
897 |
- |
898 |
-src_prepare() { |
899 |
- default |
900 |
- |
901 |
- # FIXME: the following should be proper patch sent to upstream |
902 |
- # fix OSX loadable module filename extension |
903 |
- sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
904 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
905 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
906 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
907 |
- fi |
908 |
- |
909 |
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
910 |
- sed -e '/clones.xml/d' \ |
911 |
- -e '/composite-transform.xml/d' \ |
912 |
- -i tests/compositions/Makefile.am || die |
913 |
- |
914 |
- eautoreconf |
915 |
- |
916 |
- gnome2_environment_reset |
917 |
- |
918 |
- use vala && vala_src_prepare |
919 |
-} |
920 |
- |
921 |
-_use_with_both() { |
922 |
- if use "$1" && use "$2"; then |
923 |
- echo "--with-$3" |
924 |
- else |
925 |
- echo "--without-$3" |
926 |
- fi |
927 |
-} |
928 |
- |
929 |
-src_configure() { |
930 |
- # never enable altering of CFLAGS via profile option |
931 |
- # libspiro: not in portage main tree |
932 |
- # disable documentation as the generating is bit automagic |
933 |
- # if anyone wants to work on it just create bug with patch |
934 |
- |
935 |
- # Also please note that: |
936 |
- # |
937 |
- # - Some auto-detections are not patched away since the docs are |
938 |
- # not built (--disable-docs, lack of --enable-gtk-doc) and these |
939 |
- # tools affect re-generation of docs, only |
940 |
- # (e.g. ruby, asciidoc, dot (of graphviz), enscript) |
941 |
- # |
942 |
- # - Parameter --with-exiv2 compiles a noinst-app only, no use |
943 |
- # but needed during testing |
944 |
- # |
945 |
- # - Parameter --disable-workshop disables any use of Lua, effectivly |
946 |
- # |
947 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
948 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
949 |
- # |
950 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
951 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
952 |
- # |
953 |
- # - mrg is not in tree and gexiv2 support only has effect when mrg support |
954 |
- # is enabled |
955 |
- # |
956 |
- # So that's why USE="exif graphviz lua v4l" got resolved. More at: |
957 |
- # https://bugs.gentoo.org/show_bug.cgi?id=451136 |
958 |
- # |
959 |
- econf \ |
960 |
- --disable-docs \ |
961 |
- --disable-profile \ |
962 |
- --disable-silent-rules \ |
963 |
- --disable-workshop \ |
964 |
- --program-suffix=-${SLOT} \ |
965 |
- --with-gdk-pixbuf \ |
966 |
- --with-pango \ |
967 |
- --without-libspiro \ |
968 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
969 |
- $(use_enable cpu_flags_x86_sse sse) \ |
970 |
- $(use_enable debug) \ |
971 |
- $(use_with cairo) \ |
972 |
- $(use_with cairo pangocairo) \ |
973 |
- --without-exiv2 \ |
974 |
- $(use_with ffmpeg libavformat) \ |
975 |
- $(_use_with_both ffmpeg test gexiv2) \ |
976 |
- --without-graphviz \ |
977 |
- $(use_with jpeg2k jasper) \ |
978 |
- $(use_with lcms) \ |
979 |
- $(use_with lensfun) \ |
980 |
- --without-lua \ |
981 |
- --without-mrg \ |
982 |
- $(use_with openexr) \ |
983 |
- $(use_with raw libraw) \ |
984 |
- $(use_with sdl) \ |
985 |
- $(use_with svg librsvg) \ |
986 |
- $(use_with tiff libtiff) \ |
987 |
- $(use_with umfpack) \ |
988 |
- $(use_with v4l libv4l) \ |
989 |
- $(use_with v4l libv4l2) \ |
990 |
- $(use_enable introspection) \ |
991 |
- $(use_with vala) \ |
992 |
- $(use_with webp) |
993 |
-} |
994 |
- |
995 |
-src_compile() { |
996 |
- default |
997 |
- |
998 |
- [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." |
999 |
-} |
1000 |
- |
1001 |
-src_install() { |
1002 |
- default |
1003 |
- prune_libtool_files --all |
1004 |
-} |