1 |
commit: f31d84455b49bff742e837991f0ca3878ad844bd |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 07:26:23 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 07:58:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f31d8445 |
7 |
|
8 |
media-libs/gegl: Drop 0.4.18* and obsolete patches |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-libs/gegl/Manifest | 1 - |
14 |
.../gegl/files/gegl-0.3.34-failing-tests.patch | 27 ---- |
15 |
media-libs/gegl/files/gegl-0.3.34-fno-common.patch | 11 -- |
16 |
.../files/gegl-0.4.18-cltostring_force_utf8.patch | 30 ---- |
17 |
.../files/gegl-0.4.18-meson_cpu_detection.patch | 51 ------- |
18 |
media-libs/gegl/gegl-0.4.18-r1.ebuild | 161 -------------------- |
19 |
media-libs/gegl/gegl-0.4.18.ebuild | 163 --------------------- |
20 |
7 files changed, 444 deletions(-) |
21 |
|
22 |
diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest |
23 |
index a02306475c3..b63767947c7 100644 |
24 |
--- a/media-libs/gegl/Manifest |
25 |
+++ b/media-libs/gegl/Manifest |
26 |
@@ -1,3 +1,2 @@ |
27 |
-DIST gegl-0.4.18.tar.xz 4812756 BLAKE2B b8e5902b62c3549f57dd0ce52a0a406974bf8664d5b85389b79f7d698bcf2643d19861add3d8a9bd5c99036aba4da97b70884dcaacf2cb89170b995f1d1497a0 SHA512 e79874cd50e9f0c27c7dc9d9b952545c31d0a48e2b158aa54b92c3e933267877222f86ede7256f2528f18985dc85d6eadbcd809f7a3563efc4449ec7634f15fd |
28 |
DIST gegl-0.4.22.tar.xz 4826748 BLAKE2B 3b6ddca1dff17d0336614fb02cdf94c7497586f075fa548fef66f9f81f62a8055c58e008b9eed989dd283fa701a07d4e22ee81b85c35a0a55f4a92e51cf6b780 SHA512 3118fb17532bcd5893a77739eaf936f5d1e2020178abc497098d227c25f726679621503ac83e7d14a9883d259247d97b92016174e76a2e6e950be7e26ce251ab |
29 |
DIST gegl-0.4.24.tar.xz 4937056 BLAKE2B a6237d0642713e2dc6fb5aa889dea31aad688608b99e985d69dfa43580caae634a6fc41ff050372d8b364f2f002e260335159325c01f73a10719c3d1bda70d36 SHA512 09d857332eeabe39327d312b1a1692b7c6c9f8f952ae3e3cc06b5a5c262757d8b86467c25a4e66c90c37922fd3548fc1342a9864732d17924f97e7b6c6c1786d |
30 |
|
31 |
diff --git a/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch b/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch |
32 |
deleted file mode 100644 |
33 |
index c388ac556e9..00000000000 |
34 |
--- a/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch |
35 |
+++ /dev/null |
36 |
@@ -1,27 +0,0 @@ |
37 |
-diff -Naur a/tests/ff-load-save/Makefile.am b/tests/ff-load-save/Makefile.am |
38 |
---- a/tests/ff-load-save/Makefile.am 2017-09-21 22:11:00.000000000 +0300 |
39 |
-+++ b/tests/ff-load-save/Makefile.am 2020-03-07 16:33:21.000000000 +0300 |
40 |
-@@ -6,13 +6,7 @@ |
41 |
- |
42 |
- EXTRA_DIST = $(TESTS) |
43 |
- |
44 |
--check: vids images |
45 |
-- |
46 |
--images: |
47 |
-- for a in *.avi *.mp4 *.ogv ;do \ |
48 |
-- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/gegl-video \ |
49 |
-- $$a -s 74 -e 74 -of $$a- ;\ |
50 |
-- done |
51 |
-+check: vids |
52 |
- |
53 |
- vids: $(TESTS) $(top_builddir)/examples/frame-counter |
54 |
- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \ |
55 |
-@@ -27,8 +21,6 @@ |
56 |
- --video-codec mpeg4 --fps 12 --video-bit-rate 128 128kb-12fps.mp4 |
57 |
- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \ |
58 |
- --video-codec mpeg4 --fps 100 --video-bit-rate 128 128kb-100fps.mp4 |
59 |
-- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \ |
60 |
-- --fps 28 --video-bit-rate 512 512kb-28fps.ogv |
61 |
- |
62 |
- clean-local: |
63 |
- rm -f *.png *.avi *.ogv *.mp4 *.webm |
64 |
|
65 |
diff --git a/media-libs/gegl/files/gegl-0.3.34-fno-common.patch b/media-libs/gegl/files/gegl-0.3.34-fno-common.patch |
66 |
deleted file mode 100644 |
67 |
index 8c1c045758b..00000000000 |
68 |
--- a/media-libs/gegl/files/gegl-0.3.34-fno-common.patch |
69 |
+++ /dev/null |
70 |
@@ -1,11 +0,0 @@ |
71 |
---- a/gcut/gcut.h |
72 |
-+++ b/gcut/gcut.h |
73 |
-@@ -172,7 +172,7 @@ |
74 |
- GMutex mutex; |
75 |
- }; |
76 |
- |
77 |
--struct _GeglEDL |
78 |
-+extern struct _GeglEDL |
79 |
- { |
80 |
- GFileMonitor *monitor; |
81 |
- char *path; |
82 |
|
83 |
diff --git a/media-libs/gegl/files/gegl-0.4.18-cltostring_force_utf8.patch b/media-libs/gegl/files/gegl-0.4.18-cltostring_force_utf8.patch |
84 |
deleted file mode 100644 |
85 |
index ecb1be4c735..00000000000 |
86 |
--- a/media-libs/gegl/files/gegl-0.4.18-cltostring_force_utf8.patch |
87 |
+++ /dev/null |
88 |
@@ -1,30 +0,0 @@ |
89 |
---- a/opencl/cltostring.py 2019-10-27 02:01:07.000000000 +0300 |
90 |
-+++ b/opencl/cltostring.py 2020-01-12 21:22:25.000000000 +0300 |
91 |
-@@ -1,8 +1,10 @@ |
92 |
- #!/usr/bin/env python |
93 |
- from __future__ import print_function |
94 |
-+from __future__ import unicode_literals |
95 |
- |
96 |
- import os |
97 |
- import sys |
98 |
-+import io |
99 |
- |
100 |
- # Search for lines that look like #include "blah.h" and replace them |
101 |
- # with the contents of blah.h. |
102 |
-@@ -34,12 +36,12 @@ |
103 |
- |
104 |
- |
105 |
- if len(sys.argv) == 2: |
106 |
-- infile = open(sys.argv[1], "r") |
107 |
-- outfile = open(sys.argv[1] + '.h', "w") |
108 |
-+ infile = io.open(sys.argv[1], "r", encoding="utf-8") |
109 |
-+ outfile = io.open(sys.argv[1] + '.h', "w", encoding="utf-8") |
110 |
- |
111 |
- elif len(sys.argv) == 3: |
112 |
-- infile = open(sys.argv[1], "r") |
113 |
-- outfile = open(sys.argv[2], "w") |
114 |
-+ infile = io.open(sys.argv[1], "r", encoding="utf-8") |
115 |
-+ outfile = io.open(sys.argv[2], "w", encoding="utf-8") |
116 |
- |
117 |
- else: |
118 |
- print("Usage: %s input [output]" % sys.argv[0]) |
119 |
|
120 |
diff --git a/media-libs/gegl/files/gegl-0.4.18-meson_cpu_detection.patch b/media-libs/gegl/files/gegl-0.4.18-meson_cpu_detection.patch |
121 |
deleted file mode 100644 |
122 |
index 7f6b3624f36..00000000000 |
123 |
--- a/media-libs/gegl/files/gegl-0.4.18-meson_cpu_detection.patch |
124 |
+++ /dev/null |
125 |
@@ -1,51 +0,0 @@ |
126 |
-From 6bcf95fd0f32cf5e8b1ddbe17b14d9ad049bded8 Mon Sep 17 00:00:00 2001 |
127 |
-From: Christoph Reiter <reiter.christoph@×××××.com> |
128 |
-Date: Sun, 27 Oct 2019 14:10:08 +0100 |
129 |
-Subject: [PATCH] meson: fix cpu detection |
130 |
- |
131 |
-Use host_machine.cpu_family() instead of cpu(). Only the former |
132 |
-provides a stable/defined set of values. |
133 |
- |
134 |
-Also don't error out on some arches for no good reason. |
135 |
- |
136 |
-This fixes the build on 32bit Windows. |
137 |
---- |
138 |
- meson.build | 12 +++++------- |
139 |
- 1 file changed, 5 insertions(+), 7 deletions(-) |
140 |
- |
141 |
-diff --git a/meson.build b/meson.build |
142 |
-index af133a0f1..540498921 100644 |
143 |
---- a/meson.build |
144 |
-+++ b/meson.build |
145 |
-@@ -73,23 +73,21 @@ if os_osx and cc.get_id() != 'clang' |
146 |
- endif |
147 |
- |
148 |
- |
149 |
--host_cpu = host_machine.cpu() |
150 |
--if host_cpu.startswith('i') and host_cpu.endswith('86') |
151 |
-+host_cpu_family = host_machine.cpu_family() |
152 |
-+if host_cpu_family == 'x86' |
153 |
- have_x86 = true |
154 |
- config.set10('ARCH_X86', true) |
155 |
--elif host_cpu == 'x86_64' |
156 |
-+elif host_cpu_family == 'x86_64' |
157 |
- have_x86 = true |
158 |
- config.set10('ARCH_X86', true) |
159 |
- config.set10('ARCH_X86_64', true) |
160 |
--elif host_cpu == 'ppc' or host_cpu == 'powerpc' |
161 |
-+elif host_cpu_family == 'ppc' |
162 |
- have_ppc = true |
163 |
- config.set10('ARCH_PPC', true) |
164 |
--elif host_cpu == 'ppc64' or host_cpu == 'powerpc64' |
165 |
-+elif host_cpu_family == 'ppc64' |
166 |
- have_ppc = true |
167 |
- config.set10('ARCH_PPC', true) |
168 |
- config.set10('ARCH_PPC64', true) |
169 |
--else |
170 |
-- error('Unknown host architecture') |
171 |
- endif |
172 |
- |
173 |
- ################################################################################ |
174 |
--- |
175 |
-2.22.0 |
176 |
- |
177 |
|
178 |
diff --git a/media-libs/gegl/gegl-0.4.18-r1.ebuild b/media-libs/gegl/gegl-0.4.18-r1.ebuild |
179 |
deleted file mode 100644 |
180 |
index 799cc107712..00000000000 |
181 |
--- a/media-libs/gegl/gegl-0.4.18-r1.ebuild |
182 |
+++ /dev/null |
183 |
@@ -1,161 +0,0 @@ |
184 |
-# Copyright 1999-2020 Gentoo Authors |
185 |
-# Distributed under the terms of the GNU General Public License v2 |
186 |
- |
187 |
-EAPI=7 |
188 |
-PYTHON_COMPAT=( python3_{6,7} ) |
189 |
- |
190 |
-# vala and introspection support is broken, bug #468208 |
191 |
-VALA_USE_DEPEND=vapigen |
192 |
- |
193 |
-inherit meson gnome2-utils python-any-r1 vala |
194 |
- |
195 |
-if [[ ${PV} == *9999* ]]; then |
196 |
- inherit git-r3 |
197 |
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git" |
198 |
- SRC_URI="" |
199 |
-else |
200 |
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" |
201 |
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
202 |
-fi |
203 |
- |
204 |
-DESCRIPTION="A graph based image processing framework" |
205 |
-HOMEPAGE="http://www.gegl.org/" |
206 |
- |
207 |
-LICENSE="|| ( GPL-3+ LGPL-3 )" |
208 |
-SLOT="0.4" |
209 |
- |
210 |
-IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp" |
211 |
-REQUIRED_USE=" |
212 |
- svg? ( cairo ) |
213 |
- test? ( introspection ) |
214 |
- vala? ( introspection ) |
215 |
-" |
216 |
- |
217 |
-RESTRICT="!test? ( test )" |
218 |
- |
219 |
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
220 |
-# so there is no chance to support libav right now (Gentoo bug #567638) |
221 |
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! |
222 |
-RDEPEND=" |
223 |
- >=dev-libs/glib-2.44:2 |
224 |
- >=dev-libs/json-glib-1.2.6 |
225 |
- >=media-libs/babl-0.1.72[introspection?,lcms?] |
226 |
- media-libs/libnsgif |
227 |
- >=media-libs/libpng-1.6.0:0= |
228 |
- >=sys-libs/zlib-1.2.0 |
229 |
- virtual/jpeg:0= |
230 |
- >=x11-libs/gdk-pixbuf-2.32:2 |
231 |
- >=x11-libs/pango-1.38.0 |
232 |
- cairo? ( >=x11-libs/cairo-1.12.2 ) |
233 |
- ffmpeg? ( media-video/ffmpeg:0= ) |
234 |
- introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
235 |
- lcms? ( >=media-libs/lcms-2.8:2 ) |
236 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
237 |
- openexr? ( >=media-libs/openexr-1.6.1:= ) |
238 |
- pdf? ( >=app-text/poppler-0.71.0[cairo] ) |
239 |
- raw? ( >=media-libs/libraw-0.15.4:0= ) |
240 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
241 |
- svg? ( >=gnome-base/librsvg-2.40.6:2 ) |
242 |
- tiff? ( >=media-libs/tiff-4:0 ) |
243 |
- umfpack? ( sci-libs/umfpack ) |
244 |
- v4l? ( >=media-libs/libv4l-1.0.1 ) |
245 |
- webp? ( >=media-libs/libwebp-0.5.0:= ) |
246 |
-" |
247 |
-DEPEND=" |
248 |
- ${RDEPEND} |
249 |
-" |
250 |
-BDEPEND=" |
251 |
- dev-lang/perl |
252 |
- >=dev-util/gtk-doc-am-1 |
253 |
- >=sys-devel/gettext-0.19.8 |
254 |
- >=sys-devel/libtool-2.2 |
255 |
- virtual/pkgconfig |
256 |
- test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') ) |
257 |
- vala? ( $(vala_depend) ) |
258 |
-" |
259 |
- |
260 |
-DOCS=( AUTHORS docs/ChangeLog docs/NEWS.txt ) |
261 |
- |
262 |
-PATCHES=( |
263 |
- "${FILESDIR}"/${P}-drop-failing-tests.patch |
264 |
- "${FILESDIR}"/${P}-program-suffix.patch |
265 |
- "${FILESDIR}"/${P}-meson_cpu_detection.patch |
266 |
- "${FILESDIR}"/${P}-cltostring_force_utf8.patch |
267 |
-) |
268 |
- |
269 |
-python_check_deps() { |
270 |
- has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]" |
271 |
-} |
272 |
- |
273 |
-pkg_setup() { |
274 |
- use test && python-any-r1_pkg_setup |
275 |
-} |
276 |
- |
277 |
-src_prepare() { |
278 |
- default |
279 |
- |
280 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
281 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
282 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
283 |
- fi |
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/meson.build || die |
289 |
- |
290 |
- # fix skipping mipmap tests due to executable not found |
291 |
- for item in "invert-crop.sh" "invert.sh" "rotate-crop.sh" "rotate.sh" "unsharp-crop.sh" "unsharp.sh"; do |
292 |
- sed -i "s:/bin/gegl:/bin/gegl-0.4:g" "${S}/tests/mipmap/${item}" || die |
293 |
- sed -i "s:/tools/gegl-imgcmp:/tools/gegl-imgcmp-0.4:g" "${S}/tests/mipmap/${item}" || die |
294 |
- done |
295 |
- |
296 |
- gnome2_environment_reset |
297 |
- |
298 |
- use vala && vala_src_prepare |
299 |
-} |
300 |
- |
301 |
-src_configure() { |
302 |
- local emesonargs=( |
303 |
- # - Disable documentation as the generating is bit automagic |
304 |
- # if anyone wants to work on it just create bug with patch |
305 |
- -Ddocs=false |
306 |
- -Dexiv2=disabled |
307 |
- -Dgdk-pixbuf=enabled |
308 |
- -Dgexiv2=disabled |
309 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
310 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
311 |
- -Dgraphviz=disabled |
312 |
- -Djasper=disabled |
313 |
- -Dlibjpeg=enabled |
314 |
- -Dlibpng=enabled |
315 |
- # - libspiro: not in portage main tree |
316 |
- -Dlibspiro=disabled |
317 |
- -Dlua=disabled |
318 |
- -Dmrg=disabled |
319 |
- -Dpango=enabled |
320 |
- -Dsdl2=disabled |
321 |
- # - Parameter -Dworkshop=false disables any use of Lua, effectivly |
322 |
- -Dworkshop=false |
323 |
- $(meson_feature cairo) |
324 |
- $(meson_feature cairo pangocairo) |
325 |
- $(meson_feature ffmpeg libav) |
326 |
- $(meson_feature lcms) |
327 |
- $(meson_feature lensfun) |
328 |
- $(meson_feature openexr) |
329 |
- $(meson_feature raw libraw) |
330 |
- $(meson_feature sdl sdl1) |
331 |
- $(meson_feature svg librsvg) |
332 |
- $(meson_feature test pygobject) |
333 |
- $(meson_feature tiff libtiff) |
334 |
- $(meson_feature umfpack) |
335 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
336 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
337 |
- $(meson_feature v4l libv4l) |
338 |
- $(meson_feature v4l libv4l2) |
339 |
- $(meson_feature vala vapigen) |
340 |
- $(meson_feature webp) |
341 |
- $(meson_use introspection) |
342 |
- ) |
343 |
- meson_src_configure |
344 |
-} |
345 |
|
346 |
diff --git a/media-libs/gegl/gegl-0.4.18.ebuild b/media-libs/gegl/gegl-0.4.18.ebuild |
347 |
deleted file mode 100644 |
348 |
index 3aac36f5af6..00000000000 |
349 |
--- a/media-libs/gegl/gegl-0.4.18.ebuild |
350 |
+++ /dev/null |
351 |
@@ -1,163 +0,0 @@ |
352 |
-# Copyright 1999-2020 Gentoo Authors |
353 |
-# Distributed under the terms of the GNU General Public License v2 |
354 |
- |
355 |
-EAPI=7 |
356 |
-PYTHON_COMPAT=( python3_{6,7} ) |
357 |
- |
358 |
-# vala and introspection support is broken, bug #468208 |
359 |
-VALA_USE_DEPEND=vapigen |
360 |
- |
361 |
-inherit meson gnome2-utils python-any-r1 vala |
362 |
- |
363 |
-if [[ ${PV} == *9999* ]]; then |
364 |
- inherit git-r3 |
365 |
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git" |
366 |
- SRC_URI="" |
367 |
-else |
368 |
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" |
369 |
- KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" |
370 |
-fi |
371 |
- |
372 |
-DESCRIPTION="A graph based image processing framework" |
373 |
-HOMEPAGE="http://www.gegl.org/" |
374 |
- |
375 |
-LICENSE="|| ( GPL-3+ LGPL-3 )" |
376 |
-SLOT="0.4" |
377 |
- |
378 |
-IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp" |
379 |
-REQUIRED_USE=" |
380 |
- svg? ( cairo ) |
381 |
- test? ( introspection ) |
382 |
- vala? ( introspection ) |
383 |
-" |
384 |
- |
385 |
-RESTRICT="!test? ( test )" |
386 |
- |
387 |
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
388 |
-# so there is no chance to support libav right now (Gentoo bug #567638) |
389 |
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! |
390 |
-RDEPEND=" |
391 |
- >=dev-libs/glib-2.44:2 |
392 |
- >=dev-libs/json-glib-1.2.6 |
393 |
- >=media-libs/babl-0.1.72[introspection?] |
394 |
- media-libs/libnsgif |
395 |
- >=media-libs/libpng-1.6.0:0= |
396 |
- >=sys-libs/zlib-1.2.0 |
397 |
- virtual/jpeg:0= |
398 |
- >=x11-libs/gdk-pixbuf-2.32:2 |
399 |
- >=x11-libs/pango-1.38.0 |
400 |
- cairo? ( >=x11-libs/cairo-1.12.2 ) |
401 |
- ffmpeg? ( media-video/ffmpeg:0= ) |
402 |
- introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
403 |
- lcms? ( >=media-libs/lcms-2.8:2 ) |
404 |
- lensfun? ( >=media-libs/lensfun-0.2.5 ) |
405 |
- openexr? ( >=media-libs/openexr-1.6.1:= ) |
406 |
- pdf? ( >=app-text/poppler-0.71.0[cairo] ) |
407 |
- raw? ( >=media-libs/libraw-0.15.4:0= ) |
408 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
409 |
- svg? ( >=gnome-base/librsvg-2.40.6:2 ) |
410 |
- tiff? ( >=media-libs/tiff-4:0 ) |
411 |
- umfpack? ( sci-libs/umfpack ) |
412 |
- v4l? ( >=media-libs/libv4l-1.0.1 ) |
413 |
- webp? ( >=media-libs/libwebp-0.5.0:= ) |
414 |
-" |
415 |
- |
416 |
-DEPEND=" |
417 |
- ${RDEPEND} |
418 |
-" |
419 |
- |
420 |
-BDEPEND=" |
421 |
- dev-lang/perl |
422 |
- >=dev-util/gtk-doc-am-1 |
423 |
- >=sys-devel/gettext-0.19.8 |
424 |
- >=sys-devel/libtool-2.2 |
425 |
- virtual/pkgconfig |
426 |
- test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') ) |
427 |
- vala? ( $(vala_depend) ) |
428 |
-" |
429 |
- |
430 |
-DOCS=( AUTHORS docs/ChangeLog docs/NEWS.txt ) |
431 |
- |
432 |
-PATCHES=( |
433 |
- "${FILESDIR}"/${P}-drop-failing-tests.patch |
434 |
- "${FILESDIR}"/${P}-program-suffix.patch |
435 |
- "${FILESDIR}"/${P}-meson_cpu_detection.patch |
436 |
- "${FILESDIR}"/${P}-cltostring_force_utf8.patch |
437 |
-) |
438 |
- |
439 |
-python_check_deps() { |
440 |
- has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]" |
441 |
-} |
442 |
- |
443 |
-pkg_setup() { |
444 |
- use test && python-any-r1_pkg_setup |
445 |
-} |
446 |
- |
447 |
-src_prepare() { |
448 |
- default |
449 |
- |
450 |
- # don't require Apple's OpenCL on versions of OSX that don't have it |
451 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
452 |
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
453 |
- fi |
454 |
- |
455 |
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
456 |
- sed -e '/clones.xml/d' \ |
457 |
- -e '/composite-transform.xml/d' \ |
458 |
- -i tests/compositions/meson.build || die |
459 |
- |
460 |
- # fix skipping mipmap tests due to executable not found |
461 |
- for item in "invert-crop.sh" "invert.sh" "rotate-crop.sh" "rotate.sh" "unsharp-crop.sh" "unsharp.sh"; do |
462 |
- sed -i "s:/bin/gegl:/bin/gegl-0.4:g" "${S}/tests/mipmap/${item}" || die |
463 |
- sed -i "s:/tools/gegl-imgcmp:/tools/gegl-imgcmp-0.4:g" "${S}/tests/mipmap/${item}" || die |
464 |
- done |
465 |
- |
466 |
- gnome2_environment_reset |
467 |
- |
468 |
- use vala && vala_src_prepare |
469 |
-} |
470 |
- |
471 |
-src_configure() { |
472 |
- local emesonargs=( |
473 |
- # - Disable documentation as the generating is bit automagic |
474 |
- # if anyone wants to work on it just create bug with patch |
475 |
- -Ddocs=false |
476 |
- -Dexiv2=disabled |
477 |
- -Dgdk-pixbuf=enabled |
478 |
- -Dgexiv2=disabled |
479 |
- # - There are two checks for dot, one controllable by --with(out)-graphviz |
480 |
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
481 |
- -Dgraphviz=disabled |
482 |
- -Djasper=disabled |
483 |
- -Dlibjpeg=enabled |
484 |
- -Dlibpng=enabled |
485 |
- # - libspiro: not in portage main tree |
486 |
- -Dlibspiro=disabled |
487 |
- -Dlua=disabled |
488 |
- -Dmrg=disabled |
489 |
- -Dpango=enabled |
490 |
- -Dsdl2=disabled |
491 |
- # - Parameter -Dworkshop=false disables any use of Lua, effectivly |
492 |
- -Dworkshop=false |
493 |
- $(meson_feature cairo) |
494 |
- $(meson_feature cairo pangocairo) |
495 |
- $(meson_feature ffmpeg libav) |
496 |
- $(meson_feature lcms) |
497 |
- $(meson_feature lensfun) |
498 |
- $(meson_feature openexr) |
499 |
- $(meson_feature raw libraw) |
500 |
- $(meson_feature sdl sdl1) |
501 |
- $(meson_feature svg librsvg) |
502 |
- $(meson_feature test pygobject) |
503 |
- $(meson_feature tiff libtiff) |
504 |
- $(meson_feature umfpack) |
505 |
- # - v4l support does not work with our media-libs/libv4l-0.8.9, |
506 |
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
507 |
- $(meson_feature v4l libv4l) |
508 |
- $(meson_feature v4l libv4l2) |
509 |
- $(meson_feature vala vapigen) |
510 |
- $(meson_feature webp) |
511 |
- $(meson_use introspection) |
512 |
- ) |
513 |
- meson_src_configure |
514 |
-} |