diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 68235 -> 68229 bytes | |||
-rw-r--r-- | media-libs/babl/Manifest | 5 | ||||
-rw-r--r-- | media-libs/babl/babl-0.1.92-r1.ebuild | 68 | ||||
-rw-r--r-- | media-libs/babl/babl-0.1.96-r1.ebuild | 69 | ||||
-rw-r--r-- | media-libs/babl/files/babl-0.1.92_universal_nonlinear_rgb_u8_converter_sse2.patch | 18 | ||||
-rw-r--r-- | media-libs/gegl/Manifest | 4 | ||||
-rw-r--r-- | media-libs/gegl/gegl-0.4.36-r3.ebuild | 152 | ||||
-rw-r--r-- | media-libs/gegl/gegl-0.4.38-r1.ebuild | 156 |
8 files changed, 0 insertions, 472 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 15a23be4f650..780e2f713c51 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest index 34f42a883793..ad40b7d4cfd8 100644 --- a/media-libs/babl/Manifest +++ b/media-libs/babl/Manifest @@ -1,9 +1,4 @@ -AUX babl-0.1.92_universal_nonlinear_rgb_u8_converter_sse2.patch 687 BLAKE2B 5e582c0731ad659977111ad6d7c5ae85c756ff0c98aab94f8a7d06ffed25444654b2e63cf129207429d6f4bf1b6c4451026e30ce6d0fdf5fa1060fe3e6e2e2f7 SHA512 a938c501a20ffe7669c101196b3855d8cb97fa2277d9a8f36167a13e80880a970cf3b697aa262cff092cc3b726108ecd76459c24c1f481cb236717a3371e64d3 -DIST babl-0.1.92.tar.xz 309784 BLAKE2B c3c716ba1b54082743ba6ea33da99fb458dc971ab78ae72170af9840eadbc7f2aeb0a26d3270ede2a6e0d7b55489fc8f700b1c69731a4612ba4106f9672762d0 SHA512 c2baf39f576bf7f57786c59f2de0818257f4d1d62cadf44fdd802c9a534ed94390dd1616e7e72fcc9de1fb85a24a10fbacdbbabbe376a45ae598be46817e3bc0 -DIST babl-0.1.96.tar.xz 312184 BLAKE2B 6ee307054cf4d1e0f434a6070189ed143c60056decb59184f880b26863c8177d0c69294254651923f7dfb897555939602e6f4384e7561a839a3cf80ae9468859 SHA512 771d68b80f1123baa38256e4b1d7946284cd88997b2ab7c7092a74120e91ea5ee7ab4c001686ae4b3e363b6465484f185a64f9c75515a55d3ffb81fecbeaca42 DIST babl-0.1.98.tar.xz 312516 BLAKE2B c12626e4b8127a5b2e17507e20cf6ce324834a58d64fa54b80fbe00ef2468d3d29c870d44a22f08f7e74404cf6f47321084c854a4ba017cf0c8c199d8210849f SHA512 33b2e3f8fbcd6602bb82d6242dd2911bb2232e69350f7a0e70e14b1472052e27b0e2a1fa6a2b6d0449fc9796353336e311c8d4007c532447cd61f95b684a3120 -EBUILD babl-0.1.92-r1.ebuild 1923 BLAKE2B 6d1c10dee304bfd6c40d431ec1fc0db206668a38ac2fdcbea816cd6fa75889f773d781b85e87043f246a81d9b2c51625c8201b291c38c80474d7ed940b412d03 SHA512 45679b51b69ae403bda0753af41f4890702dff5b530daaf763c8fb95f634f56c9dd5c56bcc69b86c670dd4dc838539ade13597616ed6c84423463e3af800b134 -EBUILD babl-0.1.96-r1.ebuild 1906 BLAKE2B d30f79801b2435ff81739026965a5fa72fcd7f7d26e906126625272c6948ffa1b647a511394b0c56f8d7a72d68e6fda28ffc0f1b77612cabcb7cad9f3d483162 SHA512 1dbde75f4ac91a78e413bc5906c6a94defa345e98b32329445b24b938bc55feef64f992b9bb6841a25b945061e08a57ccf25924adfb3d2811c96f40758759f3f EBUILD babl-0.1.98.ebuild 1916 BLAKE2B f2448dfba8c3d8e7ecadd672c4dfff367188231cf6d029206e25a2238d9189f3a2183e12e6213fc8a788824a5b62bc6e856fa2691b7671ac005e5aa119f8ce2a SHA512 35fc9ed03e73b78cf7ef943263ec1b4f7dd33200fbdccd9df1925c3bcf8863d315a2b52f02c17ae85824cadadabf94079512a8ed5ba9eeaba59a9e7ab2524469 EBUILD babl-9999.ebuild 1768 BLAKE2B 06e15bedd34ca86198a759f664afd31fc6abf3609da2ea8f685b9c319c9a6ab58b1ba49d21a21f19a32e9d3fd084ab5228d80469fb2827f6b65fafd555832ba9 SHA512 1ce5acb7bd4d2b9f2995628ab03833d05047463629456ba64f4d3f9af6b85929a2127d5d8d5ed184a4986d833b18e43db9879a59e4657692d16eb24d0cb5b962 MISC metadata.xml 482 BLAKE2B b87a2ff4b72fc2aeed91042dd7b6a65032aa4608c7079fbc94c1d1f85e681bc446aa1fcad5f14cba510febe1430b290417cd498ff09c797ec8b28c84e6451e4e SHA512 3345414f92106c39f8364c1554e0325cfd45cbf94f84315d809bb305faf4093b3b971c79f7c32ea998a8fd0c6c9369c249ce10063a1521690a624860e20de995 diff --git a/media-libs/babl/babl-0.1.92-r1.ebuild b/media-libs/babl/babl-0.1.92-r1.ebuild deleted file mode 100644 index aaaefb6f1af8..000000000000 --- a/media-libs/babl/babl-0.1.92-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VALA_USE_DEPEND=vapigen - -inherit meson gnome2-utils vala - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git" - SRC_URI="" -else - SRC_URI="https://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="A dynamic, any to any, pixel format conversion library" -HOMEPAGE="https://gegl.org/babl/" - -LICENSE="LGPL-3" -SLOT="0" -IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1" -REQUIRED_USE="vala? ( introspection )" - -BDEPEND=" - virtual/pkgconfig - vala? ( $(vala_depend) ) -" -RDEPEND=" - introspection? ( >=dev-libs/gobject-introspection-1.32:= ) - lcms? ( >=media-libs/lcms-2.8:2 ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}_universal_nonlinear_rgb_u8_converter_sse2.patch" # Bug 857708 -) - -src_prepare() { - default - gnome2_environment_reset - - sed -i -e 's/Description/description/' meson.build || die # bug 843266 -} - -src_configure() { - use vala && vala_setup - - # Automagic rsvg support is just for website generation we do not call, - # so we don't need to fix it - # w3m is used for dist target thus no issue for us that it is automagically - # detected - local emesonargs=( - -Dwith-docs=false - $(meson_use introspection enable-gir) - $(meson_use lcms with-lcms) - $(meson_use vala enable-vapi) - $(meson_use cpu_flags_x86_avx2 enable-avx2) - $(meson_use cpu_flags_x86_f16c enable-f16c) - $(meson_use cpu_flags_x86_mmx enable-mmx) - $(meson_use cpu_flags_x86_sse enable-sse) - $(meson_use cpu_flags_x86_sse2 enable-sse2) - $(meson_use cpu_flags_x86_sse4_1 enable-sse4_1) - ) - meson_src_configure -} diff --git a/media-libs/babl/babl-0.1.96-r1.ebuild b/media-libs/babl/babl-0.1.96-r1.ebuild deleted file mode 100644 index 6031f275a4be..000000000000 --- a/media-libs/babl/babl-0.1.96-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VALA_USE_DEPEND=vapigen - -inherit meson gnome2-utils vala - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git" - SRC_URI="" -else - SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="A dynamic, any to any, pixel format conversion library" -HOMEPAGE="https://gegl.org/babl/" - -LICENSE="LGPL-3" -SLOT="0" -IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1" -REQUIRED_USE="vala? ( introspection )" - -BDEPEND=" - virtual/pkgconfig - vala? ( $(vala_depend) ) -" -RDEPEND=" - introspection? ( >=dev-libs/gobject-introspection-1.32:= ) - lcms? ( >=media-libs/lcms-2.8:2 ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - default - gnome2_environment_reset -} - -src_configure() { - use vala && vala_setup - - # Automagic rsvg support is just for website generation we do not call, - # so we don't need to fix it - # w3m is used for dist target thus no issue for us that it is automagically - # detected - local emesonargs=( - -Dwith-docs=false - $(meson_use introspection enable-gir) - $(meson_use lcms with-lcms) - $(meson_use vala enable-vapi) - $(meson_use cpu_flags_x86_avx2 enable-avx2) - $(meson_use cpu_flags_x86_f16c enable-f16c) - $(meson_use cpu_flags_x86_mmx enable-mmx) - $(meson_use cpu_flags_x86_sse enable-sse) - $(meson_use cpu_flags_x86_sse2 enable-sse2) - $(meson_use cpu_flags_x86_sse4_1 enable-sse4_1) - ) - meson_src_configure -} - -src_install() { - meson_src_install - - # Bug 871690 - dosym -r /usr/"$(get_libdir)"/pkgconfig/babl.pc /usr/"$(get_libdir)"/pkgconfig/babl-0.1.pc -} diff --git a/media-libs/babl/files/babl-0.1.92_universal_nonlinear_rgb_u8_converter_sse2.patch b/media-libs/babl/files/babl-0.1.92_universal_nonlinear_rgb_u8_converter_sse2.patch deleted file mode 100644 index 57954b1b9f25..000000000000 --- a/media-libs/babl/files/babl-0.1.92_universal_nonlinear_rgb_u8_converter_sse2.patch +++ /dev/null @@ -1,18 +0,0 @@ -Fix alignment of vector of floats in babl-rgb-converter.c -Bug: https://bugs.gentoo.org/857708 -Upstream-Bug: https://gitlab.gnome.org/GNOME/babl/-/issues/76 -Signed-off-by: Alexander Bezrukov <phmagic@mail.ru> - -diff -ur a/babl/base/babl-rgb-converter.c b/babl/base/babl-rgb-converter.c ---- a/babl/base/babl-rgb-converter.c -+++ b/babl/base/babl-rgb-converter.c -@@ -306,7 +306,8 @@ - uint8_t *rgb_in_u8 = (void*)src_char; - uint8_t *rgb_out_u8 = (void*)dst_char; - -- float rgba_out[4*samples]; -+ // The alignment is necessary for SIMD intrinsics in babl_matrix_mul_vectorff_buf4_sse2() -+ float __attribute__ ((aligned (16))) rgba_out[4*samples]; - - for (i = 0; i < samples; i++) - { diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest index de0a3c64664c..3bd3096e4eeb 100644 --- a/media-libs/gegl/Manifest +++ b/media-libs/gegl/Manifest @@ -1,10 +1,6 @@ AUX gegl-0.4.40-libraw-0.21.patch 936 BLAKE2B af0030e4d069f75751cbe7d9eef2e2ea4b26c685a13ee1d15939f89993ec21ecb436a1914a724c3308c36b3290061dcf645dcfe39575ad704bc9f5d8b86a4b22 SHA512 5481f781594c868e5191fedb15fdcdd1deb32e7c1db3484c0331531e4f38d5cc34e8a0e8b157feb11d9e6598926a11bd220cfc009bad19379021892af97db836 AUX gegl-0.4.40-strict-prototypes.patch 2555 BLAKE2B a377756270ea1cae19a5d890305c1075144389937294c23ec0cff6454742551b6e3bba72bce97d429c39f56517451597a564a19805d2bc19fc08d675c2a9e558 SHA512 8e8e223414bbf8499b622213ac73bb4566cb6d1b4d982eb63785a79a45038392b36c30cb328a6e89ae218d40813479b0b7fbba6dd980f050055990832e51b2fd -DIST gegl-0.4.36.tar.xz 5680876 BLAKE2B e2051d21eadfd6ff5c4547d337e749ebb9526be0b45bf80116cfdd1bb98b0fd3b4cced83b4700ecb04c003f83074928ac0c7b4bc8929134c57950a1ac957d50b SHA512 4d681091b15e7911229f86bf22381d62268451da57bba072bcb8ee3f4db79e2719dd7e70ab208c2c021e5353f42a9f88c18f62132512b18fe78ed6ad279660f8 -DIST gegl-0.4.38.tar.xz 5722188 BLAKE2B 8079326f50b18b4698e83f90a4fa8fd26722a3b6fd8d81a9cc1a735e765591e1b76a3dbbef37e7a793231becf265b28bd0bd235076e43ae00c4071d8986a2edf SHA512 367aa67019557b10a19536c56dfbf6687ade183585eeefec65ce12d3c72f5d78330e02ae0ff403609bb7579dc25340a7132b81d36bbf84327c658a96a2d04d4c DIST gegl-0.4.40.tar.xz 5784744 BLAKE2B c4466a76ec4f7939161e9ead6980b8a701f3fc459c40c3de3e09caa688aae12fb1f4a9979ca82e95011437f229532ba07012590d00aeb97b610b69968faa454f SHA512 99ace5f1b916e56f31483b60a38f885d0e09652c834122390bba4439d9bb1a137d84770e1518187330c44f3491e53393cfb8802ba9ede20658e1c8122e798888 -EBUILD gegl-0.4.36-r3.ebuild 4599 BLAKE2B a341a928f1ce6a66f8f3a5836b2edac4164aae8f2e4b65536b8f9b9166769141cc380a11f009929074acefffea5a1cf75309baa0f0ae8dc9b24e9bf7c2277527 SHA512 69d4f466ba587f10967ebf7dd8cf359c8046d75f0e63047c4deaa254910266b1b24860554023da303c8bcf793773c7e236aea181bd2ff821d68cc274aa7b782d -EBUILD gegl-0.4.38-r1.ebuild 4693 BLAKE2B a2640d0c57b4864888b47637a1dda5e286b2df03b59b55f2a86eb5e1316eee5f3300063d2247cb6ba3a37795a563eb132e08bb0dd448942e5e7c7e86c29a3998 SHA512 8cd803500e1f89669f805ced316506ff734a38467a9dda43c63902c006f9704fee93181d77b62652f03b4b3d45aaa8d748e2a801b14230f9aa259b92f633b6d3 EBUILD gegl-0.4.40-r1.ebuild 5056 BLAKE2B 70db81c565564ce7330f36d1435b7abd2c368ac5e967cdb684784537e1752cc2f95453826fdb30d01d93bec5f5a5a94a1fe78cf8e1c57579aef56326d20d0f2d SHA512 3ce0f2aac7baaa4d654d7eaef917ff6c94fa2a4eca16ace26be6423c23facefce5de1e14e82496b9b32c20d12574aab62a3093d328b04308746117b6832b3fcf EBUILD gegl-9999.ebuild 4728 BLAKE2B eee2f69b1252c29c77a4b64e5b0e35b13153a579b6e3ca669232877678c935c22a90ef34ec630e30661ed6ad3664725204e07efb339910e0e27847fada96839e SHA512 2cfb14b0357749cb37bc193e2829ab8c2a3e34b18ec412c5f5e4233f57ab52d69dd4a64c736121af9baeb718d5f244406d5cb8f05b4583626abecc7282188467 MISC metadata.xml 761 BLAKE2B fa74f6ff5ae13c05793505d0a27b7bc8587748ad356fa4f3ec5b48bd2919c6197788ab02bdc02fbdbdfe2f376d93222b600e30915e50f4ee4643e973ce054d86 SHA512 8cf93e9c5130a017bb864144e88cd2a4f2eff17b5543514a3ca84066b90e394dda6ee64a5e49d8db3b48eb905df5eef815f3b2689bc2be9772a01dcd2cecad30 diff --git a/media-libs/gegl/gegl-0.4.36-r3.ebuild b/media-libs/gegl/gegl-0.4.36-r3.ebuild deleted file mode 100644 index e8abf569d528..000000000000 --- a/media-libs/gegl/gegl-0.4.36-r3.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} ) -# vala and introspection support is broken, bug #468208 -VALA_USE_DEPEND=vapigen - -inherit meson optfeature 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="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="A graph based image processing framework" -HOMEPAGE="https://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.68.2:2 - >=dev-libs/json-glib-1.2.6 - >=media-libs/babl-0.1.90[introspection?,lcms?,vala?] - media-libs/libnsgif - media-libs/libjpeg-turbo:= - >=media-libs/libpng-1.6.0:0= - >=sys-libs/zlib-1.2.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:= ) - umfpack? ( sci-libs/umfpack ) - v4l? ( >=media-libs/libv4l-1.0.1 ) - webp? ( >=media-libs/libwebp-0.5.0:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - 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.adoc ) - -python_check_deps() { - use test || return 0 - has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]" -} - -src_prepare() { - default - # patch executables suffix - sed -i -e "s/'gegl'/'gegl-0.4'/" bin/meson.build || die - sed -i -e "s/'gegl-imgcmp'/'gegl-imgcmp-0.4'/" tools/meson.build || die - sed -i -e "s/gegl-imgcmp/gegl-imgcmp-0.4/" tests/simple/test-exp-combine.sh || die - # skip UNEXPECTED PASSED 'matting-levin' test - sed -i -e "s/composition_tests += 'matting-levin'//" \ - -e "s/composition_tests_fail += 'matting-levin'//" tests/compositions/meson.build || 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 - - # fix 'build'headers from *.cl on gentoo-hardened, bug 739816 - pushd "${S}/opencl/" || die - for file in *.cl; do - if [[ -f ${file} ]]; then - "${EPYTHON}" cltostring.py "${file}" || die - fi - done - popd || die -} - -src_configure() { - use vala && vala_setup - - 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 - -Djasper=disabled - # - 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 pdf poppler) - $(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 -} - -pkg_postinst() { - optfeature "'Show Image Graph' under GIMP[debug] menu 'File - Debug'" media-gfx/graphviz -} diff --git a/media-libs/gegl/gegl-0.4.38-r1.ebuild b/media-libs/gegl/gegl-0.4.38-r1.ebuild deleted file mode 100644 index ebe8036661ce..000000000000 --- a/media-libs/gegl/gegl-0.4.38-r1.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -# vala and introspection support is broken, bug #468208 -VALA_USE_DEPEND=vapigen - -inherit flag-o-matic meson optfeature 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="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz" - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="A graph based image processing framework" -HOMEPAGE="https://gegl.org/" - -LICENSE="|| ( GPL-3+ LGPL-3 )" -SLOT="0.4" - -IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl sdl2 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.68.2:2 - >=dev-libs/json-glib-1.2.6 - >=media-libs/babl-0.1.96[introspection?,lcms?,vala?] - media-libs/libjpeg-turbo - media-libs/libnsgif - >=media-libs/libpng-1.6.0:0= - >=sys-libs/zlib-1.2.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 ) - sdl2? ( >=media-libs/libsdl2-2.0.20 ) - svg? ( >=gnome-base/librsvg-2.40.6:2 ) - tiff? ( >=media-libs/tiff-4:= ) - umfpack? ( sci-libs/umfpack ) - v4l? ( >=media-libs/libv4l-1.0.1 ) - webp? ( >=media-libs/libwebp-0.5.0:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - 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.adoc ) - -python_check_deps() { - use test || return 0 - has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]" -} - -src_prepare() { - default - # patch executables suffix - sed -i -e "s/'gegl'/'gegl-0.4'/" bin/meson.build || die - sed -i -e "s/'gegl-imgcmp'/'gegl-imgcmp-0.4'/" tools/meson.build || die - sed -i -e "s/gegl-imgcmp/gegl-imgcmp-0.4/" tests/simple/test-exp-combine.sh || die - # skip UNEXPECTED PASSED 'matting-levin' test - sed -i -e "s/composition_tests += 'matting-levin'//" \ - -e "s/composition_tests_fail += 'matting-levin'//" tests/compositions/meson.build || 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 - - # fix 'build'headers from *.cl on gentoo-hardened, bug 739816 - pushd "${S}/opencl/" || die - for file in *.cl; do - if [[ -f ${file} ]]; then - "${EPYTHON}" cltostring.py "${file}" || die - fi - done - popd || die -} - -src_configure() { - # Bug #859901 - filter-lto - - use vala && vala_setup - - 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 - -Djasper=disabled - # - libspiro: not in portage main tree - -Dlibspiro=disabled - -Dlua=disabled - -Dmrg=disabled - -Dpango=enabled - # - 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 pdf poppler) - $(meson_feature raw libraw) - $(meson_feature sdl sdl1) - $(meson_feature sdl2 sdl2) - $(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 -} - -pkg_postinst() { - optfeature "'Show Image Graph' under GIMP[debug] menu 'File - Debug'" media-gfx/graphviz -} |