summaryrefslogtreecommitdiff
path: root/media-libs/gegl
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/gegl')
-rw-r--r--media-libs/gegl/Manifest9
-rw-r--r--media-libs/gegl/files/gegl-0.3.34-failing-tests.patch27
-rw-r--r--media-libs/gegl/files/gegl-0.3.34-fno-common.patch11
-rw-r--r--media-libs/gegl/files/gegl-0.4.18-cltostring_force_utf8.patch30
-rw-r--r--media-libs/gegl/files/gegl-0.4.18-meson_cpu_detection.patch51
-rw-r--r--media-libs/gegl/gegl-0.4.18-r1.ebuild161
-rw-r--r--media-libs/gegl/gegl-0.4.18.ebuild163
-rw-r--r--media-libs/gegl/gegl-0.4.22.ebuild2
8 files changed, 2 insertions, 452 deletions
diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest
index 4b081139a6dc..4458b19adef2 100644
--- a/media-libs/gegl/Manifest
+++ b/media-libs/gegl/Manifest
@@ -1,16 +1,9 @@
-AUX gegl-0.3.34-failing-tests.patch 1076 BLAKE2B 39ebadca2d03708d6449849bf8a1c23d05c591493c229b55093d5308c277cb12b428e69b6410ce428cb5c9dbace91c5f3d4822ec3b32c0afc33aee95a58bdbf6 SHA512 084d42d50ba9d750d0a3d729f53da4fad177674862eacde17f2e4ea1bbc62d91fa62164fd7bb5dc1d3cda2fbf08a9db048f577927f203cc912ecf365eb4cc688
-AUX gegl-0.3.34-fno-common.patch 184 BLAKE2B a1994ad4171f60a52695ea36814d0051addb358413a49725d089667aa842f45da7e3e3027c8e29fdb7a5ce378186ae10eab685b538c2685c1f2d40c3bf5a9ac9 SHA512 4c1f787fabbfac1d13dd5f997fc799e3238f7b17cf8b51a63253ad7d5dac7f99c92990aa31aef14740e0e66d100ec0b532a0aef899f49f6142d785529d2b808f
-AUX gegl-0.4.18-cltostring_force_utf8.patch 910 BLAKE2B 9d5ca10ba4f7ba3b79726daef87fac72617cc627f2d4324409212f41255e524be2000aac415e361105afe2e0b488811e835f1e584c11dfda64eedfafd63a7bb9 SHA512 62d4ecf5f010648d479de674264ce428a8d71c542beeb92401c329c34f83a0bac22c4d805bceb7ca76c498f63276bdaa589588d96d735402346c55c2dd58a547
AUX gegl-0.4.18-drop-failing-tests.patch 1040 BLAKE2B 5f747ad8bffa2a11a2275a2773d4835f13d8ff0d271fe83ca5da93ad83da7f5e808b8be3858b6812b4e102d0086fcb55270157b6fd3a568882537d4ddf33d298 SHA512 efeb64b100e2e5d548fdcfe49be3ee5fe208e90b8655b16f0dcfe08821d1ea792501ad372d7ae0029552ffe762bb5408543e573f9d7977d238afb8f261f521f5
-AUX gegl-0.4.18-meson_cpu_detection.patch 1506 BLAKE2B ad1038c71b3d2b735fe20010710a94c9460990d9bfb965731c732945d00f992d27f9168fd3fdda3b88ac913c984ad4ad7f231f1d5cd7bae8a8312e91d37cfdf2 SHA512 d9e96e57db0821c5510bb3d8faee3850ab4083e2f1697b5acda75e719ca778cd48ae86cffbc66b621de65dbf5096d125e612af329c7a7ef11f586d24be52a3dc
AUX gegl-0.4.18-program-suffix.patch 1071 BLAKE2B c529fe0cea80688201dfd4064fc54ca66ff26a322c877bb1cf9d83a436f8a455bf05e68a33cd6415f76337d98997e5e0ed38aba1db4c5ae3c84eb0905c5ccef2 SHA512 e47f32c9f3c82b50320759dca08dbc31c5db838252d4fc43be10a75eee469a17f91c92aefcfd01711d9628fac16ed2d612f037fc9509e7fc823ed77086edc417
-DIST gegl-0.4.18.tar.xz 4812756 BLAKE2B b8e5902b62c3549f57dd0ce52a0a406974bf8664d5b85389b79f7d698bcf2643d19861add3d8a9bd5c99036aba4da97b70884dcaacf2cb89170b995f1d1497a0 SHA512 e79874cd50e9f0c27c7dc9d9b952545c31d0a48e2b158aa54b92c3e933267877222f86ede7256f2528f18985dc85d6eadbcd809f7a3563efc4449ec7634f15fd
DIST gegl-0.4.22.tar.xz 4826748 BLAKE2B 3b6ddca1dff17d0336614fb02cdf94c7497586f075fa548fef66f9f81f62a8055c58e008b9eed989dd283fa701a07d4e22ee81b85c35a0a55f4a92e51cf6b780 SHA512 3118fb17532bcd5893a77739eaf936f5d1e2020178abc497098d227c25f726679621503ac83e7d14a9883d259247d97b92016174e76a2e6e950be7e26ce251ab
DIST gegl-0.4.24.tar.xz 4937056 BLAKE2B a6237d0642713e2dc6fb5aa889dea31aad688608b99e985d69dfa43580caae634a6fc41ff050372d8b364f2f002e260335159325c01f73a10719c3d1bda70d36 SHA512 09d857332eeabe39327d312b1a1692b7c6c9f8f952ae3e3cc06b5a5c262757d8b86467c25a4e66c90c37922fd3548fc1342a9864732d17924f97e7b6c6c1786d
-EBUILD gegl-0.4.18-r1.ebuild 4763 BLAKE2B d4cea7753856b77dd0adfef506a68e2d6d12ce8f653f58eccf63f16772b7af0fb7b420237ef384c61e7c737b289cdf936cd5752319ec51f7b1664b024e5bc3da SHA512 d86ac00595ed73e3047f8e902e20517817dff79f977ac08968873c3537448dd418eed0d7a6c820443cf7ec808ef8c1190686f93f20282a76d6faeccbb04696df
-EBUILD gegl-0.4.18.ebuild 4756 BLAKE2B dc2c7d5f917192b380e234a1c560c1ec604010fdfd534598d8e7bed6a399b24b56c2329ee2a2cad60e64fb7d8e568a6e6bc5d5ae39971b8d7c0625f4efaba2b4 SHA512 77186edc254f7d76f30481ee47dcfe74b923859c78739aa3c2fb28f8dc249f9f09cdea9b4064b52edec0f39d8139c97b4947497012e380d7037025f5420b9d5d
EBUILD gegl-0.4.22-r1.ebuild 4722 BLAKE2B 1d154668b7004738e5e85e850a1f106912bbba4d792892ac979c6fd628411909c0fcf513b0ff3ad47b81094f5903b975cffb08cd00f5dd206043f9f89754842c SHA512 f77899a70cfaf9d35be73f76bff9c385d6c487782b1dfe386b18c632acf052d9f8711648373ade81782f25f5014c7b683fefdbff0b5e8e364f6900958ea598b9
-EBUILD gegl-0.4.22.ebuild 4715 BLAKE2B 9a164071500ebf3acc505b7f259b36e8ae90870e5a7620e621f0006245419e0bb18ca6ab44c7800e4ca6f27819d6a0eb48be8545b763881b65b1aa88cf9ca41e SHA512 abd52bc37f8164900e6d0ec093615713ec828007695a88205f20693ab040f1d448c5d4caa974e7c1760a510aefc15b8df61733690cb3525d16ea9be52ade8124
+EBUILD gegl-0.4.22.ebuild 4714 BLAKE2B 8a920a635ca0b9114441e41532b654ab14558882635c3f98f2d583b9cba56662407667ff08d1a3b9e5dd759d21ac3519534c95e4c708ab9c817661637e1e407d SHA512 e272e638bf876ec0c8e71e89dabbd23df345925c51e4e54dcf07c26867ecc362ee7d3c51d9a888f83089ec80596b1e86ab2aa39618a33d8494ba3112a23ca07e
EBUILD gegl-0.4.24.ebuild 4728 BLAKE2B 4fc14a34770df8cfd7ed2840212fb04732d362aae008cf9db76cf26e085c263359e837afc3f9cb8465600d0a522c9bb96dc495b95716409cc662ee5976ab1cea SHA512 9db9c9a476a2310afb265f70d0c087c0cf67a775fa317116453f00f6f7a3c6f5855637ad8744e6264e9a53522aac60f146b2cde0ed37af57b212d61479cb62fd
EBUILD gegl-9999.ebuild 4336 BLAKE2B 04d0df100f84f9e0b4c016d6c8d01e6a69ccb65fe22e17afb095291c9e9afddfaa043f01b66c9c3f3e9ea0c4afb8bb9b1cadb5a5eb887279ab0359ead2dd5841 SHA512 a0fbd02d61fdd484017c1c09020616426649eb8a546408ce0bd33df939a5940917b08d246f4ab3f585d13dc3d2c0b42e2a58e8c61cfb3196be94474ba66b9655
MISC metadata.xml 550 BLAKE2B 8afb3a5aa69ba6b3139f3183ed013cd0797edad0865b0aebcd2824a31549f4968e938017adb85506fea2e60c18ea1278fd3bce0ce1cf9be0efb74b1f0b020470 SHA512 8c5637454afcab249f671518153067a99cac9d60d8e9108688b4328a19ea653de21948a63c7e680585d208c0b3230fd2fb87c2d8a0a7266d31bc328342a47016
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
deleted file mode 100644
index c388ac556e9b..000000000000
--- a/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Naur a/tests/ff-load-save/Makefile.am b/tests/ff-load-save/Makefile.am
---- a/tests/ff-load-save/Makefile.am 2017-09-21 22:11:00.000000000 +0300
-+++ b/tests/ff-load-save/Makefile.am 2020-03-07 16:33:21.000000000 +0300
-@@ -6,13 +6,7 @@
-
- EXTRA_DIST = $(TESTS)
-
--check: vids images
--
--images:
-- for a in *.avi *.mp4 *.ogv ;do \
-- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/gegl-video \
-- $$a -s 74 -e 74 -of $$a- ;\
-- done
-+check: vids
-
- vids: $(TESTS) $(top_builddir)/examples/frame-counter
- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
-@@ -27,8 +21,6 @@
- --video-codec mpeg4 --fps 12 --video-bit-rate 128 128kb-12fps.mp4
- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
- --video-codec mpeg4 --fps 100 --video-bit-rate 128 128kb-100fps.mp4
-- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
-- --fps 28 --video-bit-rate 512 512kb-28fps.ogv
-
- clean-local:
- rm -f *.png *.avi *.ogv *.mp4 *.webm
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
deleted file mode 100644
index 8c1c045758b4..000000000000
--- a/media-libs/gegl/files/gegl-0.3.34-fno-common.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/gcut/gcut.h
-+++ b/gcut/gcut.h
-@@ -172,7 +172,7 @@
- GMutex mutex;
- };
-
--struct _GeglEDL
-+extern struct _GeglEDL
- {
- GFileMonitor *monitor;
- char *path;
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
deleted file mode 100644
index ecb1be4c7354..000000000000
--- a/media-libs/gegl/files/gegl-0.4.18-cltostring_force_utf8.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/opencl/cltostring.py 2019-10-27 02:01:07.000000000 +0300
-+++ b/opencl/cltostring.py 2020-01-12 21:22:25.000000000 +0300
-@@ -1,8 +1,10 @@
- #!/usr/bin/env python
- from __future__ import print_function
-+from __future__ import unicode_literals
-
- import os
- import sys
-+import io
-
- # Search for lines that look like #include "blah.h" and replace them
- # with the contents of blah.h.
-@@ -34,12 +36,12 @@
-
-
- if len(sys.argv) == 2:
-- infile = open(sys.argv[1], "r")
-- outfile = open(sys.argv[1] + '.h', "w")
-+ infile = io.open(sys.argv[1], "r", encoding="utf-8")
-+ outfile = io.open(sys.argv[1] + '.h', "w", encoding="utf-8")
-
- elif len(sys.argv) == 3:
-- infile = open(sys.argv[1], "r")
-- outfile = open(sys.argv[2], "w")
-+ infile = io.open(sys.argv[1], "r", encoding="utf-8")
-+ outfile = io.open(sys.argv[2], "w", encoding="utf-8")
-
- else:
- print("Usage: %s input [output]" % sys.argv[0])
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
deleted file mode 100644
index 7f6b3624f361..000000000000
--- a/media-libs/gegl/files/gegl-0.4.18-meson_cpu_detection.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 6bcf95fd0f32cf5e8b1ddbe17b14d9ad049bded8 Mon Sep 17 00:00:00 2001
-From: Christoph Reiter <reiter.christoph@gmail.com>
-Date: Sun, 27 Oct 2019 14:10:08 +0100
-Subject: [PATCH] meson: fix cpu detection
-
-Use host_machine.cpu_family() instead of cpu(). Only the former
-provides a stable/defined set of values.
-
-Also don't error out on some arches for no good reason.
-
-This fixes the build on 32bit Windows.
----
- meson.build | 12 +++++-------
- 1 file changed, 5 insertions(+), 7 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index af133a0f1..540498921 100644
---- a/meson.build
-+++ b/meson.build
-@@ -73,23 +73,21 @@ if os_osx and cc.get_id() != 'clang'
- endif
-
-
--host_cpu = host_machine.cpu()
--if host_cpu.startswith('i') and host_cpu.endswith('86')
-+host_cpu_family = host_machine.cpu_family()
-+if host_cpu_family == 'x86'
- have_x86 = true
- config.set10('ARCH_X86', true)
--elif host_cpu == 'x86_64'
-+elif host_cpu_family == 'x86_64'
- have_x86 = true
- config.set10('ARCH_X86', true)
- config.set10('ARCH_X86_64', true)
--elif host_cpu == 'ppc' or host_cpu == 'powerpc'
-+elif host_cpu_family == 'ppc'
- have_ppc = true
- config.set10('ARCH_PPC', true)
--elif host_cpu == 'ppc64' or host_cpu == 'powerpc64'
-+elif host_cpu_family == 'ppc64'
- have_ppc = true
- config.set10('ARCH_PPC', true)
- config.set10('ARCH_PPC64', true)
--else
-- error('Unknown host architecture')
- endif
-
- ################################################################################
---
-2.22.0
-
diff --git a/media-libs/gegl/gegl-0.4.18-r1.ebuild b/media-libs/gegl/gegl-0.4.18-r1.ebuild
deleted file mode 100644
index 799cc107712f..000000000000
--- a/media-libs/gegl/gegl-0.4.18-r1.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
-
-# vala and introspection support is broken, bug #468208
-VALA_USE_DEPEND=vapigen
-
-inherit meson gnome2-utils python-any-r1 vala
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git"
- SRC_URI=""
-else
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-DESCRIPTION="A graph based image processing framework"
-HOMEPAGE="http://www.gegl.org/"
-
-LICENSE="|| ( GPL-3+ LGPL-3 )"
-SLOT="0.4"
-
-IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp"
-REQUIRED_USE="
- svg? ( cairo )
- test? ( introspection )
- vala? ( introspection )
-"
-
-RESTRICT="!test? ( test )"
-
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
-# so there is no chance to support libav right now (Gentoo bug #567638)
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks!
-RDEPEND="
- >=dev-libs/glib-2.44:2
- >=dev-libs/json-glib-1.2.6
- >=media-libs/babl-0.1.72[introspection?,lcms?]
- media-libs/libnsgif
- >=media-libs/libpng-1.6.0:0=
- >=sys-libs/zlib-1.2.0
- virtual/jpeg:0=
- >=x11-libs/gdk-pixbuf-2.32:2
- >=x11-libs/pango-1.38.0
- cairo? ( >=x11-libs/cairo-1.12.2 )
- ffmpeg? ( media-video/ffmpeg:0= )
- introspection? ( >=dev-libs/gobject-introspection-1.32:= )
- lcms? ( >=media-libs/lcms-2.8:2 )
- lensfun? ( >=media-libs/lensfun-0.2.5 )
- openexr? ( >=media-libs/openexr-1.6.1:= )
- pdf? ( >=app-text/poppler-0.71.0[cairo] )
- raw? ( >=media-libs/libraw-0.15.4:0= )
- sdl? ( >=media-libs/libsdl-1.2.0 )
- svg? ( >=gnome-base/librsvg-2.40.6:2 )
- tiff? ( >=media-libs/tiff-4:0 )
- umfpack? ( sci-libs/umfpack )
- v4l? ( >=media-libs/libv4l-1.0.1 )
- webp? ( >=media-libs/libwebp-0.5.0:= )
-"
-DEPEND="
- ${RDEPEND}
-"
-BDEPEND="
- dev-lang/perl
- >=dev-util/gtk-doc-am-1
- >=sys-devel/gettext-0.19.8
- >=sys-devel/libtool-2.2
- virtual/pkgconfig
- test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') )
- vala? ( $(vala_depend) )
-"
-
-DOCS=( AUTHORS docs/ChangeLog docs/NEWS.txt )
-
-PATCHES=(
- "${FILESDIR}"/${P}-drop-failing-tests.patch
- "${FILESDIR}"/${P}-program-suffix.patch
- "${FILESDIR}"/${P}-meson_cpu_detection.patch
- "${FILESDIR}"/${P}-cltostring_force_utf8.patch
-)
-
-python_check_deps() {
- has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- # don't require Apple's OpenCL on versions of OSX that don't have it
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die
- fi
-
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64
- sed -e '/clones.xml/d' \
- -e '/composite-transform.xml/d' \
- -i tests/compositions/meson.build || die
-
- # fix skipping mipmap tests due to executable not found
- for item in "invert-crop.sh" "invert.sh" "rotate-crop.sh" "rotate.sh" "unsharp-crop.sh" "unsharp.sh"; do
- sed -i "s:/bin/gegl:/bin/gegl-0.4:g" "${S}/tests/mipmap/${item}" || die
- sed -i "s:/tools/gegl-imgcmp:/tools/gegl-imgcmp-0.4:g" "${S}/tests/mipmap/${item}" || die
- done
-
- gnome2_environment_reset
-
- use vala && vala_src_prepare
-}
-
-src_configure() {
- local emesonargs=(
- # - Disable documentation as the generating is bit automagic
- # if anyone wants to work on it just create bug with patch
- -Ddocs=false
- -Dexiv2=disabled
- -Dgdk-pixbuf=enabled
- -Dgexiv2=disabled
- # - There are two checks for dot, one controllable by --with(out)-graphviz
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes.
- -Dgraphviz=disabled
- -Djasper=disabled
- -Dlibjpeg=enabled
- -Dlibpng=enabled
- # - libspiro: not in portage main tree
- -Dlibspiro=disabled
- -Dlua=disabled
- -Dmrg=disabled
- -Dpango=enabled
- -Dsdl2=disabled
- # - Parameter -Dworkshop=false disables any use of Lua, effectivly
- -Dworkshop=false
- $(meson_feature cairo)
- $(meson_feature cairo pangocairo)
- $(meson_feature ffmpeg libav)
- $(meson_feature lcms)
- $(meson_feature lensfun)
- $(meson_feature openexr)
- $(meson_feature raw libraw)
- $(meson_feature sdl sdl1)
- $(meson_feature svg librsvg)
- $(meson_feature test pygobject)
- $(meson_feature tiff libtiff)
- $(meson_feature umfpack)
- # - v4l support does not work with our media-libs/libv4l-0.8.9,
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675
- $(meson_feature v4l libv4l)
- $(meson_feature v4l libv4l2)
- $(meson_feature vala vapigen)
- $(meson_feature webp)
- $(meson_use introspection)
- )
- meson_src_configure
-}
diff --git a/media-libs/gegl/gegl-0.4.18.ebuild b/media-libs/gegl/gegl-0.4.18.ebuild
deleted file mode 100644
index 3aac36f5af6f..000000000000
--- a/media-libs/gegl/gegl-0.4.18.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
-
-# vala and introspection support is broken, bug #468208
-VALA_USE_DEPEND=vapigen
-
-inherit meson gnome2-utils python-any-r1 vala
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git"
- SRC_URI=""
-else
- SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
- KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-fi
-
-DESCRIPTION="A graph based image processing framework"
-HOMEPAGE="http://www.gegl.org/"
-
-LICENSE="|| ( GPL-3+ LGPL-3 )"
-SLOT="0.4"
-
-IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp"
-REQUIRED_USE="
- svg? ( cairo )
- test? ( introspection )
- vala? ( introspection )
-"
-
-RESTRICT="!test? ( test )"
-
-# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
-# so there is no chance to support libav right now (Gentoo bug #567638)
-# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks!
-RDEPEND="
- >=dev-libs/glib-2.44:2
- >=dev-libs/json-glib-1.2.6
- >=media-libs/babl-0.1.72[introspection?]
- media-libs/libnsgif
- >=media-libs/libpng-1.6.0:0=
- >=sys-libs/zlib-1.2.0
- virtual/jpeg:0=
- >=x11-libs/gdk-pixbuf-2.32:2
- >=x11-libs/pango-1.38.0
- cairo? ( >=x11-libs/cairo-1.12.2 )
- ffmpeg? ( media-video/ffmpeg:0= )
- introspection? ( >=dev-libs/gobject-introspection-1.32:= )
- lcms? ( >=media-libs/lcms-2.8:2 )
- lensfun? ( >=media-libs/lensfun-0.2.5 )
- openexr? ( >=media-libs/openexr-1.6.1:= )
- pdf? ( >=app-text/poppler-0.71.0[cairo] )
- raw? ( >=media-libs/libraw-0.15.4:0= )
- sdl? ( >=media-libs/libsdl-1.2.0 )
- svg? ( >=gnome-base/librsvg-2.40.6:2 )
- tiff? ( >=media-libs/tiff-4:0 )
- umfpack? ( sci-libs/umfpack )
- v4l? ( >=media-libs/libv4l-1.0.1 )
- webp? ( >=media-libs/libwebp-0.5.0:= )
-"
-
-DEPEND="
- ${RDEPEND}
-"
-
-BDEPEND="
- dev-lang/perl
- >=dev-util/gtk-doc-am-1
- >=sys-devel/gettext-0.19.8
- >=sys-devel/libtool-2.2
- virtual/pkgconfig
- test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') )
- vala? ( $(vala_depend) )
-"
-
-DOCS=( AUTHORS docs/ChangeLog docs/NEWS.txt )
-
-PATCHES=(
- "${FILESDIR}"/${P}-drop-failing-tests.patch
- "${FILESDIR}"/${P}-program-suffix.patch
- "${FILESDIR}"/${P}-meson_cpu_detection.patch
- "${FILESDIR}"/${P}-cltostring_force_utf8.patch
-)
-
-python_check_deps() {
- has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- # don't require Apple's OpenCL on versions of OSX that don't have it
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then
- sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die
- fi
-
- # commit 7c78497b : tests that use gegl.png are broken on non-amd64
- sed -e '/clones.xml/d' \
- -e '/composite-transform.xml/d' \
- -i tests/compositions/meson.build || die
-
- # fix skipping mipmap tests due to executable not found
- for item in "invert-crop.sh" "invert.sh" "rotate-crop.sh" "rotate.sh" "unsharp-crop.sh" "unsharp.sh"; do
- sed -i "s:/bin/gegl:/bin/gegl-0.4:g" "${S}/tests/mipmap/${item}" || die
- sed -i "s:/tools/gegl-imgcmp:/tools/gegl-imgcmp-0.4:g" "${S}/tests/mipmap/${item}" || die
- done
-
- gnome2_environment_reset
-
- use vala && vala_src_prepare
-}
-
-src_configure() {
- local emesonargs=(
- # - Disable documentation as the generating is bit automagic
- # if anyone wants to work on it just create bug with patch
- -Ddocs=false
- -Dexiv2=disabled
- -Dgdk-pixbuf=enabled
- -Dgexiv2=disabled
- # - There are two checks for dot, one controllable by --with(out)-graphviz
- # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes.
- -Dgraphviz=disabled
- -Djasper=disabled
- -Dlibjpeg=enabled
- -Dlibpng=enabled
- # - libspiro: not in portage main tree
- -Dlibspiro=disabled
- -Dlua=disabled
- -Dmrg=disabled
- -Dpango=enabled
- -Dsdl2=disabled
- # - Parameter -Dworkshop=false disables any use of Lua, effectivly
- -Dworkshop=false
- $(meson_feature cairo)
- $(meson_feature cairo pangocairo)
- $(meson_feature ffmpeg libav)
- $(meson_feature lcms)
- $(meson_feature lensfun)
- $(meson_feature openexr)
- $(meson_feature raw libraw)
- $(meson_feature sdl sdl1)
- $(meson_feature svg librsvg)
- $(meson_feature test pygobject)
- $(meson_feature tiff libtiff)
- $(meson_feature umfpack)
- # - v4l support does not work with our media-libs/libv4l-0.8.9,
- # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675
- $(meson_feature v4l libv4l)
- $(meson_feature v4l libv4l2)
- $(meson_feature vala vapigen)
- $(meson_feature webp)
- $(meson_use introspection)
- )
- meson_src_configure
-}
diff --git a/media-libs/gegl/gegl-0.4.22.ebuild b/media-libs/gegl/gegl-0.4.22.ebuild
index 026ab0c6bdc0..27f0434a0599 100644
--- a/media-libs/gegl/gegl-0.4.22.ebuild
+++ b/media-libs/gegl/gegl-0.4.22.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
SRC_URI=""
else
SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
- KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
fi
DESCRIPTION="A graph based image processing framework"