summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-16 03:02:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-16 03:02:52 +0000
commitb0735771a80a647a2ea5a03a87d5873d175bd744 (patch)
treeaed120d0dfeab57cb7f38b7a5d186b1c53ae10cd /media-libs
parent57d1fe5ae0c56e604db5d29bf7b62d685c42e043 (diff)
gentoo auto-resync : 16:11:2024 - 03:02:52
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin69695 -> 69681 bytes
-rw-r--r--media-libs/libheif/Manifest6
-rw-r--r--media-libs/libheif/libheif-1.15.2-r1.ebuild86
-rw-r--r--media-libs/libheif/libheif-1.17.6.ebuild101
-rw-r--r--media-libs/libheif/libheif-1.18.1.ebuild103
-rw-r--r--media-libs/libjxl/Manifest5
-rw-r--r--media-libs/libjxl/libjxl-0.10.3.ebuild115
-rw-r--r--media-libs/libjxl/libjxl-0.8.3.ebuild94
8 files changed, 0 insertions, 510 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index 1e27f675f10d..9ccaa47f2e20 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 61f4da44a2cb..83ecfcb4d6ec 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,11 +1,5 @@
AUX libheif-1.18.1-prepend_DESTDIR_when_generating_heif-convert_symlink.patch 1378 BLAKE2B 5e5ba6be675ae555eea2f7a3956da64846c9ef6cc6c291fe27b306cb00fb25511e75fd029927ffd1bee6b8907ad36632758f98edbf4c864190659a741ab9a731 SHA512 e13f53612c308b5aa12aab6f098a209be9927f8226571e6d6207e4ddbb67bf6e1aee64a0de416e0e2cf1406304746a1475d1462153e0880d5f4cc9938f826c8a
-DIST libheif-1.15.2.tar.gz 1749773 BLAKE2B 788ecf59c936bfae9544bedd5fa50fd74f04adf29f804994bc208d2a5339b13984baf78a508babd80fa0d48381b2cc0bfb1e1140de97437b8c0336378a64fcb6 SHA512 79f22dad084bbe965dae7b8f92fc119dbdde7a04577ca9c7bc28b1a022a06f0ae64d3fbd11e82d6907f0fd678a31d98275e508a51a6bd0a9e8675c93790f1996
-DIST libheif-1.17.6.tar.gz 1433302 BLAKE2B 937a1ddfd86c4d50a609e24d00c07e0d1924a5532e36293f83fd67a38f4c13186cb5c4837598000d6d3516ec1965fdc6709ef825c327fd5ce3ea2194008b6efd SHA512 47d93df4f584979cea26af74cd8543b13398356b5fd46b1b378f7738cee471e80b7e117f6ce307674a549182f5ce22a577c6e79a6e72fe166421efc4be04687a
-DIST libheif-1.18.1.tar.gz 1524386 BLAKE2B 07c01c273460618d56b9259c2930da34632fffdcc2338480277e678ab173126bc9d6882a33dc459ed7cdacd7e636ff8d13c406c76c046afc47166609e9595942 SHA512 0b37b834882af8368fc550e75245f4cf487c71a041833ba5e7887155e289e9c2058b41724524091347f297cfdec45b537796a97f4c43531aecf9f0a099753f41
DIST libheif-1.18.2.tar.gz 1525096 BLAKE2B 667a68f324f89b2274ea837ec8d40ada5450dce79f2b8d9e8ba365fe5f02d4222195109519380a6d38c4ebca929575e58c3a8e517aed27a2696d67db3e287556 SHA512 8fd47dbc8e31fdb6a972c852bc4e78440492ee3dd769e139f28ad489ccc23e6cf42a90cd23b16405fa30df3c7c43c78b2b65d5ca3ffb449bf06789b457ed3072
-EBUILD libheif-1.15.2-r1.ebuild 2058 BLAKE2B 4769aaea2e7165a43dc8761d944ff77df1ca87ed6fe4bef4f291075db39c44b151f46198e1e74683072ad3a26aced9f259a71db8a5512cf74cec047c1750073b SHA512 108ed5a9a7ab77110dc53189ae90f245672f39e76784678cb007b560b8284e862ae4142cd6abf484bdfb0029c41bfdec9aa5c352fa9ba1439d39fb3cdd63af96
-EBUILD libheif-1.17.6.ebuild 2319 BLAKE2B 9219564f6b6870e015066fc06f3605bd64dd1d7a080d40b0d64dab3389d745f84484c62614af6c670a13276a227867e285aea95501a03690131b21ffe2caa79d SHA512 b9cd4e6e9f59ebfba627256cf76beeeec98aac9ed6469d7f5e2ca6c8f47dc676eb040d4c3b92b79bc7859740700a3599538bfba3c35f5f5d0f512084acbc50c0
-EBUILD libheif-1.18.1.ebuild 2450 BLAKE2B 9ff052a4ccb45bccb19f55a50150916f6f52872069de37db1598a238363375def6490582054f2e5144083f07a9734a326382fdaac22d4c298d769caa00e364e6 SHA512 55a7de237ddb7a4f95204da919193d4bab22033295058a9c11e1b134a461a5a61ab0c917aa18d2320fa43aac8973a082e7fa31e0968b697d7260d40077f16a79
EBUILD libheif-1.18.2-r1.ebuild 2379 BLAKE2B 9b33522d55d9e41cb820e12ee80b1888dc885055c41c13d7da96c68074114015215dc74046563c551b3412610aa50d74304346cb1a2613bbf2356accaaadc059 SHA512 188608e6cd1278f0f9b4227b5b197f586252096d48af95780b692bc1831c8d0b6b3e2a033c96323d1264989d80efd9ef6deab984627ff0f7d3c34155c8302dae
EBUILD libheif-9999.ebuild 2465 BLAKE2B 281f241c75b1f6f22c0343ae6ef2675ae758a1ba97b8d6c49688f2c1113e9c8df0d93952110ce85f59d619f5efb3f499380399ec4696bece76b0869c929fa917 SHA512 ae5451a14d82ec7419f72f9f1eee03b106acef04892670fdb2d456f730f311f02e7bb1e72ed43562a388d34797f5a8c01543d90acc41504fc91326366c414cb6
MISC metadata.xml 899 BLAKE2B bf3dc09f9559614dc66710f014062a162fb0f823b328d02279c1940d513cd6fd0be6b1def6888e185c11d92ea5ee2d42115480f50a122ed4770cbdd636ffdd40 SHA512 b88aa85902211157026612620985ec53a3f6f6b7218d44b6d0289924f0710019f69ebaf0a92fddb983023485186f20eb75e5d8a26b09fe8d64cf9cda3c28382b
diff --git a/media-libs/libheif/libheif-1.15.2-r1.ebuild b/media-libs/libheif/libheif-1.15.2-r1.ebuild
deleted file mode 100644
index 491451aa033b..000000000000
--- a/media-libs/libheif/libheif-1.15.2-r1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools xdg multilib-minimal
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/strukturag/libheif.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz"
- KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
-fi
-
-DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
-HOMEPAGE="https://github.com/strukturag/libheif"
-
-LICENSE="GPL-3"
-SLOT="0/1.12"
-IUSE="+aom gdk-pixbuf go rav1e test +threads x265"
-REQUIRED_USE="test? ( go )"
-RESTRICT="!test? ( test )"
-
-# Bug 865351: tests requires <dev-cpp/catch-3
-BDEPEND="
- test? (
- =dev-cpp/catch-2*
- dev-lang/go
- )
-"
-DEPEND="
- media-libs/dav1d:=[${MULTILIB_USEDEP}]
- media-libs/libde265:=[${MULTILIB_USEDEP}]
- media-libs/libpng:0=[${MULTILIB_USEDEP}]
- sys-libs/zlib:=[${MULTILIB_USEDEP}]
- media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}]
- aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] )
- gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
- go? ( dev-lang/go )
- rav1e? ( media-video/rav1e:= )
- x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
-
- sed -i -e 's:-Werror::' configure.ac || die
-
- if use test ; then
- # bug 865351
- rm tests/catch.hpp || die
- ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp tests/catch.hpp || die
- fi
-
- eautoreconf
-
- # prevent "stat heif-test.go: no such file or directory"
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- export GO111MODULE=auto
- local econf_args=(
- --enable-libde265
- --disable-static
- $(multilib_is_native_abi && use go || echo --disable-go)
- $(use_enable aom)
- $(use_enable gdk-pixbuf)
- $(use_enable rav1e)
- $(use_enable threads multithreading)
- $(use_enable test tests)
- $(use_enable x265)
- )
- ECONF_SOURCE="${S}" econf "${econf_args[@]}"
-}
-
-multilib_src_test() {
- default
- emake -C go test
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/media-libs/libheif/libheif-1.17.6.ebuild b/media-libs/libheif/libheif-1.17.6.ebuild
deleted file mode 100644
index 7e7142cf23cc..000000000000
--- a/media-libs/libheif/libheif-1.17.6.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg multilib-minimal
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/strukturag/libheif.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-fi
-
-DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
-HOMEPAGE="https://github.com/strukturag/libheif"
-
-LICENSE="GPL-3"
-SLOT="0/$(ver_cut 1-2)"
-IUSE="+aom gdk-pixbuf go rav1e svt-av1 test +threads x265"
-REQUIRED_USE="test? ( go )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- test? (
- dev-cpp/catch
- dev-lang/go
- )
-"
-DEPEND="
- media-libs/dav1d:=[${MULTILIB_USEDEP}]
- media-libs/libde265:=[${MULTILIB_USEDEP}]
- media-libs/libpng:0=[${MULTILIB_USEDEP}]
- media-libs/tiff:=[${MULTILIB_USEDEP}]
- sys-libs/zlib:=[${MULTILIB_USEDEP}]
- media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}]
- aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] )
- gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
- go? ( dev-lang/go )
- rav1e? ( media-video/rav1e:= )
- svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] )
- x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}"
-
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/libheif/heif_version.h
-)
-
-src_prepare() {
- default
-
- if use test ; then
- # bug 865351
- rm tests/catch.hpp || die
- ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp tests/catch.hpp || die
- fi
-
- sed -e '/Werror/d' -i CMakeLists.txt || die # bug 936466
-
- cmake_src_prepare
-
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- export GO111MODULE=auto
- local mycmakeargs=(
- -DENABLE_PLUGIN_LOADING=true
- -DWITH_LIBDE265=true
- -DWITH_AOM_DECODER=$(usex aom)
- -DWITH_AOM_ENCODER=$(usex aom)
- -DWITH_GDK_PIXBUF=$(usex gdk-pixbuf)
- -DWITH_RAV1E="$(multilib_native_usex rav1e)"
- -DWITH_SvtEnc="$(usex svt-av1)"
- -DWITH_X265=$(usex x265)
- -DWITH_KVAZAAR=true
- -DWITH_JPEG_DECODER=true
- -DWITH_JPEG_ENCODER=true
- -DWITH_OpenJPEG_DECODER=true
- -DWITH_OpenJPEG_ENCODER=true
- )
- cmake_src_configure
-}
-
-multilib_src_compile() {
- default
- cmake_src_compile
-}
-
-multilib_src_test() {
- default
-}
-
-multilib_src_install() {
- cmake_src_install
-}
-
-multilib_src_install_all() {
- einstalldocs
-}
diff --git a/media-libs/libheif/libheif-1.18.1.ebuild b/media-libs/libheif/libheif-1.18.1.ebuild
deleted file mode 100644
index a5eebc81ee22..000000000000
--- a/media-libs/libheif/libheif-1.18.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg multilib-minimal
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/strukturag/libheif.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~loong ppc64 ~riscv x86"
-fi
-
-DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
-HOMEPAGE="https://github.com/strukturag/libheif"
-
-LICENSE="GPL-3"
-SLOT="0/$(ver_cut 1-2)"
-IUSE="+aom gdk-pixbuf go rav1e svt-av1 test +threads x265"
-REQUIRED_USE="test? ( go )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- test? (
- dev-cpp/catch
- dev-lang/go
- )
-"
-DEPEND="
- media-libs/dav1d:=[${MULTILIB_USEDEP}]
- media-libs/libde265:=[${MULTILIB_USEDEP}]
- media-libs/libpng:0=[${MULTILIB_USEDEP}]
- media-libs/tiff:=[${MULTILIB_USEDEP}]
- sys-libs/zlib:=[${MULTILIB_USEDEP}]
- media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}]
- aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] )
- gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
- go? ( dev-lang/go )
- rav1e? ( media-video/rav1e:= )
- svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] )
- x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )
-"
-RDEPEND="${DEPEND}"
-
-# https://github.com/strukturag/libheif/issues/1249
-PATCHES=( "${FILESDIR}"/${P}-prepend_DESTDIR_when_generating_heif-convert_symlink.patch )
-
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/libheif/heif_version.h
-)
-
-src_prepare() {
- if use test ; then
- # bug 865351
- rm tests/catch.hpp || die
- ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp tests/catch.hpp || die
- fi
-
- sed -e '/Werror/d' -i CMakeLists.txt || die # bug 936466
-
- cmake_src_prepare
-
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- export GO111MODULE=auto
- local mycmakeargs=(
- -DENABLE_PLUGIN_LOADING=true
- -DWITH_LIBDE265=true
- -DWITH_AOM_DECODER=$(usex aom)
- -DWITH_AOM_ENCODER=$(usex aom)
- -DWITH_GDK_PIXBUF=$(usex gdk-pixbuf)
- -DWITH_RAV1E="$(multilib_native_usex rav1e)"
- -DWITH_SvtEnc="$(usex svt-av1)"
- -DWITH_X265=$(usex x265)
- -DWITH_KVAZAAR=true
- -DWITH_JPEG_DECODER=true
- -DWITH_JPEG_ENCODER=true
- -DWITH_OpenJPEG_DECODER=true
- -DWITH_OpenJPEG_ENCODER=true
- )
- cmake_src_configure
-}
-
-multilib_src_compile() {
- default
- cmake_src_compile
-}
-
-multilib_src_test() {
- default
-}
-
-multilib_src_install() {
- cmake_src_install
-}
-
-multilib_src_install_all() {
- einstalldocs
-}
diff --git a/media-libs/libjxl/Manifest b/media-libs/libjxl/Manifest
index d735814e0996..14f116c69127 100644
--- a/media-libs/libjxl/Manifest
+++ b/media-libs/libjxl/Manifest
@@ -1,10 +1,5 @@
-DIST libjxl-0.10.3.tar.gz 1912351 BLAKE2B 4432ecf34ac03d9ce8fc814835c7ee31fcc1e516b95e347dcb201a6996e1ffaadbd2e78a6a235ee1c4ff5121af495b8bc621e6738e2d03a8eb1639fb397e5246 SHA512 5ece482f4c5f0312e87e020f921525622a6d3f1a3834f3cd8666638fc8d0fba8cd072ef58f7b153dc17ca19071ebae2fbad7b08e6d440c2669f4f1b35888a7d4
DIST libjxl-0.11.0.tar.gz 1873614 BLAKE2B 60f038c35f921e1d6cfaab62ec92c15fa8b0bb9369724bdbaf25fb72559670de6f2e86bf1fb7d37158e1d046d46d20610b574e2288f86d4bae52fdc2c51e3b76 SHA512 a3648a5f046cae36b3272c46525d002d490f781f44647d4d8318f0b773dd9b7902582ced5636af3489f1d6a44e3baf8ad2e5ab47d26869d16b01607d90e14053
-DIST libjxl-0.8.3.tar.gz 1612441 BLAKE2B d1c3b108c67d0a3a63ce50cdc7305b6853b182ec6c210d499e15120fbb858dada23997a4a0eb545f936e02230ed773506b066f24e19cce1f99aedaafd2bd7803 SHA512 f7fb4b2b0fd2459bec86918371369e80de59549c8dc24ff5c83546f564e54c81ea6a72720af151e3f9b64ef326f3ec8a5a6e0023b7fe2de14b056e501af579ef
-DIST libjxl-testdata-d6168ffb9e1cc24007e64b65dd84d822ad1fc759.tar.gz 67553075 BLAKE2B 779fee87386e617edd93bca7a523fa1ab223ae88114c3cc5484987a7c92cca2d0bb3d668fa3c8064b2a0255c17a06447c009f4fbf9ef379692ddfa37dee1be97 SHA512 a48d74a1ccff404eb7675225b59965e056dc3fc09930572785d83bae03fa1c38e105336dbf5ecfc3f0995e8b8bfb1097b451ae661f2933590b2b152192c8aa2f
DIST libjxl-testdata-ff8d743aaba05b3014f17e5475e576242fa979fc.tar.gz 69105882 BLAKE2B a80fce437b810e7b99b4c7bd106ec7eba01a1eeddc90e1b82cb8d75f3ca194c357ef8e7b7e1e9da65aa39dc2cd11d32cb6de8558188c5258c7446d58787603ff SHA512 0d237e706fd8d001a9cb245b685e8e39085416daedec019c348ccc64cf15a34cecdb0c245f94f57507f5934e487ee5157f51f59bb6a000f5899862c582336384
-EBUILD libjxl-0.10.3.ebuild 2934 BLAKE2B 9588ef46515e1f5103be1bdc7c68fb985abd57a8b306ca1662e4d24dafcfd2b055318a74758047388d34b24ee9b0fbd09101900d425723901ef5ab6a935a2d0c SHA512 c20972786f697752c3d4cc414409e29c5d67169f3f10bc6b719a1614d8ff7323d3c52b9bb3297d3300ede30b98ce525fb5cab9c36fcce9fb0e717e780a1ecb24
EBUILD libjxl-0.11.0.ebuild 2934 BLAKE2B 9588ef46515e1f5103be1bdc7c68fb985abd57a8b306ca1662e4d24dafcfd2b055318a74758047388d34b24ee9b0fbd09101900d425723901ef5ab6a935a2d0c SHA512 c20972786f697752c3d4cc414409e29c5d67169f3f10bc6b719a1614d8ff7323d3c52b9bb3297d3300ede30b98ce525fb5cab9c36fcce9fb0e717e780a1ecb24
-EBUILD libjxl-0.8.3.ebuild 2560 BLAKE2B d08dfc2ad15d2b1a8bd72dc392d297d4a45411b582616c30f3ee8ab5611281b9873c9839e0e7d953fef2598300cd97e8bfad98197355176964a2a73ab88c7f88 SHA512 1f248077a8e03b0aa94afc75fd9ce28007d04e6237a0d3fa92e14faa6acd764f98e45282657bedd73e16fec3f343f979df352a428c6bc9c4683a39f570ab151a
EBUILD libjxl-9999.ebuild 2608 BLAKE2B e4247be931c67d10fa9e200bc113731a940678547be3743a282087dc09b1afe1bee0063ec0d090f60c3860d4542d210f50fdc762263f2609f6fedcb10df058f3 SHA512 63b91932054fd351b091daa652b0f000ad7675e48cb489e4b52da4d99991066dc501d8814b02c2b005e5211f032fe7f6dee1b53944fc239b7bbadd46ee143339
MISC metadata.xml 1029 BLAKE2B 4c5ef3d7aca316b497d964b1afcee9f71b165545691182c3818ef4f9a8bc7f10fdbed36a8bd58b0051b1f9851018a11efa3e9f7b57c5ec935435e16bd26b6036 SHA512 a3129f77efc640e78a2f1fa481fb6363249be74e74aabccb51970ec101808db95a326deeecfa557b669cfb2bf26622fc7dbcbe7624a0315d770e697bc3734296
diff --git a/media-libs/libjxl/libjxl-0.10.3.ebuild b/media-libs/libjxl/libjxl-0.10.3.ebuild
deleted file mode 100644
index 28d788eb5bc6..000000000000
--- a/media-libs/libjxl/libjxl-0.10.3.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-# This changes frequently. Please check the testdata submodule when bumping.
-TESTDATA_COMMIT="ff8d743aaba05b3014f17e5475e576242fa979fc"
-DESCRIPTION="JPEG XL image format reference implementation"
-HOMEPAGE="https://github.com/libjxl/libjxl/"
-SRC_URI="
- https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz
- test? (
- https://github.com/libjxl/testdata/archive/${TESTDATA_COMMIT}.tar.gz
- -> ${PN}-testdata-${TESTDATA_COMMIT}.tar.gz
- )
-"
-
-LICENSE="BSD"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc64 ~riscv ~sparc x86"
-IUSE="+gdk-pixbuf gif jpeg openexr +png test"
-REQUIRED_USE="test? ( png )"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- app-arch/brotli:=[${MULTILIB_USEDEP}]
- >=dev-cpp/highway-1.0.7[${MULTILIB_USEDEP}]
- >=media-libs/lcms-2.13:2[${MULTILIB_USEDEP}]
- gdk-pixbuf? (
- dev-libs/glib:2
- x11-libs/gdk-pixbuf:2
- )
- gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
- jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
- openexr? ( media-libs/openexr:= )
- png? ( media-libs/libpng:=[${MULTILIB_USEDEP}] )
-"
-RDEPEND="
- ${DEPEND}
- >=x11-misc/shared-mime-info-2.2
-"
-DEPEND+="
- test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )
-"
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DJPEGXL_ENABLE_BENCHMARK=OFF
- -DJPEGXL_ENABLE_COVERAGE=OFF
- -DJPEGXL_ENABLE_FUZZERS=OFF
- -DJPEGXL_ENABLE_SJPEG=OFF
- -DJPEGXL_WARNINGS_AS_ERRORS=OFF
-
- -DCMAKE_DISABLE_FIND_PACKAGE_GIF=$(usex !gif)
- -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg)
- -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png)
-
- -DJPEGXL_ENABLE_SKCMS=OFF
- -DJPEGXL_ENABLE_VIEWERS=OFF
- -DJPEGXL_FORCE_SYSTEM_BROTLI=ON
- -DJPEGXL_FORCE_SYSTEM_GTEST=ON
- -DJPEGXL_FORCE_SYSTEM_HWY=ON
- -DJPEGXL_FORCE_SYSTEM_LCMS2=ON
- -DJPEGXL_ENABLE_DOXYGEN=OFF
- -DJPEGXL_ENABLE_MANPAGES=OFF
- -DJPEGXL_ENABLE_JNI=OFF
- -DJPEGXL_ENABLE_JPEGLI=OFF
- -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF
- -DJPEGXL_ENABLE_TCMALLOC=OFF
- -DJPEGXL_ENABLE_EXAMPLES=OFF
- -DBUILD_TESTING=$(usex test ON OFF)
- )
-
- if use test; then
- mycmakeargs+=(
- -DJPEGXL_TEST_DATA_PATH="${WORKDIR}/testdata-${TESTDATA_COMMIT}"
- )
- fi
-
- if multilib_is_native_abi; then
- mycmakeargs+=(
- -DJPEGXL_ENABLE_TOOLS=ON
- -DJPEGXL_ENABLE_OPENEXR=$(usex openexr)
- -DJPEGXL_ENABLE_PLUGINS=ON
- -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=$(usex gdk-pixbuf)
- -DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF
- -DJPEGXL_ENABLE_PLUGIN_MIME=OFF
- )
- else
- mycmakeargs+=(
- -DJPEGXL_ENABLE_TOOLS=OFF
- -DJPEGXL_ENABLE_OPENEXR=OFF
- -DJPEGXL_ENABLE_PLUGINS=OFF
- )
- fi
-
- cmake_src_configure
-}
-
-multilib_src_install() {
- cmake_src_install
-
- find "${ED}" -name '*.a' -delete || die
-}
-
-pkg_postinst() {
- use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
- use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}
diff --git a/media-libs/libjxl/libjxl-0.8.3.ebuild b/media-libs/libjxl/libjxl-0.8.3.ebuild
deleted file mode 100644
index 98201c404d7e..000000000000
--- a/media-libs/libjxl/libjxl-0.8.3.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-# This changes frequently. Please check the testdata submodule when bumping.
-TESTDATA_COMMIT="d6168ffb9e1cc24007e64b65dd84d822ad1fc759"
-DESCRIPTION="JPEG XL image format reference implementation"
-HOMEPAGE="https://github.com/libjxl/libjxl"
-SRC_URI="https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- test? ( https://github.com/libjxl/testdata/archive/${TESTDATA_COMMIT}.tar.gz
- -> ${PN}-testdata-${TESTDATA_COMMIT}.tar.gz )"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc64 ~riscv ~sparc x86"
-IUSE="gif jpeg openexr +png test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- app-arch/brotli:=[${MULTILIB_USEDEP}]
- >=dev-cpp/highway-1.0.0[${MULTILIB_USEDEP}]
- >=media-libs/lcms-2.13:2[${MULTILIB_USEDEP}]
- gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
- jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
- openexr? ( media-libs/openexr:= )
- png? ( media-libs/libpng:=[${MULTILIB_USEDEP}] )
-"
-RDEPEND="
- ${DEPEND}
- >=x11-misc/shared-mime-info-2.2
-"
-DEPEND+="
- test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.8.2-backport-pr2596.patch"
- "${FILESDIR}/${PN}-0.8.2-backport-pr2617.patch"
-)
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DJPEGXL_ENABLE_BENCHMARK=OFF
- -DJPEGXL_ENABLE_COVERAGE=OFF
- -DJPEGXL_ENABLE_FUZZERS=OFF
- -DJPEGXL_ENABLE_SJPEG=OFF
- -DJPEGXL_WARNINGS_AS_ERRORS=OFF
-
- -DCMAKE_DISABLE_FIND_PACKAGE_GIF=$(usex !gif)
- -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg)
- -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png)
-
- -DJPEGXL_ENABLE_SKCMS=OFF
- -DJPEGXL_ENABLE_VIEWERS=OFF
- -DJPEGXL_ENABLE_PLUGINS=OFF
- -DJPEGXL_FORCE_SYSTEM_BROTLI=ON
- -DJPEGXL_FORCE_SYSTEM_GTEST=ON
- -DJPEGXL_FORCE_SYSTEM_HWY=ON
- -DJPEGXL_FORCE_SYSTEM_LCMS2=ON
- -DJPEGXL_ENABLE_DOXYGEN=OFF
- -DJPEGXL_ENABLE_MANPAGES=OFF
- -DJPEGXL_ENABLE_JNI=OFF
- -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF
- -DJPEGXL_ENABLE_TCMALLOC=OFF
- -DJPEGXL_ENABLE_EXAMPLES=OFF
- )
-
- if multilib_is_native_abi; then
- mycmakeargs+=(
- -DJPEGXL_ENABLE_TOOLS=ON
- -DJPEGXL_ENABLE_OPENEXR=$(usex openexr)
- -DBUILD_TESTING=$(usex test ON OFF)
- )
- use test &&
- mycmakeargs+=( -DJPEGXL_TEST_DATA_PATH="${WORKDIR}/testdata-${TESTDATA_COMMIT}" )
- else
- mycmakeargs+=(
- -DJPEGXL_ENABLE_TOOLS=OFF
- -DJPEGXL_ENABLE_OPENEXR=OFF
- -DBUILD_TESTING=OFF
- )
- fi
-
- cmake_src_configure
-}
-
-multilib_src_install() {
- cmake_src_install
-
- find "${ED}" -name '*.a' -delete || die
-}