diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /media-libs/gegl | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'media-libs/gegl')
-rw-r--r-- | media-libs/gegl/Manifest | 9 | ||||
-rw-r--r-- | media-libs/gegl/gegl-0.3.26.ebuild | 4 | ||||
-rw-r--r-- | media-libs/gegl/gegl-0.3.8-r1.ebuild | 180 | ||||
-rw-r--r-- | media-libs/gegl/gegl-0.3.8.ebuild | 180 | ||||
-rw-r--r-- | media-libs/gegl/gegl-0.4.12.ebuild | 173 | ||||
-rw-r--r-- | media-libs/gegl/gegl-9999.ebuild | 4 |
6 files changed, 181 insertions, 369 deletions
diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest index 3cf1e848fe52..f0e0efdc4419 100644 --- a/media-libs/gegl/Manifest +++ b/media-libs/gegl/Manifest @@ -15,18 +15,17 @@ DIST gegl-0.2.0.tar.bz2 7502040 BLAKE2B 29b33bf6aa878b74461e929a96570fca9a56e529 DIST gegl-0.3.0.tar.bz2 5463571 BLAKE2B 7ac52fb22bab3b84068e10610d8681a5bcf56f6cdf39dae4374d2749823f3a1af62995382a1247427dde1921e0b11304adb800a2157ca6e7e773fdd97fee47f5 SHA512 ff758df4689b0fa8f5e16ebcea32a7fe77bccfef70efc20d10669ce5139a70ec3533e78227fd4798812b31ac1ca5081b9d1d701a7449bf75356f879ece5fadd6 DIST gegl-0.3.26.tar.bz2 6530788 BLAKE2B 1cd1a61737ec94cb30fdf16ca8dcb5667ebaa481d0e234f89b7e8bd9b05b3e515454bf768a66e64c88f61a57c83d51eecad9aab4450502dd3e02ce4f012df7a5 SHA512 1fafd6bb70b539bd31c052d2acfcb332fac92caf2a67e07a8c827db31b877aa373a184475952b6fc4dae455dcceccfd3943d782e9fe50f166323f698faf60957 DIST gegl-0.3.34.tar.bz2 6707964 BLAKE2B 4424a2c218067bd0a77d79c2334528da393350db3062019f3889b8cdb8d222f6e436ccfc845b61fdf425a1634698a7a6963702a29bb1666f515b1395c50dc99f SHA512 a7a394dcce4137d5224163ca324f1585e64d1cc797e77d452ba444afe2bff39aa2e2d5d040d07b394697b75162bc310bc51490a5af80240b26aac14b6e7abe02 -DIST gegl-0.3.8.tar.bz2 5876259 BLAKE2B 24199148ffbef6454ea460d126c29f1cc8581e5430bc3e341a8ab48fff701a0d63c4cf8864d04219455feaeb7e03808e8de06cc8ae0a500eb4154f2ec9ba25fe SHA512 13207e7ab4723be1e31bdba5e30e5725e93c1adc61bad1413502128730391dbe7eb35419d243c8d0a1d8794341a58188790adacbb10d2a8e68db861c18d21bfb +DIST gegl-0.4.12.tar.bz2 7065555 BLAKE2B f0801739e67e6d6ecc88abaed8638c900edd7229d240f63af7cc0bf503cd29b33b84d7e3018c757b0bdb6ee5245f6af595b96decc3916b57debfb46712213577 SHA512 cacf9f5c34357b3939162d0d4712ee2b47298a3e806b55e275cdf5e23f186d436ea1a840b91b1b72b76d450d94674cca217b7c253cd6b52a7d9505b4ad73fde2 DIST gegl-0.4.6.tar.bz2 6931774 BLAKE2B c8fabc8efbcc21a3663c8a3a698e6bc072506a66a21b81e6696c37c81aec1458c695f773c554b6d98c2fd21a3d3ab7fcca4b2f6567ec9d4f94b1e925b9bc9ce5 SHA512 6df34b6e76318a375820bccac6efeb2792c737e47154902fcc08ef93cb45b978992ee263260c99f8e865964d80cd1fac6dc2d6c8e4453174df64a9044b57325e DIST gegl-0.4.8.tar.bz2 7017022 BLAKE2B ec934fe6faa0c9328ae8c6476e19e175a8e8082e3d1f59052fb83fad766030ede9dd3464a215d332238277492151d988b17c6d3ac87f3d9cec01797acd259fae SHA512 20d2700cc74bce02e3e1b477f5e4dbd6546bb74625de235baaaa31e24f506930927af53de3d0880c0b16f93a10cec993c58a12adba59dec7dda0e389261799aa EBUILD gegl-0.2.0-r2.ebuild 4777 BLAKE2B ed7a2d4ee08e7b0b9ca6f657e7cbec1acb5a1269f0eec3cd3cb6861f585c3be38381a3f754e16ab5243b4bc0c05f3db7912dd204b31fe1c9439c7050b1c941c9 SHA512 ab067c5e98dc06f8de2cf6d3f6e4914485c2c9845a7d7840d7d51ddb0f7875bcd40fdf0a0c1331271f70c1326c95839b10ce1167bc9d86c647e31c212fdbfe80 EBUILD gegl-0.2.0-r5.ebuild 4984 BLAKE2B 46d4f811b53c6db09ca75f93bb07c68cc9094e4e790e6fbdbcad29680c1e39173577b06474dfaefe1abab0b0e14d6bd836adbfb33dbb9f0907b6ef2fc507990b SHA512 da64b73c555f36830d5e6641eef87008d868c566ed5adaed7de3bad519a1d091c189643859b1b30ee025eadb54a1add9847a67839a5006b207bf558e423f2f32 EBUILD gegl-0.3.0-r1.ebuild 5383 BLAKE2B ed633ea1a6331b918632a11811b248872508891fa40c21cd17d4f0b19f1463d675b5b1b7180acf904ee9f08dfa1420ae881c5c4cc7e7ff7d71e92e1e70e00e98 SHA512 21587a2c02c1d5f96ee346251271f188ea5fe1cd2711e0005c583535cd90e47d4c8ac119c2d95efa6ff5767e1c5e53802c0b25a9e0dd0b8a2124b629305e9c70 EBUILD gegl-0.3.0.ebuild 5302 BLAKE2B 9af5ed46f899c5b2bc34c8da9763ac0fb777135bfda816b53a29b2a4dbaa67a441d26b27ce9112cc686c11f2b182bde320b46bb0dacb519a365a7083051949d0 SHA512 089ef4ca7d2833248af322062bdc05f3f155fd7cc9aa67c89e0567d0c7b6a08bb2ab2bceb54e8c0bb790f8caab4bd2418f3885f7f7cc288014f05064163eb6af -EBUILD gegl-0.3.26.ebuild 5237 BLAKE2B 34f89554442ca341b924a66d57b4707a465390d3f5326f0bdce0dc50e18ed2c9ce7596b904249a3683fa6794c274050df1594f741956aa4c4eefe5c152bb8145 SHA512 bd60d4c1733eaf316f9c480ef6ecba775b35208bc7b618ce0b2b7c5d5f240e250db61552744be2a21a1472ec73f2fed714a3ec58564b1fe3895907cb867f8031 +EBUILD gegl-0.3.26.ebuild 5233 BLAKE2B 26efbb8ea85b7b55231801f735b689ff0fccc93fa64c9dfaad33b8819c786f16c57cb7af9bc8da1b74ede6ca72e2dd2e67712dc5c5a2fc26bc833177a9e98f93 SHA512 7516b2ceb2c18b90ae48306765154a33405a38cba39c9531a18d7827408f4a0286e72f51e21fea37493df5f143af8fd302d82f2287de296d6e817947ad6f1f10 EBUILD gegl-0.3.34.ebuild 5377 BLAKE2B ac84c85d0ab0a6fab5e2176639f30cefda1081acab0bcc155915cdeb702cd681efe0d332d6ccfe29055b7e16d6b4406893f525574d702d7f2609e952c440b6bc SHA512 a7991520a562539a9f975fb7b7199b8c3129fee1415ddd1211b2b513fec29db7e4740f20109081981dbf656edc5cafac2c3cec339dc3a22e98c8bb272eb6e564 -EBUILD gegl-0.3.8-r1.ebuild 5303 BLAKE2B db41335afb65f22fedb687bdc01a8bd1f9b1b5f84905fb9ae5fc857eb83998bed60abe097abffaed97be6be992f138f431c120285f815e788821de645f476e6b SHA512 6c7d6dfb2db4f1a27d905368a0de4bc89c7a46298b134c9de7b477e73d5321684c251b7902ece0ee993f583c2c0583615a16dbc66d20ed26749e83a5400c94f9 -EBUILD gegl-0.3.8.ebuild 5221 BLAKE2B 089d15cd1924d3d859055f39b6914c2084536556aabd23835962d582cc6a6846fbe57704feefa46d6d3fea8cc373c2c56e9f33c2ae59c72eac8b63b0a7f86e65 SHA512 85ca494220c281c14dca9ca9679b84b084d95561114a761a073e871fdec072b0b1d000a9d4ba7aa8d81c2587ed9f9cb73cfe17467a6783a49d58f529b0337efc +EBUILD gegl-0.4.12.ebuild 4918 BLAKE2B 38df7754c5b30c18d6d2858a8cafb701f008b5c33ce9c45f9136f64746bacb9e22089ccb4758f844604dbf547834be23ab2d5c0947db6d0cdd4d97647bd0b162 SHA512 d2b0a08f7713683c2f62d1b29a94b23e37fc948a287c537f5d4cda60d1713e61815a78cdf629dbb3bacd41edc774c0ab59952846fe9761a894669c15b25b31ff EBUILD gegl-0.4.6-r1.ebuild 5389 BLAKE2B 4eba81cf6624d66ceb3d3e27b9bff465f9b5702e53d12abccc6ccf8bf17e1ccbe439dbb5b9842564da374510ac3c01ffaac28be89aa3cc1b6c3b8493744c358a SHA512 4e010197d78a08ecc574975d3069a1fcfd2cb15b0cbc40f28b28494213369fc926c1e7bd082314213f823381a52b687facfc122ed000c3078b409bd406f79ff9 EBUILD gegl-0.4.8-r1.ebuild 4968 BLAKE2B 3cdb9f610500db2fd90fbb55e64c22bac6fe13cc153d5b42b5f16509e09efba77e50e5cc803b33d0e0845f61f65bc201f4e2bfec5fcdcbfb6d6eeaf4966f8204 SHA512 5cef00dcb12ce6153a0831a129dedf0051c29abb683b06b5f5e4d85467f293c93de28149ed73946fc63bedaaac22150f6ade4b21c679a6a4cd422ea702ec307d -EBUILD gegl-9999.ebuild 4862 BLAKE2B 2c3826ec126d5dc69f2ea4d7ca2cb2dbb5604a8da8a3e6f18b6fc3fa77526a289e35d03673d392e7742dea39dacccdf09e8eb1e85ee5a63e044590d16547ae23 SHA512 5b0a2a483dbd1014f7378d74796167462444a23c1da0d66372b9659315c9bb0bb19a1e11159d63c1192dda7803a08b42cf72f3ac97330576124af3fe16ddb823 +EBUILD gegl-9999.ebuild 4860 BLAKE2B d4751dbc4c4534a727169c1179eee781aa52b21f3032bc5d10598fc8f81c4b73d9848fd9cb79e7483f91f75120eef17042b6d19937045713fdbda508ec50bf4d SHA512 770bc8c33a5451a69cf561b438dde1fb69bb1297122a1874146b9bbf270fda790405e645ed66ea5605b5b55911332f0ad3efb8758408cf590654df9f5c170ddc MISC metadata.xml 396 BLAKE2B aeb29a940e3747b4ea2418e3723c549291cbfd49d8152c75fcc9116b46892eac29338b36875b32c7f3968deecf142296b0f9725d02a80a0380dfba6fba17d810 SHA512 7530e0bc7d86a57334d1dc6fc75b6acc1eb3512c2618d1ed47bbc025aa95f72fa1d41b78765ae53721ea794538d22df1be22189dd54e30fa4bf94e7f0cdced1a diff --git a/media-libs/gegl/gegl-0.3.26.ebuild b/media-libs/gegl/gegl-0.3.26.ebuild index 77de495de66a..f39cb535af1a 100644 --- a/media-libs/gegl/gegl-0.3.26.ebuild +++ b/media-libs/gegl/gegl-0.3.26.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then SRC_URI="" else SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" - KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ppc64 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" + KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" fi DESCRIPTION="A graph based image processing framework" diff --git a/media-libs/gegl/gegl-0.3.8-r1.ebuild b/media-libs/gegl/gegl-0.3.8-r1.ebuild deleted file mode 100644 index f0f0b701dbcf..000000000000 --- a/media-libs/gegl/gegl-0.3.8-r1.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -# vala and introspection support is broken, bug #468208 -VALA_USE_DEPEND=vapigen - -inherit versionator gnome2-utils eutils autotools python-any-r1 vala - -if [[ ${PV} == *9999* ]]; then - inherit autotools 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.bz2" - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="A graph based image processing framework" -HOMEPAGE="http://www.gegl.org/" - -LICENSE="|| ( GPL-3 LGPL-3 )" -SLOT="0.3" - -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" -REQUIRED_USE=" - svg? ( cairo ) - vala? ( introspection ) -" - -# 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.36:2 - dev-libs/json-glib - >=media-libs/babl-0.1.14 - sys-libs/zlib - >=x11-libs/gdk-pixbuf-2.18:2 - x11-libs/pango - - cairo? ( x11-libs/cairo ) - ffmpeg? ( - >=media-video/ffmpeg-2.8:0= - ) - introspection? ( >=dev-libs/gobject-introspection-1.32:= ) - virtual/jpeg:0= - jpeg2k? ( >=media-libs/jasper-1.900.1:= ) - lcms? ( >=media-libs/lcms-2.2:2 ) - lensfun? ( >=media-libs/lensfun-0.2.5 ) - openexr? ( media-libs/openexr:= ) - media-libs/libpng:0= - raw? ( >=media-libs/libraw-0.15.4 ) - sdl? ( media-libs/libsdl ) - svg? ( >=gnome-base/librsvg-2.14:2 ) - tiff? ( >=media-libs/tiff-4:0 ) - umfpack? ( sci-libs/umfpack ) - v4l? ( >=media-libs/libv4l-1.0.1 ) - webp? ( media-libs/libwebp ) -" -DEPEND="${RDEPEND} - >=dev-util/gtk-doc-am-1 - >=dev-util/intltool-0.40.1 - dev-lang/perl - virtual/pkgconfig - >=sys-devel/libtool-2.2 - test? ( introspection? ( - $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) - vala? ( $(vala_depend) ) -" - -pkg_setup() { - use test && use introspection && python-any-r1_pkg_setup -} - -src_prepare() { - default - - # FIXME: the following should be proper patch sent to upstream - # fix OSX loadable module filename extension - sed -i -e 's/\.dylib/.bundle/' configure.ac || die - # 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 - - #epatch "${FILESDIR}"/${P}-g_log_domain.patch - - # 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/Makefile.am || die - - epatch "${FILESDIR}"/${PN}-0.3.12-failing-tests.patch - epatch "${FILESDIR}"/${PN}-0.2.0-fix-without-exiv2.patch # bug 641872 - - eautoreconf - - gnome2_environment_reset - - use vala && vala_src_prepare -} - -src_configure() { - # never enable altering of CFLAGS via profile option - # libspiro: not in portage main tree - # disable documentation as the generating is bit automagic - # if anyone wants to work on it just create bug with patch - - # Also please note that: - # - # - Some auto-detections are not patched away since the docs are - # not built (--disable-docs, lack of --enable-gtk-doc) and these - # tools affect re-generation of docs, only - # (e.g. ruby, asciidoc, dot (of graphviz), enscript) - # - # - Parameter --with-exiv2 compiles a noinst-app only, no use - # - # - Parameter --disable-workshop disables any use of Lua, effectivly - # - # - 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 - # - # - There are two checks for dot, one controllable by --with(out)-graphviz - # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. - # - # - mrg is not in tree and gexiv2 support only has effect when mrg support - # is enabled - # - # So that's why USE="exif graphviz lua v4l" got resolved. More at: - # https://bugs.gentoo.org/show_bug.cgi?id=451136 - # - econf \ - --disable-docs \ - --disable-profile \ - --disable-silent-rules \ - --disable-workshop \ - --program-suffix=-${SLOT} \ - --with-gdk-pixbuf \ - --with-pango \ - --without-libspiro \ - $(use_enable cpu_flags_x86_mmx mmx) \ - $(use_enable cpu_flags_x86_sse sse) \ - $(use_enable debug) \ - $(use_with cairo) \ - $(use_with cairo pangocairo) \ - --without-exiv2 \ - $(use_with ffmpeg libavformat) \ - --without-gexiv2 \ - --without-graphviz \ - $(use_with jpeg2k jasper) \ - $(use_with lcms) \ - $(use_with lensfun) \ - --without-lua \ - --without-mrg \ - $(use_with openexr) \ - $(use_with raw libraw) \ - $(use_with sdl) \ - $(use_with svg librsvg) \ - $(use_with tiff libtiff) \ - $(use_with umfpack) \ - $(use_with v4l libv4l) \ - $(use_with v4l libv4l2) \ - $(use_enable introspection) \ - $(use_with vala) \ - $(use_with webp) -} - -src_compile() { - default - - [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." -} - -src_install() { - default - prune_libtool_files --all -} diff --git a/media-libs/gegl/gegl-0.3.8.ebuild b/media-libs/gegl/gegl-0.3.8.ebuild deleted file mode 100644 index 700033d41b2d..000000000000 --- a/media-libs/gegl/gegl-0.3.8.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -# vala and introspection support is broken, bug #468208 -VALA_USE_DEPEND=vapigen - -inherit versionator gnome2-utils eutils autotools python-any-r1 vala - -if [[ ${PV} == *9999* ]]; then - inherit autotools 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.bz2" - KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="A graph based image processing framework" -HOMEPAGE="http://www.gegl.org/" - -LICENSE="|| ( GPL-3 LGPL-3 )" -SLOT="0.3" - -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" -REQUIRED_USE=" - svg? ( cairo ) - vala? ( introspection ) -" - -# 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.36:2 - dev-libs/json-glib - >=media-libs/babl-0.1.14 - sys-libs/zlib - >=x11-libs/gdk-pixbuf-2.18:2 - x11-libs/pango - - cairo? ( x11-libs/cairo ) - ffmpeg? ( - >=media-video/ffmpeg-2.8:0= - ) - introspection? ( >=dev-libs/gobject-introspection-1.32:= ) - virtual/jpeg:0= - jpeg2k? ( >=media-libs/jasper-1.900.1:= ) - lcms? ( >=media-libs/lcms-2.2:2 ) - lensfun? ( >=media-libs/lensfun-0.2.5 ) - openexr? ( media-libs/openexr:= ) - media-libs/libpng:0= - raw? ( >=media-libs/libraw-0.15.4 ) - sdl? ( media-libs/libsdl ) - svg? ( >=gnome-base/librsvg-2.14:2 ) - tiff? ( >=media-libs/tiff-4:0 ) - umfpack? ( sci-libs/umfpack ) - v4l? ( >=media-libs/libv4l-1.0.1 ) - webp? ( media-libs/libwebp ) -" -DEPEND="${RDEPEND} - >=dev-util/gtk-doc-am-1 - >=dev-util/intltool-0.40.1 - dev-lang/perl - virtual/pkgconfig - >=sys-devel/libtool-2.2 - test? ( introspection? ( - $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) - vala? ( $(vala_depend) ) -" - -pkg_setup() { - use test && use introspection && python-any-r1_pkg_setup -} - -PATCHES=( - #"${FILESDIR}"/${P}-g_log_domain.patch - "${FILESDIR}"/${PN}-0.3.12-failing-tests.patch -) - -src_prepare() { - default - - # FIXME: the following should be proper patch sent to upstream - # fix OSX loadable module filename extension - sed -i -e 's/\.dylib/.bundle/' configure.ac || die - # 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/Makefile.am || die - - eautoreconf - - gnome2_environment_reset - - use vala && vala_src_prepare -} - -src_configure() { - # never enable altering of CFLAGS via profile option - # libspiro: not in portage main tree - # disable documentation as the generating is bit automagic - # if anyone wants to work on it just create bug with patch - - # Also please note that: - # - # - Some auto-detections are not patched away since the docs are - # not built (--disable-docs, lack of --enable-gtk-doc) and these - # tools affect re-generation of docs, only - # (e.g. ruby, asciidoc, dot (of graphviz), enscript) - # - # - Parameter --with-exiv2 compiles a noinst-app only, no use - # - # - Parameter --disable-workshop disables any use of Lua, effectivly - # - # - 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 - # - # - There are two checks for dot, one controllable by --with(out)-graphviz - # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. - # - # - mrg is not in tree and gexiv2 support only has effect when mrg support - # is enabled - # - # So that's why USE="exif graphviz lua v4l" got resolved. More at: - # https://bugs.gentoo.org/show_bug.cgi?id=451136 - # - econf \ - --disable-docs \ - --disable-profile \ - --disable-silent-rules \ - --disable-workshop \ - --program-suffix=-${SLOT} \ - --with-gdk-pixbuf \ - --with-pango \ - --without-libspiro \ - $(use_enable cpu_flags_x86_mmx mmx) \ - $(use_enable cpu_flags_x86_sse sse) \ - $(use_enable debug) \ - $(use_with cairo) \ - $(use_with cairo pangocairo) \ - --without-exiv2 \ - $(use_with ffmpeg libavformat) \ - --without-gexiv2 \ - --without-graphviz \ - $(use_with jpeg2k jasper) \ - $(use_with lcms) \ - $(use_with lensfun) \ - --without-lua \ - --without-mrg \ - $(use_with openexr) \ - $(use_with raw libraw) \ - $(use_with sdl) \ - $(use_with svg librsvg) \ - $(use_with tiff libtiff) \ - $(use_with umfpack) \ - $(use_with v4l libv4l) \ - $(use_with v4l libv4l2) \ - $(use_enable introspection) \ - $(use_with vala) \ - $(use_with webp) -} - -src_compile() { - default - - [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." -} - -src_install() { - default - prune_libtool_files --all -} diff --git a/media-libs/gegl/gegl-0.4.12.ebuild b/media-libs/gegl/gegl-0.4.12.ebuild new file mode 100644 index 000000000000..fd4fb583dcb8 --- /dev/null +++ b/media-libs/gegl/gegl-0.4.12.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +# vala and introspection support is broken, bug #468208 +VALA_USE_DEPEND=vapigen + +inherit autotools 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.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="A graph based image processing framework" +HOMEPAGE="http://www.gegl.org/" + +LICENSE="|| ( GPL-3+ LGPL-3 )" +SLOT="0.4" + +IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg2k lcms lensfun libav openexr raw sdl svg test tiff umfpack vala v4l webp" +REQUIRED_USE=" + svg? ( cairo ) + vala? ( introspection ) +" + +# 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 + >=media-libs/babl-0.1.58 + >=media-libs/libpng-1.6.0:0= + sys-libs/zlib + virtual/jpeg:0= + >=x11-libs/gdk-pixbuf-2.32:2 + x11-libs/pango + cairo? ( >=x11-libs/cairo-1.12.2 ) + ffmpeg? ( + libav? ( media-video/libav:0= ) + !libav? ( media-video/ffmpeg:0= ) + ) + introspection? ( >=dev-libs/gobject-introspection-1.32:= ) + jpeg2k? ( >=media-libs/jasper-1.900.1:= ) + lcms? ( >=media-libs/lcms-2.8:2 ) + lensfun? ( >=media-libs/lensfun-0.2.5 ) + openexr? ( >=media-libs/openexr-2.2.0:= ) + 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} + dev-lang/perl + >=dev-util/gtk-doc-am-1 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + >=sys-devel/libtool-2.2 + test? ( ffmpeg? ( media-libs/gexiv2 ) + introspection? ( + $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') + ) + ) + vala? ( $(vala_depend) ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.3.12-failing-tests.patch" +) + +pkg_setup() { + use test && use introspection && python-any-r1_pkg_setup +} + +src_prepare() { + default + + # FIXME: the following should be proper patch sent to upstream + # fix OSX loadable module filename extension + sed -i -e 's/\.dylib/.bundle/' configure.ac || die + # 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/Makefile.am || die + + eautoreconf + + gnome2_environment_reset + + use vala && vala_src_prepare +} + +src_configure() { + local myeconfargs=( + # disable documentation as the generating is bit automagic + # if anyone wants to work on it just create bug with patch + --disable-docs + # never enable altering of CFLAGS via profile option + --disable-profile + --disable-silent-rules + # - Parameter --disable-workshop disables any use of Lua, effectivly + --disable-workshop + --program-suffix=-${SLOT} + --with-gdk-pixbuf + --with-pango + # - Parameter --with-exiv2 compiles a noinst-app only, no use + # but needed during testing + --without-exiv2 + # - There are two checks for dot, one controllable by --with(out)-graphviz + # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. + --without-graphviz + # libspiro: not in portage main tree + --without-libspiro + --without-lua + --without-mrg + $(use_enable cpu_flags_x86_mmx mmx) + $(use_enable cpu_flags_x86_sse sse) + $(use_enable debug) + $(use_enable introspection) + $(use_with cairo) + $(use_with cairo pangocairo) + $(use_with ffmpeg libavformat) + $(use_with jpeg2k jasper) + $(use_with lcms) + $(use_with lensfun) + $(use_with openexr) + $(use_with raw libraw) + $(use_with sdl) + $(use_with svg librsvg) + $(use_with tiff libtiff) + $(use_with 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 + $(use_with v4l libv4l) + $(use_with v4l libv4l2) + $(use_with vala) + $(use_with webp) + ) + + if use test; then + myeconfargs+=( $(use_with ffmpeg gexiv2) ) + else + myeconfargs+=( --without-gexiv2 ) + fi + + econf "${myeconfargs[@]}" +} + +src_compile() { + default + + [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gegl/gegl-9999.ebuild b/media-libs/gegl/gegl-9999.ebuild index b0373e1fad0f..1d5e515f803a 100644 --- a/media-libs/gegl/gegl-9999.ebuild +++ b/media-libs/gegl/gegl-9999.ebuild @@ -36,7 +36,7 @@ REQUIRED_USE=" RDEPEND=" >=dev-libs/glib-2.44:2 dev-libs/json-glib - >=media-libs/babl-0.1.54 + >=media-libs/babl-0.1.56 >=media-libs/libpng-1.6.0:0= sys-libs/zlib virtual/jpeg:0= @@ -151,7 +151,7 @@ src_configure() { if use test; then myeconfargs+=( $(use_with ffmpeg gexiv2) ) else - myeconfargs+=( "--without-gexiv2" ) + myeconfargs+=( --without-gexiv2 ) fi econf "${myeconfargs[@]}" |