summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin69592 -> 69443 bytes
-rw-r--r--media-libs/alsa-lib/Manifest10
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.2.10-r2.ebuild102
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.2.10-r3.ebuild103
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.2.12.ebuild2
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.2.10-lld-17.patch35
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.2.10-musl-string.patch40
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.2.10-pcm-fix-segfault-32bit-libs.patch91
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.2.10-reshuffle-included-files-config-h.patch174
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.2.10-ump-header-detection.patch31
-rw-r--r--media-libs/alsa-ucm-conf/Manifest3
-rw-r--r--media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild24
-rw-r--r--media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch21
-rw-r--r--media-libs/dav1d/Manifest8
-rw-r--r--media-libs/dav1d/dav1d-1.2.1.ebuild61
-rw-r--r--media-libs/dav1d/dav1d-1.3.0.ebuild61
-rw-r--r--media-libs/dav1d/dav1d-1.4.0.ebuild61
-rw-r--r--media-libs/dav1d/dav1d-1.4.1.ebuild61
-rw-r--r--media-libs/exempi/Manifest2
-rw-r--r--media-libs/exempi/exempi-2.6.3.ebuild67
-rw-r--r--media-libs/libaom/Manifest11
-rw-r--r--media-libs/libaom/files/libaom-3.7.0-big-endian-tests.patch43
-rw-r--r--media-libs/libaom/files/libaom-3.7.0-big-endian.patch130
-rw-r--r--media-libs/libaom/files/libaom-3.9.0-guard-ssse3.patch67
-rw-r--r--media-libs/libaom/libaom-3.5.0.ebuild113
-rw-r--r--media-libs/libaom/libaom-3.7.0-r2.ebuild135
-rw-r--r--media-libs/libaom/libaom-3.9.0.ebuild147
-rw-r--r--media-libs/libass/Manifest3
-rw-r--r--media-libs/libass/libass-0.17.1-r1.ebuild51
-rw-r--r--media-libs/libass/metadata.xml3
-rw-r--r--media-libs/libavif/Manifest6
-rw-r--r--media-libs/libavif/libavif-0.10.1.ebuild90
-rw-r--r--media-libs/libavif/libavif-0.11.1.ebuild93
-rw-r--r--media-libs/libavif/libavif-1.0.4.ebuild104
-rw-r--r--media-libs/libgphoto2/Manifest1
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.5.31-r1.ebuild220
-rw-r--r--media-libs/libjpeg-turbo/Manifest3
-rw-r--r--media-libs/libjpeg-turbo/files/libjpeg-turbo-3.0.0-tests.patch97
-rw-r--r--media-libs/libjpeg-turbo/libjpeg-turbo-3.0.0.ebuild132
-rw-r--r--media-libs/libjxl/Manifest5
-rw-r--r--media-libs/libjxl/files/libjxl-0.8.2-backport-pr2596.patch50
-rw-r--r--media-libs/libjxl/files/libjxl-0.8.2-backport-pr2617.patch60
-rw-r--r--media-libs/libjxl/files/libjxl-0.9.1-backport-pr3143.patch23
-rw-r--r--media-libs/libjxl/libjxl-0.9.3.ebuild119
-rw-r--r--media-libs/libopenraw/Manifest35
-rw-r--r--media-libs/libopenraw/libopenraw-0.1.3.ebuild52
-rw-r--r--media-libs/libopenraw/libopenraw-0.3.3.ebuild97
-rw-r--r--media-libs/libopenraw/libopenraw-0.3.7.ebuild2
-rw-r--r--media-libs/libv4l/Manifest6
-rw-r--r--media-libs/libv4l/files/libv4l-1.26.0-meson.patch111
-rw-r--r--media-libs/libv4l/files/libv4l-1.26.1-libcxx.patch58
-rw-r--r--media-libs/libv4l/libv4l-1.22.1.ebuild74
-rw-r--r--media-libs/libv4l/libv4l-1.26.1.ebuild136
-rw-r--r--media-libs/opencolorio/Manifest4
-rw-r--r--media-libs/opencolorio/files/opencolorio-2.3.0-fix-cxxflags.patch23
-rw-r--r--media-libs/opencolorio/files/opencolorio-2.3.0-support-yaml-cpp-0.8.0.patch21
-rw-r--r--media-libs/opencolorio/opencolorio-2.3.0.ebuild170
-rw-r--r--media-libs/openexr/Manifest16
-rw-r--r--media-libs/openexr/files/openexr-3.1.1-0003-disable-failing-test.patch37
-rw-r--r--media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch44
-rw-r--r--media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch21
-rw-r--r--media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch29
-rw-r--r--media-libs/openexr/files/openexr-3.1.5-musl-i386.patch19
-rw-r--r--media-libs/openexr/files/openexr-3.1.7-musl-i386.patch19
-rw-r--r--media-libs/openexr/openexr-3.1.11.ebuild81
-rw-r--r--media-libs/openexr/openexr-3.1.12.ebuild81
-rw-r--r--media-libs/openexr/openexr-3.1.5-r1.ebuild78
-rw-r--r--media-libs/openexr/openexr-3.1.7.ebuild73
-rw-r--r--media-libs/openexr/openexr-3.2.3-r2.ebuild146
-rw-r--r--media-libs/openfec/Manifest3
-rw-r--r--media-libs/openfec/files/openfec-1.4.2.11-opt.patch16
-rw-r--r--media-libs/openfec/openfec-1.4.2.11.ebuild32
-rw-r--r--media-libs/openimageio/Manifest6
-rw-r--r--media-libs/openimageio/files/openimageio-2.5.8.0-fits.patch19
-rw-r--r--media-libs/openimageio/openimageio-2.5.12.0.ebuild303
-rw-r--r--media-libs/openimageio/openimageio-2.5.9.0.ebuild263
-rw-r--r--media-libs/osl/Manifest2
-rw-r--r--media-libs/osl/osl-1.13.7.0.ebuild462
-rw-r--r--media-libs/phonon-gstreamer/Manifest4
-rw-r--r--media-libs/phonon-gstreamer/files/phonon-gstreamer-4.10.0-wayland.patch46
-rw-r--r--media-libs/phonon-gstreamer/metadata.xml14
-rw-r--r--media-libs/phonon-gstreamer/phonon-gstreamer-4.10.0-r1.ebuild43
-rw-r--r--media-libs/zxing-cpp/Manifest4
-rw-r--r--media-libs/zxing-cpp/files/zxing-cpp-2.2.1-cmake.patch27
-rw-r--r--media-libs/zxing-cpp/files/zxing-cpp-2.2.1-cxx20.patch29
-rw-r--r--media-libs/zxing-cpp/zxing-cpp-2.2.1.ebuild5
86 files changed, 175 insertions, 5199 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index ed990edf7858..bfe2c507b46b 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest
index 32a8aad8c871..463562bee33d 100644
--- a/media-libs/alsa-lib/Manifest
+++ b/media-libs/alsa-lib/Manifest
@@ -1,15 +1,7 @@
AUX alsa-lib-1.1.6-missing_files.patch 5349 BLAKE2B 9ce6d529b78aa90dd5c507173f6a4b55f7b45a1e5e005760c07b3b000aef62c17ccd4f5815135c511006565e182619d2535c4eebe07d7825e4d871b6d9365d1d SHA512 879d11cf369a1aab2cc86c72ba90ad3dfeced2395c4cafda064a89a8f7790f032d4bc1c9065a86be28a3f7656bf91b4148df4e59d962ba4470221dc13a4fec90
-AUX alsa-lib-1.2.10-lld-17.patch 1695 BLAKE2B 657fdeb94cadeac71e4a966f8efe79d68a55c911472bcd3bb9bf6949b4cfc0a91a5781e62e973b65b34d77bb65be1791c6b83fc81550c81c18f3ba5498e18791 SHA512 0d746485c7be793830cbfa7c33447b2c20b81c3b9ce4cd0aa35013829a45886e1a546c34a5e26ecdd9e48168b317a2459c09795538f3315e7381747f86d07f1f
-AUX alsa-lib-1.2.10-musl-string.patch 1435 BLAKE2B ad0e72c63652a2ba1c92f05a0b4154a35aa6fdd010cb3f095855345d99a4f2467fbdc1db79cb9970bada5b2f61fe07277ff179dcb912fedca634ed142d06e3b0 SHA512 6651379f50d72c06fbd8cdc298e3a31f6da2df4011faa00dcd8e0206e4858876f6a2ac50154dff70c2dc33676ee35306c0d85182aacbd136e3e5df311fa1adae
-AUX alsa-lib-1.2.10-pcm-fix-segfault-32bit-libs.patch 2319 BLAKE2B f56f6117f4513451de67ca91a00561891a979543bfe5d596a58d5a485e7a64bbb2a0e3100b83fd2a40a91dcc5f1f2465dbe9618bb195a870f25592957fefe357 SHA512 b0536d567bde218a989f1ab64129cd1967e0b0003490277233d299bcb751e3a4aa305dce7ac72ded354eae351e606b43718e62ca096611eb088e26910fc309d5
-AUX alsa-lib-1.2.10-reshuffle-included-files-config-h.patch 3874 BLAKE2B 87bd7a55d90e2186115bbc176562f3b69dd7db8984ef077a979c5a30ed772b4da0b6d7df4cf988d0be4655112ee42e9a79e8956e4ab97196098350247b8a9ae3 SHA512 940f012a5d3657cca9de20f4c27422143903fb5ed6bffa45dcbd32973d77d9c3e29488716c924ff3f4bb110498b4ccdd8302ecb516c453d8b762b901376532ef
-AUX alsa-lib-1.2.10-ump-header-detection.patch 1624 BLAKE2B da7a512d1e389d8dbf004ee3924a079f337e83fe7006dd8ed92bb838968c4550ac3474083e8ccef817e2f701a62c02c2890b2a384686fda9bd91622f41fad9d8 SHA512 98a22f53368265bed1918235adc12e9a2b7910e79d2151d48846837a7941cf8ecf7e1fe86b9def72c2b3facd6567e7c8d24051374e686353cb526762234a4528
AUX alsa-lib-1.2.11-topology-correct-version-script-path.patch 1167 BLAKE2B 0540456e96eb47279d952b888d7c7ada54b7850e0a2a091b98bafc7969e97cdd829ecf7572a03eaa8b5da3d8e548b3c787eda66502673954bd583809b98a5f3d SHA512 a8ed806a9a98a0c351a76f043bb8344746f5258c13d8d08be547556e0f9c1c65472398d9d6cdeb87c22fb1340b8cc23c10bb1aee42063544c31f4afbcf8fa84e
-DIST alsa-lib-1.2.10.tar.bz2 1107007 BLAKE2B b2e4f8431e61f5bb56b2b5d124e67d5a68bbca3c647bebfa93f5e5ff092ec9ef3f6cb6315801fcd93e21151784814ff238d357313b8b44f32d4e7c9ee565388f SHA512 4ccbd1dc5a612044571c26290923009e4c3f7959b30a5d0bed47daa68bbefaff9059c4f0fa3bc16f22c1eed2d36f079139369f40243da5921ae4de02a4541939
DIST alsa-lib-1.2.11.tar.bz2 1107150 BLAKE2B 7fb245ffbfb841bdd5cb9da08fb2ec0a4ce8d340d4d1461999aca558c67c16e7c596cd0bffab761b7b4549025b0fb25462fb352e6d3900fb42f00b47de58d34c SHA512 7bf2c541dff5262c0302a1c716ca10cdb5105f4e0ad48f3341c3c7e975b0c3ea835a298a05974c3e216a85912c368d8025ba3cdda3ff04a7683133ce5b2a286d
DIST alsa-lib-1.2.12.tar.bz2 1108712 BLAKE2B bcb48ad2c8687454b312e789c650136fee0db8cccf58e997b9d619aac5c74288b69220589efdcd3917eb1d781ef71be5fcd16d997c59c069fe20788d1a479068 SHA512 053e36e51c0ff28f07028b89c8845b50682a5c14035ab85c2fc8cae2f2f0d05e4cd45ed879602c15c1596fb7fe84bfd50ec0d119dfb55c66589a2d458a9b317d
-EBUILD alsa-lib-1.2.10-r2.ebuild 2857 BLAKE2B 0738b7a27c255344b9bc3e7be225aea953fdaa8948c6070c4854c545e7a6f82887e7e9b1e25ec54c64d9b1d691077e46339a7be31b74e527c70fd14a81fccea6 SHA512 f30a2f2d326493744be71935abb160ab239f3f8b35eba84987fdd5e48ae398adfc5b1952a1c79b1211a73198ac4b74f876131b0d0c5cc20df45c8ebad71bc5d9
-EBUILD alsa-lib-1.2.10-r3.ebuild 2914 BLAKE2B 696439fc26b94f27fc9c9513299beb21ae15082ef65a44c4a546327bce02a2c6b8475eededae83860fabd79680a54dbc383ff89b8d8361278d75ce2fe1fad93a SHA512 4a7044dad75f82d65ac9301665882ec0fcc87fb08d2c0b747b9b9b2f38eb104584291ec8d532a72646245fc9d694ae60fd51bf2b661d49ceb367faebd67b6ae4
EBUILD alsa-lib-1.2.11.ebuild 2659 BLAKE2B 53310377ed59b845962bc6e77e69ef010a58c006f47692a755c44bf7fd3e539cef531fa692b43254a26a54071b77e55c7722b54dab9d73a71fff9ddd9bc39b55 SHA512 120e70af3e0cd5bdd66c40e18cc88caf9453cca6bdf9dabfc989dc1b9175ec6726983616548a87873a3bc2569e06592aba40810261195e4653fa7d9985a6ab5e
-EBUILD alsa-lib-1.2.12.ebuild 2589 BLAKE2B a75e9067f2864dc1b938ff864db33b7e20636bd4c5ea4ab94cbb5c4d0f30fd84b4a05fe7fd28842f1e55aa6621467037103ef599e47fcf999ceb19dede1f2407 SHA512 00caaf6aa43024452d5e5b02f30aad071d96139ff006402054e71b2c0c0737c74c63d191dff46a66fb93cc58c117d298c53000191c72acd6d54ccb01d9426f9b
+EBUILD alsa-lib-1.2.12.ebuild 2589 BLAKE2B b3ad782b31515af4e21fc59b805bc95a1033844af33d94475fc889a23a199442cf03361fff7273fd4fc6875d37a8ebba554d5c9d1f70dbeddda6bb086831c55d SHA512 a17bf77c10a814a1d8150cc14a3c0d1a9341e80132fde5a3bd736be302d5ad650c84ab7ce57380171f9eab79d6278dc3423be623699894dd7a0e12fc2e62706c
MISC metadata.xml 508 BLAKE2B 5d7cb196ffea7d75c228f28cfbc88b7c3ca7e18b4f8f790dd51718bce508679fb61073f0df0a192028c57bf3c8f99e3838c7c061dc408ae915b84213fd14b383 SHA512 4b682f9fa77d3287e0e56e39c6aa97b06129f85cc1dd898efac0682dd33f6b22ca20e08dcb95423ac953eafde7d2850db9c5a363156eaefa2c1752dd72011a4c
diff --git a/media-libs/alsa-lib/alsa-lib-1.2.10-r2.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.10-r2.ebuild
deleted file mode 100644
index 47f51c323a5e..000000000000
--- a/media-libs/alsa-lib/alsa-lib-1.2.10-r2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit autotools multilib-minimal flag-o-matic python-single-r1
-
-DESCRIPTION="Advanced Linux Sound Architecture Library"
-HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
-if [[ ${PV} == *_p* ]] ; then
- # Please set correct commit ID for a snapshot release!
- COMMIT="abe805ed6c7f38e48002e575535afd1f673b9bcd"
- SRC_URI="https://git.alsa-project.org/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz -> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-${COMMIT:0:7}
-else
- # TODO: Upstream does publish .sig files, so someone could implement verify-sig ;)
- SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"
-fi
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="alisp debug doc python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- media-libs/alsa-topology-conf
- media-libs/alsa-ucm-conf
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="doc? ( >=app-text/doxygen-1.2.6 )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422
- "${FILESDIR}/${P}-musl-string.patch" # bug #913573, backport
- "${FILESDIR}/${P}-ump-header-detection.patch" # bug #913573, backport
- "${FILESDIR}/${P}-pcm-fix-segfault-32bit-libs.patch" # backport
- "${FILESDIR}/${P}-reshuffle-included-files-config-h.patch" # backport
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
- # bug #545950
- sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die
-
- eautoreconf
-}
-
-multilib_src_configure() {
- # Broken upstream. Could in theory work with -flto-partitions=none
- # but it's a hack to workaround the real problem and not strictly safe.
- # bug #616108, bug #669086, and https://github.com/alsa-project/alsa-lib/issues/6.
- # (This bug is closed as of 1.2.9 but there's been no clear actual fix to it.
- # Let us know if you can identify one.)
- filter-lto
-
- local myeconfargs=(
- --disable-maintainer-mode
- --disable-resmgr
- --enable-aload
- --enable-rawmidi
- --enable-seq
- --enable-shared
- --enable-thread-safety
-
- $(multilib_native_use_enable python)
- $(use_enable alisp)
- $(use_with debug)
- )
-
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_compile() {
- emake
-
- if multilib_is_native_abi && use doc; then
- emake doc
- grep -FZrl "${S}" doc/doxygen/html | \
- xargs -0 sed -i -e "s:${S}::" || die
- fi
-}
-
-multilib_src_install() {
- multilib_is_native_abi && use doc && local HTML_DOCS=( doc/doxygen/html/. )
-
- default
-}
-
-multilib_src_install_all() {
- find "${ED}" -type f -name '*.la' -delete || die
-
- dodoc ChangeLog doc/asoundrc.txt NOTES TODO
-}
diff --git a/media-libs/alsa-lib/alsa-lib-1.2.10-r3.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.10-r3.ebuild
deleted file mode 100644
index b2b07f72acaf..000000000000
--- a/media-libs/alsa-lib/alsa-lib-1.2.10-r3.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
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit autotools multilib-minimal flag-o-matic python-single-r1
-
-DESCRIPTION="Advanced Linux Sound Architecture Library"
-HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
-if [[ ${PV} == *_p* ]] ; then
- # Please set correct commit ID for a snapshot release!
- COMMIT="abe805ed6c7f38e48002e575535afd1f673b9bcd"
- SRC_URI="https://git.alsa-project.org/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz -> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-${COMMIT:0:7}
-else
- # TODO: Upstream does publish .sig files, so someone could implement verify-sig ;)
- SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"
-fi
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="alisp debug doc python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- media-libs/alsa-topology-conf
- media-libs/alsa-ucm-conf
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="doc? ( >=app-text/doxygen-1.2.6 )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422
- "${FILESDIR}/${P}-musl-string.patch" # bug #913573, backport
- "${FILESDIR}/${P}-ump-header-detection.patch" # bug #913573, backport
- "${FILESDIR}/${P}-pcm-fix-segfault-32bit-libs.patch" # backport
- "${FILESDIR}/${P}-reshuffle-included-files-config-h.patch" # backport
- "${FILESDIR}/${P}-lld-17.patch" # bug #914511, backport
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
- # bug #545950
- sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die
-
- eautoreconf
-}
-
-multilib_src_configure() {
- # Broken upstream. Could in theory work with -flto-partitions=none
- # but it's a hack to workaround the real problem and not strictly safe.
- # bug #616108, bug #669086, and https://github.com/alsa-project/alsa-lib/issues/6.
- # (This bug is closed as of 1.2.9 but there's been no clear actual fix to it.
- # Let us know if you can identify one.)
- filter-lto
-
- local myeconfargs=(
- --disable-maintainer-mode
- --disable-resmgr
- --enable-aload
- --enable-rawmidi
- --enable-seq
- --enable-shared
- --enable-thread-safety
-
- $(multilib_native_use_enable python)
- $(use_enable alisp)
- $(use_with debug)
- )
-
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_compile() {
- emake
-
- if multilib_is_native_abi && use doc; then
- emake doc
- grep -FZrl "${S}" doc/doxygen/html | \
- xargs -0 sed -i -e "s:${S}::" || die
- fi
-}
-
-multilib_src_install() {
- multilib_is_native_abi && use doc && local HTML_DOCS=( doc/doxygen/html/. )
-
- default
-}
-
-multilib_src_install_all() {
- find "${ED}" -type f -name '*.la' -delete || die
-
- dodoc ChangeLog doc/asoundrc.txt NOTES TODO
-}
diff --git a/media-libs/alsa-lib/alsa-lib-1.2.12.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.12.ebuild
index e6b5e1471035..e2d95ace169a 100644
--- a/media-libs/alsa-lib/alsa-lib-1.2.12.ebuild
+++ b/media-libs/alsa-lib/alsa-lib-1.2.12.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit autotools multilib-minimal flag-o-matic python-single-r1
DESCRIPTION="Advanced Linux Sound Architecture Library"
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.10-lld-17.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.10-lld-17.patch
deleted file mode 100644
index cba1e2e2d507..000000000000
--- a/media-libs/alsa-lib/files/alsa-lib-1.2.10-lld-17.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-https://bugs.gentoo.org/914511
-https://github.com/alsa-project/alsa-lib/issues/356
-https://github.com/alsa-project/alsa-lib/commit/96f60d829f2c9dc9ad9eda46410adaa41b4b0da0
-
-From 96f60d829f2c9dc9ad9eda46410adaa41b4b0da0 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai <tiwai@suse.de>
-Date: Tue, 10 Oct 2023 08:20:15 +0200
-Subject: [PATCH] seq: Fix typos in symbol version definitions
-
-There were obvious typos in src/Versions.in that resulted in the
-undefined symbols. Correct those entries.
-
-Fixes: 2aefb5c41cc0 ("seq: Add UMP support")
-Closes: https://github.com/alsa-project/alsa-lib/issues/356
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
---- a/src/Versions.in
-+++ b/src/Versions.in
-@@ -158,13 +158,13 @@ ALSA_1.2.10 {
- @SYMBOL_PREFIX@snd_ctl_ump_block_info;
- @SYMBOL_PREFIX@snd_seq_ump_*;
- @SYMBOL_PREFIX@snd_seq_client_info_get_midi_version;
-- @SYMBOL_PREFIX@snd_seq_seq_client_info_get_ump_group_enabled;
-+ @SYMBOL_PREFIX@snd_seq_client_info_get_ump_group_enabled;
- @SYMBOL_PREFIX@snd_seq_client_info_get_ump_groupless_enabled;
-- @SYMBOL_PREFIX@snd_seq_seq_client_get_ump_conversion;
-+ @SYMBOL_PREFIX@snd_seq_client_info_get_ump_conversion;
- @SYMBOL_PREFIX@snd_seq_client_info_set_midi_version;
-- @SYMBOL_PREFIX@snd_seq_seq_client_info_set_ump_group_enabled;
-+ @SYMBOL_PREFIX@snd_seq_client_info_set_ump_group_enabled;
- @SYMBOL_PREFIX@snd_seq_client_info_set_ump_groupless_enabled;
-- @SYMBOL_PREFIX@snd_seq_seq_client_set_ump_conversion;
-+ @SYMBOL_PREFIX@snd_seq_client_info_set_ump_conversion;
- @SYMBOL_PREFIX@snd_seq_get_ump_endpoint_info;
- @SYMBOL_PREFIX@snd_seq_get_ump_block_info;
- @SYMBOL_PREFIX@snd_seq_set_ump_endpoint_info;
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.10-musl-string.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.10-musl-string.patch
deleted file mode 100644
index 49747dcfecbe..000000000000
--- a/media-libs/alsa-lib/files/alsa-lib-1.2.10-musl-string.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From https://github.com/alsa-project/alsa-lib/commit/10bd599970acc71c92f85eb08943eb8d3d702a9c Mon Sep 17 00:00:00 2001
-From: Jaroslav Kysela <perex@perex.cz>
-Date: Wed, 6 Sep 2023 15:16:44 +0200
-Subject: [PATCH] global.h: move __STRING() macro outside !PIC ifdef block
-
-It solves the musl libc compilation issue.
-
-control.c: In function 'snd_ctl_open_conf':
-../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio]
- 98 | #define SND_DLSYM_VERSION(version) __STRING(version)
- | ^~~~~~~~
-
-Fixes: https://github.com/alsa-project/alsa-lib/issues/350
-Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---- a/include/global.h
-+++ b/include/global.h
-@@ -51,6 +51,11 @@ const char *snd_asoundlib_version(void);
- #define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
- #endif
-
-+#ifndef __STRING
-+/** \brief Return 'x' argument as string */
-+#define __STRING(x) #x
-+#endif
-+
- #ifdef PIC /* dynamic build */
-
- /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */
-@@ -71,11 +76,6 @@ struct snd_dlsym_link {
-
- extern struct snd_dlsym_link *snd_dlsym_start;
-
--#ifndef __STRING
--/** \brief Return 'x' argument as string */
--#define __STRING(x) #x
--#endif
--
- /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */
- #define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version
- /**
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.10-pcm-fix-segfault-32bit-libs.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.10-pcm-fix-segfault-32bit-libs.patch
deleted file mode 100644
index 4cd3614ee943..000000000000
--- a/media-libs/alsa-lib/files/alsa-lib-1.2.10-pcm-fix-segfault-32bit-libs.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-https://github.com/alsa-project/alsa-lib/commit/0e3dfb9f705ca78be34cd70fd59d67c431e29cc7
-
-From 0e3dfb9f705ca78be34cd70fd59d67c431e29cc7 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai <tiwai@suse.de>
-Date: Sat, 9 Sep 2023 17:42:03 +0200
-Subject: [PATCH] pcm: Fix segfault with 32bit libs
-
-The recent rearrangement of header inclusion order caused a regression
-showing segfaults on 32bit Arm. The primary reason is the
-inconsistent compile condition depending on the inclusion of config.h;
-while most of other code include pcm_local.h (that implicitly includes
-config.h) at first, pcm_direct.c doesn't do it, hence the access with
-direct plugins crashes.
-
-For fixing it, we need to include config.h at the beginning. But,
-it's better to include pcm_local.h for all relevant code for
-consistency. The patch does it, and also it adds the guard in
-pcm_local.h for double inclusions.
-
-Fixes: ad3a8b8b314e ("reshuffle included files to include config.h as first")
-Link: https://github.com/alsa-project/alsa-lib/issues/352
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
---- a/src/pcm/pcm_direct.c
-+++ b/src/pcm/pcm_direct.c
-@@ -19,6 +19,7 @@
- *
- */
-
-+#include "pcm_local.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <stddef.h>
---- a/src/pcm/pcm_dmix.c
-+++ b/src/pcm/pcm_dmix.c
-@@ -26,7 +26,7 @@
- *
- */
-
--#include "config.h"
-+#include "pcm_local.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <stddef.h>
---- a/src/pcm/pcm_dshare.c
-+++ b/src/pcm/pcm_dshare.c
-@@ -26,6 +26,7 @@
- *
- */
-
-+#include "pcm_local.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <stddef.h>
---- a/src/pcm/pcm_dsnoop.c
-+++ b/src/pcm/pcm_dsnoop.c
-@@ -26,6 +26,7 @@
- *
- */
-
-+#include "pcm_local.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <stddef.h>
---- a/src/pcm/pcm_local.h
-+++ b/src/pcm/pcm_local.h
-@@ -20,6 +20,9 @@
- *
- */
-
-+#ifndef __PCM_LOCAL_H
-+#define __PCM_LOCAL_H
-+
- #include "config.h"
-
- #include <stdio.h>
-@@ -1223,3 +1226,5 @@ static inline void snd_pcm_unlock(snd_pcm_t *pcm)
- #define snd_pcm_lock(pcm) do {} while (0)
- #define snd_pcm_unlock(pcm) do {} while (0)
- #endif /* THREAD_SAFE_API */
-+
-+#endif /* __PCM_LOCAL_H */
---- a/src/pcm/pcm_shm.c
-+++ b/src/pcm/pcm_shm.c
-@@ -26,6 +26,7 @@
- *
- */
-
-+#include "pcm_local.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <stddef.h>
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.10-reshuffle-included-files-config-h.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.10-reshuffle-included-files-config-h.patch
deleted file mode 100644
index 42493fef6af1..000000000000
--- a/media-libs/alsa-lib/files/alsa-lib-1.2.10-reshuffle-included-files-config-h.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-https://github.com/alsa-project/alsa-lib/commit/81a7a93636d9472fcb0c2ff32d9bfdf6ed10763d
-
-From 81a7a93636d9472fcb0c2ff32d9bfdf6ed10763d Mon Sep 17 00:00:00 2001
-From: Jaroslav Kysela <perex@perex.cz>
-Date: Wed, 13 Sep 2023 12:27:21 +0200
-Subject: [PATCH] reshuffle included files to include config.h as first - v2
-
-config.h may contain defines like _FILE_OFFSET_BITS which influence
-the system wide include files (off_t types, open -> open64 function
-usage etc.).
-
-Fixes: ad3a8b8b ("reshuffle included files to include config.h as first")
-Related: https://github.com/alsa-project/alsa-lib/pull/333
-Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---- a/src/control/setup.c
-+++ b/src/control/setup.c
-@@ -29,13 +29,13 @@
- *
- */
-
-+#include "local.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdarg.h>
- #include <unistd.h>
- #include <string.h>
- #include <ctype.h>
--#include "local.h"
-
- #ifndef DOC_HIDDEN
- typedef struct {
---- a/src/rawmidi/rawmidi.c
-+++ b/src/rawmidi/rawmidi.c
-@@ -144,12 +144,12 @@ This example shows open and read/write rawmidi operations.
- * Shows open and read/write rawmidi operations.
- */
-
-+#include "rawmidi_local.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdarg.h>
- #include <unistd.h>
- #include <string.h>
--#include "rawmidi_local.h"
-
- /**
- * \brief setup the default parameters
---- a/src/rawmidi/rawmidi_local.h
-+++ b/src/rawmidi/rawmidi_local.h
-@@ -19,10 +19,10 @@
- *
- */
-
-+#include "local.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <limits.h>
--#include "local.h"
-
- typedef struct {
- int (*close)(snd_rawmidi_t *rawmidi);
---- a/src/rawmidi/rawmidi_virt.c
-+++ b/src/rawmidi/rawmidi_virt.c
-@@ -19,13 +19,11 @@
- *
- */
-
--#include <stdio.h>
--#include <stdlib.h>
-+#include "rawmidi_local.h"
- #include <unistd.h>
- #include <string.h>
- #include <fcntl.h>
- #include <sys/ioctl.h>
--#include "rawmidi_local.h"
- #include "seq.h"
- #include "seq_midi_event.h"
-
---- a/src/rawmidi/ump.c
-+++ b/src/rawmidi/ump.c
-@@ -4,10 +4,6 @@
- * \brief Universal MIDI Protocol (UMP) Interface
- */
-
--#include <stdio.h>
--#include <stdlib.h>
--#include <limits.h>
--#include "local.h"
- #include "rawmidi_local.h"
- #include "ump_local.h"
-
---- a/src/seq/seq.c
-+++ b/src/seq/seq.c
-@@ -777,8 +777,8 @@ void event_filter(snd_seq_t *seq, snd_seq_event_t *ev)
-
- */
-
--#include <poll.h>
- #include "seq_local.h"
-+#include <poll.h>
-
- /****************************************************************************
- * *
---- a/src/seq/seq_hw.c
-+++ b/src/seq/seq_hw.c
-@@ -20,9 +20,9 @@
- *
- */
-
-+#include "seq_local.h"
- #include <fcntl.h>
- #include <sys/ioctl.h>
--#include "seq_local.h"
-
- #ifndef PIC
- /* entry for static linking */
---- a/src/seq/seq_local.h
-+++ b/src/seq/seq_local.h
-@@ -23,10 +23,10 @@
- #ifndef __SEQ_LOCAL_H
- #define __SEQ_LOCAL_H
-
-+#include "local.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <limits.h>
--#include "local.h"
-
- #define SND_SEQ_OBUF_SIZE (16*1024) /* default size */
- #define SND_SEQ_IBUF_SIZE 500 /* in event_size aligned */
---- a/src/seq/seq_midi_event.c
-+++ b/src/seq/seq_midi_event.c
-@@ -28,10 +28,10 @@
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-+#include "local.h"
- #if HAVE_MALLOC_H
- #include <malloc.h>
- #endif
--#include "local.h"
-
- #ifndef DOC_HIDDEN
-
---- a/src/seq/seqmid.c
-+++ b/src/seq/seqmid.c
-@@ -20,14 +20,12 @@
- *
- */
-
--#include <stdio.h>
--#include <stdlib.h>
-+#include "seq_local.h"
- #include <unistd.h>
- #include <string.h>
- #include <fcntl.h>
- #include <ctype.h>
- #include <sys/ioctl.h>
--#include "seq_local.h"
-
- /**
- * \brief queue controls - start/stop/continue
---- a/src/userfile.c
-+++ b/src/userfile.c
-@@ -18,7 +18,7 @@
- *
- */
-
--#include <config.h>
-+#include "config.h"
- #include <string.h>
- #include <errno.h>
- #include <assert.h>
-
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.10-ump-header-detection.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.10-ump-header-detection.patch
deleted file mode 100644
index a75aa3a85a06..000000000000
--- a/media-libs/alsa-lib/files/alsa-lib-1.2.10-ump-header-detection.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From https://github.com/alsa-project/alsa-lib/commit/fcce13a6726c52882bd8b7131c61c4eba308792c Mon Sep 17 00:00:00 2001
-From: Jaroslav Kysela <perex@perex.cz>
-Date: Mon, 4 Sep 2023 09:38:26 +0200
-Subject: [PATCH] control.h: Fix ump header file detection
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Apparently, the control.h is used from apps separately (outside
-asoundlib.h). Avoid errors like:
-
-/usr/include/alsa/control.h:417:47: error: ‘snd_ump_endpoint_info_t’ has not been declared
- 417 | int snd_ctl_ump_endpoint_info(snd_ctl_t *ctl, snd_ump_endpoint_info_t *info);
- | ^~~~~~~~~~~~~~~~~~~~~~~
-/usr/include/alsa/control.h:418:44: error: ‘snd_ump_block_info_t’ has not been declared
- 418 | int snd_ctl_ump_block_info(snd_ctl_t *ctl, snd_ump_block_info_t *info);
- | ^~~~~~~~~~~~~~~~~~~~
-
-Fixes: https://github.com/alsa-project/alsa-lib/issues/348
-Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---- a/include/control.h
-+++ b/include/control.h
-@@ -413,6 +413,8 @@ int snd_ctl_pcm_prefer_subdevice(snd_ctl_t *ctl, int subdev);
- int snd_ctl_rawmidi_next_device(snd_ctl_t *ctl, int * device);
- int snd_ctl_rawmidi_info(snd_ctl_t *ctl, snd_rawmidi_info_t * info);
- int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t *ctl, int subdev);
-+#endif
-+#ifdef __ALSA_UMP_H
- int snd_ctl_ump_next_device(snd_ctl_t *ctl, int *device);
- int snd_ctl_ump_endpoint_info(snd_ctl_t *ctl, snd_ump_endpoint_info_t *info);
- int snd_ctl_ump_block_info(snd_ctl_t *ctl, snd_ump_block_info_t *info);
diff --git a/media-libs/alsa-ucm-conf/Manifest b/media-libs/alsa-ucm-conf/Manifest
index 9f42ec41cd1b..2509219aa46e 100644
--- a/media-libs/alsa-ucm-conf/Manifest
+++ b/media-libs/alsa-ucm-conf/Manifest
@@ -1,8 +1,5 @@
-AUX alsa-ucm-conf-1.2.10-fix-splitpcm.patch 734 BLAKE2B 66264d2cf2e479d530233708c92964c931dd5fd6e9e9ff3fca4d2253fea5261c55ed675b283b54ac60bbd0a444eaed8b421a3a7c7babd6c95537c8f6551a44e8 SHA512 6492b18cfe1a14ed7b2306ca3b0221060144ecc7cbfd9da4d5b397c0cce243383f4c91ccf554127d63b42ccf39c2db47e42150e2c3d35eccd4b5691182f1a209
-DIST alsa-ucm-conf-1.2.10.tar.bz2 44749 BLAKE2B 215842f1f59c2dea5e3f3fe880dc49d6263998746a50c2591b8a9786ead3afae2c713e179ff6e8caa518b3a8516a1b031872c1fad2a17fbd3afbb0390a803693 SHA512 172956a2c127e9afa5be9c6ada43bfa9fda825823f8f6acbe252edef3381afe3adfa3299c1419f04375599be7721a551c6800be99db44b091611aeb824ffcd72
DIST alsa-ucm-conf-1.2.11.tar.bz2 49172 BLAKE2B 8b57ad990eac676ca8f5044a81a57a85951e425bd059679ac3dc7097e3c4a089cb73bbd01869335c4e94161d9f3f86aba7549b6a666e69ba76578d785e53fbb4 SHA512 b202e7410a579789be0005564b4868f70bca0fd8664c02add95fc9ff90ab64faebda978fbd3e83a3274c37242dccf8efbebd03f529e35ca3033daf55f425cb8d
DIST alsa-ucm-conf-1.2.12.tar.bz2 52618 BLAKE2B 65f429afa6a9134f1896acac3827f6065ce9315f1920d27d5ea97244fe376f1f7780c9537cf33b8a91eeaebfde7489842bd603a7d60c0d20b6017f2e7e1eda4e SHA512 391dde123271172d899c04865d1d6e21b4ad0060ee9b2256dfbc6fc89ad48edcaa43c861893ab0e5c70d972e20d15c528defc19c00308e7465f13f954cce25d7
-EBUILD alsa-ucm-conf-1.2.10-r1.ebuild 555 BLAKE2B a1545f65e341332dfe1ecb15cebe4e3fe6ad4edb374820c4ea138b68d04016eff4a48f5542f0884534d7a871792c2d7925b98ef22b7813c34d030e37805bf983 SHA512 86ba8f25cf8a1d36060cdde5b5aeb124fa183255f5d3454bc42e668948720cc1aea39bb9aa4d2ba666f3225f16bd9fc1e8fa8b57a2a3c1eddff11430f4b69829
EBUILD alsa-ucm-conf-1.2.11.ebuild 503 BLAKE2B 8acbe87d7a55847e4848a6c975cdac618cd0c53cc9873eb21678864d0901f7da716226a5c7a0d729fdacda4f9adb63c186d2e4e196e74204d3aadda72a4d2c8f SHA512 910abd4c03c5eb5df31b6cda01735d23a266f5efa9fbd72bf0baa4cac09b6b1354cc4606101df4d572a3ffa8fb91557f0daacc7951336ad6340f951ba347e716
EBUILD alsa-ucm-conf-1.2.12.ebuild 504 BLAKE2B 72c959634a0185a37e085b18d79e236a83df0c4aa68ce405dbf03d1f4160a60685b3af0bcaf26a0684c33275a05c0916d340247cd7da86cc54e5d1ca34b2edcf SHA512 adeab2295534ef808940215f7c98b91a45c39afa7af8e9189aa0c148c95d023c7da9ac4d2817fcf1ee770880f2a99fe4a997c4818b81c625a760dfbd7a989900
MISC metadata.xml 403 BLAKE2B c1555457584c9ccfc55d8cf423c2980863a68e45a2993133c56f124996c33a8ca402f7611fb22c4f6fd87cd5ea70e417f1424d4df5bc5aebca6ccbd2b5efb3e6 SHA512 23290395834ba3d4b58cc79ec5fca79b1b2710b69504a49057f3d26bb5f3ae3b1b7f2c4957d8b3d13168f81795c25df4cb5007ec3c60bbe61c7f588ae2445d43
diff --git a/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild b/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild
deleted file mode 100644
index 69aaf86bc695..000000000000
--- a/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="ALSA ucm configuration files"
-HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
-SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86"
-
-RDEPEND="!<media-libs/alsa-lib-1.2.1"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-splitpcm.patch
-)
-
-src_install() {
- insinto /usr/share/alsa
- doins -r ucm{,2}
-}
diff --git a/media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch b/media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch
deleted file mode 100644
index 35202a4454b3..000000000000
--- a/media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://github.com/alsa-project/alsa-ucm-conf/commit/b68aa52acdd2763fedad5eec0f435fbf43e5ccc6
-
-From b68aa52acdd2763fedad5eec0f435fbf43e5ccc6 Mon Sep 17 00:00:00 2001
-From: Jaroslav Kysela <perex@perex.cz>
-Date: Mon, 4 Sep 2023 16:39:52 +0200
-Subject: [PATCH] SplitPCM: Device argument may not be set
-
-Link: https://github.com/alsa-project/alsa-ucm-conf/issues/346
-Fixes: 10967ea ("SplitPCM: Fix Device variable in SplitPCMDevice macro")
-Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---- a/ucm2/common/pcm/split.conf
-+++ b/ucm2/common/pcm/split.conf
-@@ -326,7 +326,7 @@ DefineMacro.SplitPCMDevice {
- If.0 {
- Condition {
- Type String
-- Empty "${var:__Device}"
-+ Empty "${var:-__Device}"
- }
- True.Define.__Device "0"
- }
diff --git a/media-libs/dav1d/Manifest b/media-libs/dav1d/Manifest
index 413c3eabb4bd..415c08e4e012 100644
--- a/media-libs/dav1d/Manifest
+++ b/media-libs/dav1d/Manifest
@@ -1,12 +1,4 @@
-DIST dav1d-1.2.1.tar.xz 873008 BLAKE2B 52478112f1f2c39a020556a8ed18c1267de93fc129941eb87b75fa872188a0389389ba9c7f7ae641726ca78a0a515ce5923968374b8122fec159f33c1f65e7bc SHA512 f172eebc0a5f6c51d31fc9e9758c2dd0de51d8a5d0e00c93a5f2b1b16b7b4a37b365f9c56dea95d400e66b63af5fa4c63d9e720719ac38852777fc8c6066e4a7
-DIST dav1d-1.3.0.tar.xz 885220 BLAKE2B aa79eaa22adde287a31ed60b88ae8d4095e18b92359a7e30aecd13c10eafe07acdeeb2f0bdb232acc6b136cdbd87626ac641df0615683d50f355edfd6c028caf SHA512 a91d217b8656c452dd80f5597e988f0e7a2ea32b12092c2695e7dc388033db7b193f7a8c98413bec31d1c38af376561d39f7618b935c4feeb6498c5d2b43f6a4
-DIST dav1d-1.4.0.tar.xz 942120 BLAKE2B e37f7abc222b9a0f774a76ef6dcc2f28c411220c0f92c2239e51c3313bf1109fb6e4feb1451049248e033f2dd79550536a773f3b7b07e5a7890e8bb760c0f596 SHA512 32fcb1d19f35bec62c05637987e0204cf76880af192685e0acb08ea30cb9dac889ee89be0f847c79c6c51210c375031b26cf6e4aabc91480e44777e9fb3cbe02
-DIST dav1d-1.4.1.tar.xz 948044 BLAKE2B 6d8ddd4ef25055b8de33aa7608085e6569cb9e47ed312c9f57119c8961fd532d786e12722aa550b5f4584a9cca95022ac138b714e2a22b05547713465e43ed56 SHA512 51d893d5128eb3bd5c563bee82a1a450296e596763f64c10cea631aeaf655572b72dcab78be2f1e0d998010d7d22eb376b64603e5f568efe16d75eb5efaeac35
DIST dav1d-1.4.2.tar.xz 970104 BLAKE2B 03c8effb21df5c748f6e836413454577ac0920dce37d6e4922c2a0e493f79c9bb9fb6eabe05e2ac0f0f7089751bec1eb92717305c5faac1b71efd7b0dabe6be7 SHA512 36f8e632f64212db63e126b9ed2ca95c2db930d2388c551cde0b13b783ae872edeab1b5dd2274684bb03e98536d0334552ddcba209cff08c3568d97321034920
-EBUILD dav1d-1.2.1.ebuild 1347 BLAKE2B de3670e808679ad49a33c8d276a2affaef135e36210dbbad92edc657340c8b532145abc96ce44dbcd991ee770f1c8b2a254a8d4edab776c24a000e2424a83898 SHA512 6317af6c42186aa921dee05fa704a3c7ab4a25b7aa48ac8541911014b92282cc6df13e5f7792f68a8987f2688a0ceb82dd8285eb4354f5f8c35f55458f7bf69a
-EBUILD dav1d-1.3.0.ebuild 1360 BLAKE2B 53c997faaeb47c4fc8fad8aa51592da5d97061691a900a47f41431d4f640ed6dd93ccb16560a30bfb3f2416325c0555680a657152fbef8696746edbadcd26482 SHA512 028d6fcf03d3be1a71774109eb37444877fdbef18177a50cace2f99bc3f3962d661aaab218029260162761b60a4a7251b6f3d15f13b512c17d7fa3e47156846f
-EBUILD dav1d-1.4.0.ebuild 1367 BLAKE2B 0e1d6d32af24e810af9577ecb6d9ca2d3f8409de96ec4563cda3adfb133d702001d68609c8e54468344daef2e467d8559e4a7dba7861bde0c9925605f2c31c14 SHA512 b8bba95dc0acba0cded6d58531cc516a684fa09851be32dda1dd42502e80dc1e6f7c3053eccf75fd5fb83f6a5095207edae5b8bad68ccb2ad7f57495207f5c87
-EBUILD dav1d-1.4.1.ebuild 1367 BLAKE2B 0e1d6d32af24e810af9577ecb6d9ca2d3f8409de96ec4563cda3adfb133d702001d68609c8e54468344daef2e467d8559e4a7dba7861bde0c9925605f2c31c14 SHA512 b8bba95dc0acba0cded6d58531cc516a684fa09851be32dda1dd42502e80dc1e6f7c3053eccf75fd5fb83f6a5095207edae5b8bad68ccb2ad7f57495207f5c87
EBUILD dav1d-1.4.2.ebuild 1360 BLAKE2B 53c997faaeb47c4fc8fad8aa51592da5d97061691a900a47f41431d4f640ed6dd93ccb16560a30bfb3f2416325c0555680a657152fbef8696746edbadcd26482 SHA512 028d6fcf03d3be1a71774109eb37444877fdbef18177a50cace2f99bc3f3962d661aaab218029260162761b60a4a7251b6f3d15f13b512c17d7fa3e47156846f
EBUILD dav1d-9999.ebuild 1367 BLAKE2B 0e1d6d32af24e810af9577ecb6d9ca2d3f8409de96ec4563cda3adfb133d702001d68609c8e54468344daef2e467d8559e4a7dba7861bde0c9925605f2c31c14 SHA512 b8bba95dc0acba0cded6d58531cc516a684fa09851be32dda1dd42502e80dc1e6f7c3053eccf75fd5fb83f6a5095207edae5b8bad68ccb2ad7f57495207f5c87
MISC metadata.xml 616 BLAKE2B e1761e4fa6578e904fb77dfc366a718e1c892583abc30f3552f64385826f0f898d8ba5a288fea3d297bf998acab596deac9532f7a13f123b2f996d13a128df4f SHA512 0f33c2977773ed2ed4dba9b70de50ace72248938c19eafbdf9828ec28aa462aaa9c8f17ed3b5d51cc83f27265ed79769c1df6a62ebe103005e1b3b0660230b7c
diff --git a/media-libs/dav1d/dav1d-1.2.1.ebuild b/media-libs/dav1d/dav1d-1.2.1.ebuild
deleted file mode 100644
index a04c5acbfb9e..000000000000
--- a/media-libs/dav1d/dav1d-1.2.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d"
- inherit git-r3
-else
- SRC_URI="https://downloads.videolan.org/pub/videolan/dav1d/${PV}/${P}.tar.xz"
- KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~arm64-macos ~x64-macos"
-fi
-
-inherit meson-multilib
-
-DESCRIPTION="dav1d is an AV1 Decoder :)"
-HOMEPAGE="https://code.videolan.org/videolan/dav1d"
-
-LICENSE="BSD-2"
-# Check SONAME on version bumps!
-SLOT="0/6"
-IUSE="+8bit +10bit +asm test xxhash"
-RESTRICT="!test? ( test )"
-
-ASM_DEPEND=">=dev-lang/nasm-2.15.05"
-DEPEND="xxhash? ( dev-libs/xxhash )"
-BDEPEND="
- asm? (
- abi_x86_32? ( ${ASM_DEPEND} )
- abi_x86_64? ( ${ASM_DEPEND} )
- )
-"
-
-DOCS=( README.md doc/PATENTS THANKS.md )
-
-multilib_src_configure() {
- local -a bits=()
- use 8bit && bits+=( 8 )
- use 10bit && bits+=( 16 )
-
- local enable_asm
- if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then
- enable_asm=false
- else
- enable_asm=$(usex asm true false)
- fi
-
- local emesonargs=(
- -Dbitdepths=$(IFS=,; echo "${bits[*]}")
- -Denable_asm=${enable_asm}
- $(meson_use test enable_tests)
- $(meson_feature xxhash xxhash_muxer)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- if multilib_is_native_abi ; then
- meson_src_test
- fi
-}
diff --git a/media-libs/dav1d/dav1d-1.3.0.ebuild b/media-libs/dav1d/dav1d-1.3.0.ebuild
deleted file mode 100644
index 521131bccf01..000000000000
--- a/media-libs/dav1d/dav1d-1.3.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d"
- inherit git-r3
-else
- SRC_URI="https://downloads.videolan.org/pub/videolan/dav1d/${PV}/${P}.tar.xz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~arm64-macos ~x64-macos"
-fi
-
-inherit meson-multilib
-
-DESCRIPTION="dav1d is an AV1 Decoder :)"
-HOMEPAGE="https://code.videolan.org/videolan/dav1d"
-
-LICENSE="BSD-2"
-# Check SONAME on version bumps!
-SLOT="0/7"
-IUSE="+8bit +10bit +asm test xxhash"
-RESTRICT="!test? ( test )"
-
-ASM_DEPEND=">=dev-lang/nasm-2.15.05"
-DEPEND="xxhash? ( dev-libs/xxhash )"
-BDEPEND="
- asm? (
- abi_x86_32? ( ${ASM_DEPEND} )
- abi_x86_64? ( ${ASM_DEPEND} )
- )
-"
-
-DOCS=( README.md doc/PATENTS THANKS.md )
-
-multilib_src_configure() {
- local -a bits=()
- use 8bit && bits+=( 8 )
- use 10bit && bits+=( 16 )
-
- local enable_asm
- if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then
- enable_asm=false
- else
- enable_asm=$(usex asm true false)
- fi
-
- local emesonargs=(
- -Dbitdepths=$(IFS=,; echo "${bits[*]}")
- -Denable_asm=${enable_asm}
- $(meson_use test enable_tests)
- $(meson_feature xxhash xxhash_muxer)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- if multilib_is_native_abi ; then
- meson_src_test
- fi
-}
diff --git a/media-libs/dav1d/dav1d-1.4.0.ebuild b/media-libs/dav1d/dav1d-1.4.0.ebuild
deleted file mode 100644
index 93a307754a90..000000000000
--- a/media-libs/dav1d/dav1d-1.4.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d"
- inherit git-r3
-else
- SRC_URI="https://downloads.videolan.org/pub/videolan/dav1d/${PV}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos"
-fi
-
-inherit meson-multilib
-
-DESCRIPTION="dav1d is an AV1 Decoder :)"
-HOMEPAGE="https://code.videolan.org/videolan/dav1d"
-
-LICENSE="BSD-2"
-# Check SONAME on version bumps!
-SLOT="0/7"
-IUSE="+8bit +10bit +asm test xxhash"
-RESTRICT="!test? ( test )"
-
-ASM_DEPEND=">=dev-lang/nasm-2.15.05"
-DEPEND="xxhash? ( dev-libs/xxhash )"
-BDEPEND="
- asm? (
- abi_x86_32? ( ${ASM_DEPEND} )
- abi_x86_64? ( ${ASM_DEPEND} )
- )
-"
-
-DOCS=( README.md doc/PATENTS THANKS.md )
-
-multilib_src_configure() {
- local -a bits=()
- use 8bit && bits+=( 8 )
- use 10bit && bits+=( 16 )
-
- local enable_asm
- if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then
- enable_asm=false
- else
- enable_asm=$(usex asm true false)
- fi
-
- local emesonargs=(
- -Dbitdepths=$(IFS=,; echo "${bits[*]}")
- -Denable_asm=${enable_asm}
- $(meson_use test enable_tests)
- $(meson_feature xxhash xxhash_muxer)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- if multilib_is_native_abi ; then
- meson_src_test
- fi
-}
diff --git a/media-libs/dav1d/dav1d-1.4.1.ebuild b/media-libs/dav1d/dav1d-1.4.1.ebuild
deleted file mode 100644
index 93a307754a90..000000000000
--- a/media-libs/dav1d/dav1d-1.4.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d"
- inherit git-r3
-else
- SRC_URI="https://downloads.videolan.org/pub/videolan/dav1d/${PV}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos"
-fi
-
-inherit meson-multilib
-
-DESCRIPTION="dav1d is an AV1 Decoder :)"
-HOMEPAGE="https://code.videolan.org/videolan/dav1d"
-
-LICENSE="BSD-2"
-# Check SONAME on version bumps!
-SLOT="0/7"
-IUSE="+8bit +10bit +asm test xxhash"
-RESTRICT="!test? ( test )"
-
-ASM_DEPEND=">=dev-lang/nasm-2.15.05"
-DEPEND="xxhash? ( dev-libs/xxhash )"
-BDEPEND="
- asm? (
- abi_x86_32? ( ${ASM_DEPEND} )
- abi_x86_64? ( ${ASM_DEPEND} )
- )
-"
-
-DOCS=( README.md doc/PATENTS THANKS.md )
-
-multilib_src_configure() {
- local -a bits=()
- use 8bit && bits+=( 8 )
- use 10bit && bits+=( 16 )
-
- local enable_asm
- if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then
- enable_asm=false
- else
- enable_asm=$(usex asm true false)
- fi
-
- local emesonargs=(
- -Dbitdepths=$(IFS=,; echo "${bits[*]}")
- -Denable_asm=${enable_asm}
- $(meson_use test enable_tests)
- $(meson_feature xxhash xxhash_muxer)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- if multilib_is_native_abi ; then
- meson_src_test
- fi
-}
diff --git a/media-libs/exempi/Manifest b/media-libs/exempi/Manifest
index ed9a51d03541..cf76ce6d6482 100644
--- a/media-libs/exempi/Manifest
+++ b/media-libs/exempi/Manifest
@@ -1,6 +1,4 @@
AUX exempi-2.4.2-iconv.patch 1440 BLAKE2B a3fccd3c268c28f1fe0b9e13544ba7b33d433a9a92ad9319301996c162766dac9d3fc14f97c3a3c795d787d0b7b9048dec830e1ce5d809b1a14ffa82097e2ff5 SHA512 09cc5ba46c8e0a0b0c1c3b0c86d9c49c21e64a64ca35a90053bf98ed81652b8d1c91bc29a321b5b3bf032b65af220129860f7d3f8c6e12ce608db19c01841736
-DIST exempi-2.6.3.tar.xz 2842408 BLAKE2B a3deb86a12161f4a1b7c0bacc4e6b59a5e54df4e5c158b48c8d66dc968e5fb1e210a9fac73e85720b43e9090c38a7023e771054e63a57c618385bb02a525d89e SHA512 517dba7534ac6978083338d3c3bf184c9b0a56e625e714703da71b064b68a8872bdd66673be27a192e7e6a22b9acd8eb1ad447c2a807f564547e765c63fbd2b4
DIST exempi-2.6.5.tar.xz 2843132 BLAKE2B bc8c347af4c9c7bf085311ce055bd1c7cd5c2b845c723dd74bbcdf104be018885a82180333dbdda3cf9a64a4125dfe0fa0904fbd05663c3a6c32e6a60a8ca2d3 SHA512 71a0830c7a547bd7304e38f307a17a5ca70d6d22bb94db93f7e6c0903d1a1a1e211487cd530ec81fb058d0b45224018d23aab9a9394b6cfa025c50f0d77b5002
-EBUILD exempi-2.6.3.ebuild 1284 BLAKE2B 09a4e69936d7b64b41d216a40533d3c4e452d9e8965f48b515c1317338bcb493119274743384a8911a40478ce385b351f9889f2c7e21a38cc06e2cd6c87b603f SHA512 51da65183b75912ad02175dc05ebb524a88e26289fc567786b23f59ce431a0e7013d19dca3801a4d83c65f5b46bcca0e3afabaad5370c33eddde8a0642c9983d
EBUILD exempi-2.6.5.ebuild 1368 BLAKE2B c454116febe888644fb959e5067fbdc1e3220b0ac573781a93e842d6c184e78876f9840f722077e3e555aa5bf70763c01c72ed0e9987903595a35db1832a5fbc SHA512 b99f33c0540b118a7ae342171a7856bbb74e07db35d672a8c749ced4048400c43e3416bd850b3f731d9fb5f447cfcb275e3e55b0a5b50634de73e164911e1666
MISC metadata.xml 323 BLAKE2B 5f01fafc347bc3dd68f29e05eeda1b335498b1ee928ab266c2f4bfe11f2833158c000a077fc1e11ee0f6be4cb1395773090687a109274e0abbb9ec8cb2e241a9 SHA512 c1c19755073fed175f6637fe6b1680867dc12c95b8c5ac4874f4a66781921fe755c8d0748d2824442289fde3cb72040ae32731e3e6a06d22e5dacc9d39924392
diff --git a/media-libs/exempi/exempi-2.6.3.ebuild b/media-libs/exempi/exempi-2.6.3.ebuild
deleted file mode 100644
index 5d7ffba74015..000000000000
--- a/media-libs/exempi/exempi-2.6.3.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Port of the Adobe XMP SDK to work on UNIX"
-HOMEPAGE="https://libopenraw.freedesktop.org/wiki/Exempi"
-SRC_URI="https://libopenraw.freedesktop.org/download/${P}.tar.xz"
-
-LICENSE="BSD"
-SLOT="2/8"
-KEYWORDS="~alpha amd64 arm arm64 ~loong ppc64 ~riscv x86"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/expat-2:=
- sys-libs/zlib
- virtual/libiconv
-"
-DEPEND="
- ${RDEPEND}
- test? ( dev-libs/boost )
-"
-BDEPEND="
- dev-build/autoconf-archive
- sys-devel/gettext
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.4.2-iconv.patch
-)
-
-src_prepare() {
- default
-
- # Needed for autoconf 2.71
- config_rpath_update .
- eautoreconf
-}
-
-src_configure() {
- # - --enable-static as --disable-static breaks build
- # - Valgrind detection is "disabled" due to bug #295875
- econf \
- --enable-static \
- $(use_enable test unittest) \
- VALGRIND=""
-}
-
-src_install() {
- default
-
- if use examples; then
- emake -C samples/source distclean
- rm samples/{,source,testfiles}/Makefile* || die
- docinto examples
- dodoc -r samples/.
- fi
-
- # --disable-static breaks tests
- rm -rf "${ED}/usr/$(get_libdir)/libexempi.a" || die
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/media-libs/libaom/Manifest b/media-libs/libaom/Manifest
index 30e0147b11d8..5862f671a852 100644
--- a/media-libs/libaom/Manifest
+++ b/media-libs/libaom/Manifest
@@ -1,23 +1,12 @@
AUX libaom-3.4.0-posix-c-source-ftello.patch 429 BLAKE2B 3e6ff2b95dbf39d2d90a46c9189abf160d3460e247446db4ad0e534bde7f382aeaa4e1457c0a4ddb7cf3c9666fd173efa1955a22fc4d3708a93dcd6b7c160f07 SHA512 30cc17c38219e81f92f1f034786d5d4096a0e657c86dfe581f84d18fc201a0e34bd331e98271f92c07e5dc49740e164a983b3316fc57599b98aea2615f7cf107
AUX libaom-3.7.0-allow-fortify-source.patch 467 BLAKE2B 405f87a6467daae59823eedc9fd7cac959909d5c07df6b4930b55af129750bfd0ed2749b41c6a4fbdb2a8dd49a6881e9de0af526972d27c8c731ce29ab34d1af SHA512 ab69882b8652cb61bdfa14b5fbf5e5cef3344df3aee852f42192af1e935299be1029947a3cb80527362b2db57c93197b889fb45dc562123353b7a3871feaa811
-AUX libaom-3.7.0-big-endian-tests.patch 1611 BLAKE2B 9c0ab0a6a5788fdbc87f30ef5f2a6524521dcf1ec1911544827acb912551c08fcf370c369abfde1567d691a8b814ec897d90819431d7ad091dc247dc7e7396e0 SHA512 299f511b45ba9f1511ab508159f7341ff6ca433118feefd66e96266131588203fc651b4b88be79487b1cbb688c7946dddeeba1b07d88c471da95465e6782fb87
-AUX libaom-3.7.0-big-endian.patch 4168 BLAKE2B 6c9a9ac0933b29b3ee8111d8068dfff144385ae68ebf693a335672c3138cc31ef346486af44b0b0fff9bad58ad72d2335962b78bc82e40b1a7f4a4c9b5d3ca28 SHA512 aebd3f9d16f0cc6a6a0b7a240d5d8cb55d28fc8fe4a00444b26c4b54fed0536ff3577aab5aa624cd9900858770dfdad50f9429d91ee0638058d4be34873e8be6
AUX libaom-3.8.1-tests-parallel.patch 907 BLAKE2B 3c969182fed047b6075ebd0d19f50dfe19028658da42eefc991eaf4ed15736ac95219f5562dc8c04e34849c615fe74a5c940701e274ed7485387092d8d46fb50 SHA512 293924e8732640977c706dcf7fe811f76f093402faa3db8e61d35e32552df889dc63073f004dce4bc4230ceb647f78d0085c9a0099b597b148b9a29fc38f2544
-AUX libaom-3.9.0-guard-ssse3.patch 1570 BLAKE2B 69b5b73ba6ff68b1e5badfcd7cfdf9cc6afeca2838363273852c7757efba448881d042e52be9632c7593cd0992daea439c05da3423a7d31c2abac64fe86723f0 SHA512 5222e5af8a41da106074ed312fb1c35ce7337b43cc6d0ec3e9fbf11fecef2e5f756d64dafa3d5cb6a0d4d31afa9e155b795dfe0db37b891f54ad2d1b409b74a4
AUX libaom-3.9.1-gcc15-cstdint.patch 1173 BLAKE2B a52439c510a54a1af72c56efff47e004ffef6c276aeebc02981b95afeca30dbacaa87baadfb25f2638454ccbc556b023c06814878fcb45a0eaa0c3e5682fdb25 SHA512 396deeaefec8152c4f45a8c788941a30688d2b7d72cb6233902e3b4cdc7d2bb1110fed56219b176a77057dd7231a5deab3c190f261cdf9e194af519fbb71d09a
-DIST libaom-3.5.0.tar.gz 5206715 BLAKE2B d47ddb864c909c972f692667177417daef0350124a096547eacc83ab3630227fe7a23e95f3988a2109c580f9a87ba30a58bcc58be1a2e24fe694eb01655a4861 SHA512 370c529a84d54c95f05c5a3b3edadd1cca95eeccd5a6b5454e574211c6dd9bf5bd33ab67b43587c6de37688fe546ea9e16de0ab2d721e965143b7e8c85db6fd4
-DIST libaom-3.7.0-testdata.tar.xz 374076136 BLAKE2B 17036f37fbb04d59b50e13e5e2258215e99cab4b6f64ac558213009477bc22f43267b60bcbb30ec10325de2aed48b22237b12cd6220f4330e300b62bafedac0b SHA512 c08ef4c9c45f1a27e6c31b8cc9799d8e65d895663a79d7be51da1733be6d8013adaad3a8f1d7491f555a2eea58aead44b9ce935c3e9bb957cb8bbb93f6f4fd98
-DIST libaom-3.7.0.tar.gz 5347924 BLAKE2B 2693d60f5afa810e00ab6aadcf8ca763e328bc64e47b3678eeba9993db89b25cfa0380beeff5a5938f19da74410ce83068c318cff2aea30e5fe39680ac67e937 SHA512 b763a877db26dcaddea5513825900917e55bc131bf78a83f941f1e74b534a514cb599fb64c3ac18a8202ac0a72c511dfef6eeff21dfbe59ed9816887ca3ec5f3
DIST libaom-3.8.1-testdata.tar.xz 426372276 BLAKE2B 4d6194a98612045023f4d35ca851a37ffc69cbfbfd015d5c1f4e3aebb6789096d7b7f82b9641c545e4203b44fe8a9243de83bb23a8c53aced30ec26aed0376e0 SHA512 03bf5d521c613728dd12fd33bb76fc64a20798e276dbdc2501446e1fb9891552e88adb25f0e4ff65d6c8aad301a550aec195498ab1f1a506bce3fe384e24cc0e
DIST libaom-3.8.1.tar.gz 5450909 BLAKE2B fec3123f8ee68b1027a1a2019969c098b730da72be2902274659b983857f2d8f62dae5b563543b3f144ae8bc51b6d6fdd4fcd6aadf2ca04d5a4dd5be987fbbac SHA512 f9ee918a37699cfaf2bcb5aa16a4d8b077feb1fc577d8c5437ed3fa1a1c0a5d734c9564e3c8c0f0b1baf43dc5abb7ff0196a77607b10d926c0be7858778ac1e3
-DIST libaom-3.9.0-testdata.tar.xz 426348008 BLAKE2B 1d95116e738a3271cbb6381cdeb3d2cd359bd3d3001e759e6ed9f56f7f0d87b6a0a557f3655c4c5640e7812cee2e10de5626de70794c6b49fdac51f33d9a1b56 SHA512 b8e68cffa844ac33f3fd7cce8de08e90bc4e401055fa24e58ea6e1217a64db62bd09c469267106b1e82d480550238ac6aaa12c86f75e9fbfd8fa847180b41537
-DIST libaom-3.9.0.tar.gz 5518815 BLAKE2B 4c68b58f6a8e347ee912e309a030804c4a3cc99714e2aaf127add63222df3056c7cf4b6c50f4861557b0892739035149b5e002e25272882eff55cde5d9b745b7 SHA512 0793e0801be72d35144162141a180ff5e3ae11186f734af738b1eb2d81bff1364be7741cc34ae2507d2b88de11f840609a09f8b05b75e8d853aa80626241bf95
DIST libaom-3.9.1-testdata.tar.xz 426413144 BLAKE2B 99fad74bbfabbfd1a7b9a2a3ae72c1c5a4810a70cb6f2df54ad4e29da5afd9278fcc2555f859f51dadab41e1d1829d08ee9efee415ca34d05acd5175caf35205 SHA512 81ce77937264c3a4f6da19dab5cfc4feb559359c154fc00105e6aee6aebb1900e4ecaadd248ba09c5aa266ba0f937451a075338c474ca69a64871d6e6f9c4480
DIST libaom-3.9.1.tar.gz 5524048 BLAKE2B 2f983a4a563e16120aa8937e059f4cd267fb60b6d4148f952f1e664a50b84bc0d8ba7629231b60e4263963d97559a819752a4fa0dcf2427c9f94036716221324 SHA512 d134583c9cc17e0c8e0dec17677a5daca6f42636f3cde83e1b0fc5250f7372f190c125afb845540cd947fb28462cc91b111a69ae4fec51946c3730cacf42c36e
-EBUILD libaom-3.5.0.ebuild 3292 BLAKE2B 3b4681c03dfc7196988c307fea3c6aca874f722be082ef853860a471ad85a42db35e499f541bccf2cd01bcce9e679252f57aedfe0af789bd2e23568cd775c19f SHA512 6ed0b74f3920883ff37a0edf1a00096daed9295583da34e60d228602a0fe627224046c059c5dfd4f486b8ee407ee492756fad0e9fac6a5faaac8c92a9a310a30
-EBUILD libaom-3.7.0-r2.ebuild 4382 BLAKE2B a51a503b0c20d9e193084ac04b2b183de398bc3c28493cfd1c2e26147954b1b904063e6f785b93a1a94e567ef8cdbe930d39b434fa0e18d80679c6cc212ec4e0 SHA512 8a2de72b09b5dcaff7ce21934d59002a44ac59e5a2eeb0ed70b423b611e3caec76037ad934a2acaa5df379077cd3588fd9a4c2e9eb7e0b55330942138805fc56
EBUILD libaom-3.8.1.ebuild 5015 BLAKE2B 561e6364a992a899a7fee70fcc21ec55c682951dbaf8fb49e502c3f593a3ea86a5c17b0c52a3735460dc6a8af5f6776351031a194a2d60b2b5e37d62215c5c9e SHA512 9aacaccc730e10a8d6442733cd142589f11d22071b490dd858a76a905016b9f004474a1bfd5740ea13f6704c470790b4c6cb27e79f28e30106b399f732b4bcd6
-EBUILD libaom-3.9.0.ebuild 4540 BLAKE2B d24aba5ad3754ffa126f77f37157c292dc8d2a2fce555db5fb9ea6fc5096273c3c24ce7b021de0fb4752ed8b2336b1616580b0c3ba8a9c34f11c61fbcfef22e5 SHA512 163f0d4fc42dc35312b05da69569dc42163d1394279fab681e19fb3ceb60bcc1d7c3349971b5504fe453d8766a7dc269f19b1d91b7fa13666a2569f54e6d0084
EBUILD libaom-3.9.1.ebuild 4536 BLAKE2B 824808c3e872db0426e3a651f4d4ee9966d90df3f53a0e7db81acb9d8b9d113d400f59f3d25736a3f29c99551961ef65dde86ef94ed5822f39d1841e06138b47 SHA512 9e1e893ac35613003c6200cb59b0469bdfb5ae4b61613aa1b3a1353f3d743c301d05b9ec135541b0c8224d199b920934d1878dde2597defa25f39cc495c4bf46
EBUILD libaom-9999.ebuild 4514 BLAKE2B a21027df09390d3893b8ea1d7717aebaf1b43ec72d6da81e19678b612da5677b7a414aa8ce92e678a6aa32b3b0c91ba1f723e4c5ed440d5157ee25d0a01d3c59 SHA512 e499d3254f6928353fd9a340daa3a8a74f45d3fffa266a5cf288fe382c674c5c8fc915e15a1f7126f3bc2183b399691b8c699dca78b1b5da2601505c9f464a68
MISC metadata.xml 224 BLAKE2B a8fa831654345ddf74b54f53fdc27d128ff6896378c8aa2dcb27139a4382f63efd0cac17f94ee420932e2855042c94e32fe534c99a977698953aaab4c51c31d0 SHA512 0b59f17151d352f25e3b073a3ee388d0189e1caddf0d97142851a19df433d082e3eead9f5aae07f4beb247861d90f02ae217514d02445703b95ee6ff62d967b8
diff --git a/media-libs/libaom/files/libaom-3.7.0-big-endian-tests.patch b/media-libs/libaom/files/libaom-3.7.0-big-endian-tests.patch
deleted file mode 100644
index 38559c564726..000000000000
--- a/media-libs/libaom/files/libaom-3.7.0-big-endian-tests.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-https://bugs.chromium.org/p/aomedia/issues/detail?id=3487
-https://aomedia.googlesource.com/aom/+/7029529477e1473e6eb7417538cea18edc5e3bd0
-
-From 7029529477e1473e6eb7417538cea18edc5e3bd0 Mon Sep 17 00:00:00 2001
-From: Wan-Teh Chang <wtc@google.com>
-Date: Wed, 13 Sep 2023 10:55:05 -0700
-Subject: [PATCH] Fix big-endian bugs in CodingPathSync tests
-
-Change Serialize() to read uint16_t samples correctly. Although only the
-least significant byte of each sample is nonzero, we cannot assume the
-least significant byte of the c-th sample in `row` is row[c * 2]. That
-is correct only on little-endian systems.
-
-Bug: aomedia:3487
-Change-Id: I9919ce6e3c877608ca7488fe4cc6957bcfe8c4cc
----
- test/coding_path_sync.cc | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/test/coding_path_sync.cc b/test/coding_path_sync.cc
-index c3e51fd565..31bc2d56b0 100644
---- a/test/coding_path_sync.cc
-+++ b/test/coding_path_sync.cc
-@@ -130,11 +130,13 @@ std::vector<int16_t> Serialize(const aom_image_t *img) {
-
- for (int r = 0; r < h; ++r) {
- for (int c = 0; c < w; ++c) {
-- unsigned char *row = img->planes[plane] + r * img->stride[plane];
-- if (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH)
-- bytes.push_back(row[c * 2]);
-- else
-+ const unsigned char *row = img->planes[plane] + r * img->stride[plane];
-+ if (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) {
-+ const uint16_t *row16 = reinterpret_cast<const uint16_t *>(row);
-+ bytes.push_back(row16[c]);
-+ } else {
- bytes.push_back(row[c]);
-+ }
- }
- }
- }
---
-2.42.0
diff --git a/media-libs/libaom/files/libaom-3.7.0-big-endian.patch b/media-libs/libaom/files/libaom-3.7.0-big-endian.patch
deleted file mode 100644
index 907e5fd1110e..000000000000
--- a/media-libs/libaom/files/libaom-3.7.0-big-endian.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-https://bugs.chromium.org/p/aomedia/issues/detail?id=3487
-https://aomedia.googlesource.com/aom/+/8b65d76f2f95b1bfdc82b8f135246cb367d444e6%5E%21/
-
-From 8b65d76f2f95b1bfdc82b8f135246cb367d444e6 Mon Sep 17 00:00:00 2001
-From: Wan-Teh Chang <wtc@google.com>
-Date: Tue, 12 Sep 2023 16:38:47 -0700
-Subject: [PATCH] Fix byte order issue in write_enc_data_to_out_buf
-
-Fix the byte order issue for big-endian systems introduced in
-https://aomedia-review.googlesource.com/c/aom/+/167581.
-
-Use the existing HToBE64 macro defined in aom_util/endian_inl.h and
-delete the new get_byteswap64 function from aom_ports/bitops.h.
-
-Based on the patch in bug aomedia:3487.
-
-Bug: aomedia:3487
-Change-Id: I56183e062a9f2b18c4c6158fd8e47c5062de85ee
----
- aom_dsp/entenc.h | 7 ++++---
- aom_ports/bitops.h | 35 +----------------------------------
- 2 files changed, 5 insertions(+), 37 deletions(-)
-
-diff --git a/aom_dsp/entenc.h b/aom_dsp/entenc.h
-index 467e47bf56..d26f027ed0 100644
---- a/aom_dsp/entenc.h
-+++ b/aom_dsp/entenc.h
-@@ -13,7 +13,7 @@
- #define AOM_AOM_DSP_ENTENC_H_
- #include <stddef.h>
- #include "aom_dsp/entcode.h"
--#include "aom_ports/bitops.h"
-+#include "aom_util/endian_inl.h"
-
- #ifdef __cplusplus
- extern "C" {
-@@ -87,13 +87,14 @@ static AOM_INLINE void propagate_carry_bwd(unsigned char *buf, uint32_t offs) {
- } while (carry);
- }
-
--// Reverse byte order and write data to buffer adding the carry-bit
-+// Convert to big-endian byte order and write data to buffer adding the
-+// carry-bit
- static AOM_INLINE void write_enc_data_to_out_buf(unsigned char *out,
- uint32_t offs, uint64_t output,
- uint64_t carry,
- uint32_t *enc_offs,
- uint8_t num_bytes_ready) {
-- const uint64_t reg = get_byteswap64(output) >> ((8 - num_bytes_ready) << 3);
-+ const uint64_t reg = HToBE64(output << ((8 - num_bytes_ready) << 3));
- memcpy(&out[offs], &reg, 8);
- // Propagate carry backwards if exists
- if (carry) {
-diff --git a/aom_ports/bitops.h b/aom_ports/bitops.h
-index 3c5b992bde..7f4c165f5a 100644
---- a/aom_ports/bitops.h
-+++ b/aom_ports/bitops.h
-@@ -13,7 +13,6 @@
- #define AOM_AOM_PORTS_BITOPS_H_
-
- #include <assert.h>
--#include <stdint.h>
-
- #include "aom_ports/msvc.h"
- #include "config/aom_config.h"
-@@ -34,12 +33,8 @@ extern "C" {
- // These versions of get_msb() are only valid when n != 0 because all
- // of the optimized versions are undefined when n == 0:
-
--// get_byteswap64:
--// Returns the number (uint64_t) with byte-positions reversed
--// e.g. input 0x123456789ABCDEF0 returns 0xF0DEBC9A78563412
--
- // GCC compiler: https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
--// MSVC: https://learn.microsoft.com/en-us/cpp/c-runtime-library/
-+// MSVC: https://learn.microsoft.com/en-us/cpp/intrinsics/compiler-intrinsics
-
- // use GNU builtins where available.
- #if defined(__GNUC__) && \
-@@ -48,10 +43,6 @@ static INLINE int get_msb(unsigned int n) {
- assert(n != 0);
- return 31 ^ __builtin_clz(n);
- }
--
--static INLINE uint64_t get_byteswap64(uint64_t num) {
-- return __builtin_bswap64(num);
--}
- #elif defined(USE_MSC_INTRINSICS)
- #pragma intrinsic(_BitScanReverse)
-
-@@ -61,10 +52,6 @@ static INLINE int get_msb(unsigned int n) {
- _BitScanReverse(&first_set_bit, n);
- return first_set_bit;
- }
--
--static INLINE uint64_t get_byteswap64(uint64_t num) {
-- return _byteswap_uint64(num);
--}
- #undef USE_MSC_INTRINSICS
- #else
- static INLINE int get_msb(unsigned int n) {
-@@ -82,26 +69,6 @@ static INLINE int get_msb(unsigned int n) {
- }
- return log;
- }
--
--static INLINE uint64_t get_byteswap64(uint64_t num) {
-- uint64_t out = 0x00;
-- uint64_t mask = 0xFF00000000000000;
-- int bit_shift = 56; // 7 bytes
-- // 4 ms bytes
-- do {
-- out |= (num & mask) >> bit_shift;
-- mask >>= 8;
-- bit_shift -= 16;
-- } while (bit_shift >= 0);
-- // 4 ls bytes
-- bit_shift = 8; // 1 byte
-- do {
-- out |= (num & mask) << bit_shift;
-- mask >>= 8;
-- bit_shift += 16;
-- } while (bit_shift <= 56);
-- return out;
--}
- #endif
-
- #ifdef __cplusplus
---
-2.42.0
diff --git a/media-libs/libaom/files/libaom-3.9.0-guard-ssse3.patch b/media-libs/libaom/files/libaom-3.9.0-guard-ssse3.patch
deleted file mode 100644
index 40cb17f0a354..000000000000
--- a/media-libs/libaom/files/libaom-3.9.0-guard-ssse3.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-https://bugs.chromium.org/p/aomedia/issues/detail?id=3578#c6
-https://bugs.gentoo.org/933429
-
-From 8670445106036383c1f55c08b1a3283bd0accf7a Mon Sep 17 00:00:00 2001
-From: Wan-Teh Chang <wtc@google.com>
-Date: Mon, 3 Jun 2024 11:13:53 -0700
-Subject: [PATCH] Guard DECLS(ssse3), FNS(ssse3) with #if HAVE_SSSE3
-
-The aom_dsp/x86/variance_sse2.c file is compiled if the ENABLE_SSE2
-cmake option is enabled. The file also contains some SSSE3 code. That
-code should only be compiled if the ENABLE_SSSE3 cmake option is
-enabled.
-
-Bug: aomedia:3578
-Change-Id: I86685862e7da9506bd551b76228cdc9920c68ab1
-(cherry picked from commit afb5237d908bd04ce6ea15eae85db4a54cba289c)
----
- aom_dsp/x86/variance_sse2.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/aom_dsp/x86/variance_sse2.c b/aom_dsp/x86/variance_sse2.c
-index 81b30072a5..e71244f1c7 100644
---- a/aom_dsp/x86/variance_sse2.c
-+++ b/aom_dsp/x86/variance_sse2.c
-@@ -415,7 +415,9 @@ unsigned int aom_mse16x16_sse2(const uint8_t *src, int src_stride,
- DECL(8, opt); \
- DECL(16, opt)
-
-+#if HAVE_SSSE3
- DECLS(ssse3);
-+#endif
- #undef DECLS
- #undef DECL
-
-@@ -491,7 +493,9 @@ DECLS(ssse3);
- FN(4, 4, 4, 2, 2, opt, (int32_t), (int32_t))
- #endif
-
-+#if HAVE_SSSE3
- FNS(ssse3)
-+#endif
-
- #undef FNS
- #undef FN
-@@ -508,7 +512,9 @@ FNS(ssse3)
- DECL(8, opt); \
- DECL(16, opt)
-
-+#if HAVE_SSSE3
- DECLS(ssse3);
-+#endif
- #undef DECL
- #undef DECLS
-
-@@ -588,7 +594,9 @@ DECLS(ssse3);
- FN(4, 4, 4, 2, 2, opt, (uint32_t), (int32_t))
- #endif
-
-+#if HAVE_SSSE3
- FNS(ssse3)
-+#endif
-
- #undef FNS
- #undef FN
---
-2.45.2
-
diff --git a/media-libs/libaom/libaom-3.5.0.ebuild b/media-libs/libaom/libaom-3.5.0.ebuild
deleted file mode 100644
index d00dcbee1d8b..000000000000
--- a/media-libs/libaom/libaom-3.5.0.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake-multilib python-any-r1
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://aomedia.googlesource.com/aom"
-else
- SRC_URI="https://storage.googleapis.com/aom-releases/${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~loong ppc64 ~riscv x86"
-fi
-
-DESCRIPTION="Alliance for Open Media AV1 Codec SDK"
-HOMEPAGE="https://aomedia.org https://aomedia.googlesource.com/aom/"
-
-LICENSE="BSD-2"
-SLOT="0/3"
-IUSE="doc +examples test"
-IUSE="${IUSE} cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3"
-IUSE="${IUSE} cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2"
-IUSE="${IUSE} cpu_flags_arm_neon"
-# Tests need more wiring up
-RESTRICT="!test? ( test ) test"
-
-REQUIRED_USE="
- cpu_flags_x86_sse2? ( cpu_flags_x86_mmx )
- cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 )
-"
-
-BDEPEND="${PYTHON_DEPS}
- dev-lang/perl
- abi_x86_32? ( dev-lang/yasm )
- abi_x86_64? ( dev-lang/yasm )
- abi_x86_x32? ( dev-lang/yasm )
- doc? ( app-text/doxygen )
-"
-
-# The PATENTS file is required to be distributed with this package, bug #682214
-DOCS=( PATENTS )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.4.0-posix-c-source-ftello.patch
-)
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DENABLE_CCACHE=OFF
- -DENABLE_DOCS=$(multilib_native_usex doc ON OFF)
- -DENABLE_EXAMPLES=$(multilib_native_usex examples ON OFF)
- -DENABLE_NASM=OFF
- -DENABLE_TESTS=$(usex test)
- -DENABLE_TOOLS=ON
- -DENABLE_WERROR=OFF
-
- # Needs libjxl, currently unpackaged.
- -DCONFIG_TUNE_BUTTERAUGLI=0
-
- # neon support is assumed to be always enabled on arm64
- -DENABLE_NEON=$(usex cpu_flags_arm_neon ON $(usex arm64 ON OFF))
- # ENABLE_DSPR2 / ENABLE_MSA for mips
- -DENABLE_MMX=$(usex cpu_flags_x86_mmx ON OFF)
- -DENABLE_SSE=$(usex cpu_flags_x86_sse ON OFF)
- -DENABLE_SSE2=$(usex cpu_flags_x86_sse2 ON OFF)
- -DENABLE_SSE3=$(usex cpu_flags_x86_sse3 ON OFF)
- -DENABLE_SSSE3=$(usex cpu_flags_x86_ssse3 ON OFF)
- -DENABLE_SSE4_1=$(usex cpu_flags_x86_sse4_1 ON OFF)
- -DENABLE_SSE4_2=$(usex cpu_flags_x86_sse4_2 ON OFF)
- -DENABLE_AVX=$(usex cpu_flags_x86_avx ON OFF)
- -DENABLE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF)
- )
-
- # For 32-bit multilib builds, force some intrinsics on to work around
- # bug #816027. libaom seems to do runtime detection for some targets
- # at least, so this isn't an issue.
- if ! multilib_is_native_abi && use amd64 ; then
- mycmakeargs+=(
- -DENABLE_SSE3=ON
- -DENABLE_SSSE3=ON
- )
- fi
-
- # On ARM32-on-ARM64, things end up failing if NEON is off, bug #835456
- # Just force generic, given it's a niche situation.
- # TODO: could try forcing armv7 or similar?
- if use arm && ! use cpu_flags_arm_neon && [[ $(uname -p) == "aarch64" ]] ; then
- ewarn "Forcing generic for arm32-on-arm64 build (bug #835456)"
- mycmakeargs+=(
- -DAOM_TARGET_CPU=generic
- )
- fi
-
- cmake_src_configure
-}
-
-multilib_src_test() {
- "${BUILD_DIR}"/test_libaom || die
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use doc ; then
- local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
- fi
-
- cmake_src_install
-}
-
-multilib_src_install_all() {
- find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}
diff --git a/media-libs/libaom/libaom-3.7.0-r2.ebuild b/media-libs/libaom/libaom-3.7.0-r2.ebuild
deleted file mode 100644
index bb0edd72931d..000000000000
--- a/media-libs/libaom/libaom-3.7.0-r2.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake-multilib python-any-r1
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://aomedia.googlesource.com/aom"
-else
- # To update test data tarball, follow these steps:
- # 1. Clone the upstream repo and check out the relevant tag,
- # or download the release tarball
- # 2. Regular cmake configure (options don't matter here):
- # cd build && cmake ..
- # 3. Set LIBAOM_TEST_DATA_PATH to the directory you want and
- # run the "make testdata" target:
- # LIBAOM_TEST_DATA_PATH=../libaom-3.7.0-testdata make testdata
- # This will download the test data from the internet.
- # 4. Create a tarball out of that directory.
- # cd .. && tar cvaf libaom-3.7.0-testdata.tar.xz libaom-3.7.0-testdata
- SRC_URI="
- https://storage.googleapis.com/aom-releases/${P}.tar.gz
- test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-testdata.tar.xz )
- "
- KEYWORDS="~alpha amd64 arm arm64 ~loong ppc64 ~riscv x86"
-fi
-
-DESCRIPTION="Alliance for Open Media AV1 Codec SDK"
-HOMEPAGE="https://aomedia.org https://aomedia.googlesource.com/aom/"
-
-LICENSE="BSD-2"
-SLOT="0/3"
-IUSE="big-endian doc +examples test"
-IUSE="${IUSE} cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3"
-IUSE="${IUSE} cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2"
-IUSE="${IUSE} cpu_flags_arm_neon cpu_flags_ppc_vsx"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- cpu_flags_x86_sse2? ( cpu_flags_x86_mmx )
- cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 )
-"
-
-BDEPEND="${PYTHON_DEPS}
- dev-lang/perl
- abi_x86_32? ( dev-lang/yasm )
- abi_x86_64? ( dev-lang/yasm )
- abi_x86_x32? ( dev-lang/yasm )
- doc? ( app-text/doxygen )
-"
-
-# The PATENTS file is required to be distributed with this package, bug #682214
-DOCS=( PATENTS )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.4.0-posix-c-source-ftello.patch
- "${FILESDIR}"/${PN}-3.7.0-allow-fortify-source.patch
-
- "${FILESDIR}"/${P}-big-endian.patch
- "${FILESDIR}"/${P}-big-endian-tests.patch
-)
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DENABLE_CCACHE=OFF
- -DENABLE_DOCS=$(multilib_native_usex doc ON OFF)
- -DENABLE_EXAMPLES=$(multilib_native_usex examples ON OFF)
- -DENABLE_NASM=OFF
- -DENABLE_TESTS=$(usex test)
- -DENABLE_TOOLS=ON
- -DENABLE_WERROR=OFF
- # https://bugs.chromium.org/p/aomedia/issues/detail?id=3487 shows
- # that big endian detection doesn't really work otherwise.
- -DCONFIG_BIG_ENDIAN=$(usex big-endian 1 0)
-
- # Needs libjxl, currently unpackaged.
- -DCONFIG_TUNE_BUTTERAUGLI=0
-
- # neon support is assumed to be always enabled on arm64
- -DENABLE_NEON=$(usex cpu_flags_arm_neon ON $(usex arm64 ON OFF))
- # ENABLE_DSPR2 / ENABLE_MSA for mips
- -DENABLE_MMX=$(usex cpu_flags_x86_mmx ON OFF)
- -DENABLE_SSE=$(usex cpu_flags_x86_sse ON OFF)
- -DENABLE_SSE2=$(usex cpu_flags_x86_sse2 ON OFF)
- -DENABLE_SSE3=$(usex cpu_flags_x86_sse3 ON OFF)
- -DENABLE_SSSE3=$(usex cpu_flags_x86_ssse3 ON OFF)
- -DENABLE_SSE4_1=$(usex cpu_flags_x86_sse4_1 ON OFF)
- -DENABLE_SSE4_2=$(usex cpu_flags_x86_sse4_2 ON OFF)
- -DENABLE_AVX=$(usex cpu_flags_x86_avx ON OFF)
- -DENABLE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF)
-
- -DENABLE_VSX=$(usex cpu_flags_ppc_vsx ON OFF)
- )
-
- # For 32-bit multilib builds, force some intrinsics on to work around
- # bug #816027. libaom seems to do runtime detection for some targets
- # at least, so this isn't an issue.
- if ! multilib_is_native_abi && use amd64 ; then
- mycmakeargs+=(
- -DENABLE_SSE3=ON
- -DENABLE_SSSE3=ON
- )
- fi
-
- # On ARM32-on-ARM64, things end up failing if NEON is off, bug #835456
- # Just force generic, given it's a niche situation.
- # TODO: could try forcing armv7 or similar?
- if use arm && ! use cpu_flags_arm_neon && [[ $(uname -p) == "aarch64" ]] ; then
- ewarn "Forcing generic for arm32-on-arm64 build (bug #835456)"
- mycmakeargs+=(
- -DAOM_TARGET_CPU=generic
- )
- fi
-
- cmake_src_configure
-}
-
-multilib_src_test() {
- LIBAOM_TEST_DATA_PATH="${WORKDIR}/${P}-testdata" "${BUILD_DIR}"/test_libaom || die
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use doc ; then
- local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
- fi
-
- cmake_src_install
-}
-
-multilib_src_install_all() {
- find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}
diff --git a/media-libs/libaom/libaom-3.9.0.ebuild b/media-libs/libaom/libaom-3.9.0.ebuild
deleted file mode 100644
index a44e3bdd68dd..000000000000
--- a/media-libs/libaom/libaom-3.9.0.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic multiprocessing python-any-r1
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://aomedia.googlesource.com/aom"
-else
- # To update test data tarball,
- # chromium-tools.git/generate-libaom-test-tarball.sh
- SRC_URI="
- https://storage.googleapis.com/aom-releases/${P}.tar.gz
- test? ( https://deps.gentoo.zip/${CATEGORY}/${P}-testdata.tar.xz )
- "
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-fi
-
-DESCRIPTION="Alliance for Open Media AV1 Codec SDK"
-HOMEPAGE="https://aomedia.org https://aomedia.googlesource.com/aom/"
-
-LICENSE="BSD-2"
-SLOT="0/3"
-IUSE="big-endian debug doc +examples test"
-IUSE="${IUSE} cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3"
-IUSE="${IUSE} cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2"
-IUSE="${IUSE} cpu_flags_arm_crc32 cpu_flags_arm_neon cpu_flags_ppc_vsx"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- cpu_flags_x86_sse2? ( cpu_flags_x86_mmx )
- cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 )
-"
-
-BDEPEND="${PYTHON_DEPS}
- dev-lang/perl
- abi_x86_32? ( dev-lang/yasm )
- abi_x86_64? ( dev-lang/yasm )
- abi_x86_x32? ( dev-lang/yasm )
- doc? ( app-text/doxygen )
-"
-
-# The PATENTS file is required to be distributed with this package, bug #682214
-DOCS=( PATENTS )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.4.0-posix-c-source-ftello.patch
- "${FILESDIR}"/${PN}-3.7.0-allow-fortify-source.patch
- "${FILESDIR}"/${PN}-3.8.1-tests-parallel.patch
- "${FILESDIR}"/libaom-3.9.0-guard-ssse3.patch
-)
-
-multilib_src_configure() {
- # Follow upstream recommendations in README (bug #921438) and avoid
- # asserts during common use (bug #914614).
- append-cppflags $(usex debug '-UNDEBUG' '-DNDEBUG')
-
- local mycmakeargs=(
- -DENABLE_CCACHE=OFF
- -DENABLE_DOCS=$(multilib_native_usex doc ON OFF)
- -DENABLE_EXAMPLES=$(multilib_native_usex examples ON OFF)
- -DENABLE_NASM=OFF
- -DENABLE_TESTS=$(usex test)
- -DENABLE_TOOLS=ON
- -DENABLE_WERROR=OFF
- # https://bugs.chromium.org/p/aomedia/issues/detail?id=3487 shows
- # that big endian detection doesn't really work otherwise.
- -DCONFIG_BIG_ENDIAN=$(usex big-endian 1 0)
-
- # Needs libjxl, currently unpackaged.
- -DCONFIG_TUNE_BUTTERAUGLI=0
-
- # arm
- -DENABLE_NEON=$(usex cpu_flags_arm_neon ON OFF)
- -DENABLE_ARM_CRC32=$(usex cpu_flags_arm_crc32 ON OFF)
- # bug #917277
- -DENABLE_NEON_DOTPROD=OFF
- # bug #917278
- -DENABLE_NEON_I8MM=OFF
- # bug #920474
- -DENABLE_SVE=OFF
-
- # mips
- # ENABLE_DSPR2 / ENABLE_MSA for mips
-
- # amd64
- -DENABLE_MMX=$(usex cpu_flags_x86_mmx ON OFF)
- -DENABLE_SSE=$(usex cpu_flags_x86_sse ON OFF)
- -DENABLE_SSE2=$(usex cpu_flags_x86_sse2 ON OFF)
- -DENABLE_SSE3=$(usex cpu_flags_x86_sse3 ON OFF)
- -DENABLE_SSSE3=$(usex cpu_flags_x86_ssse3 ON OFF)
- -DENABLE_SSE4_1=$(usex cpu_flags_x86_sse4_1 ON OFF)
- -DENABLE_SSE4_2=$(usex cpu_flags_x86_sse4_2 ON OFF)
- -DENABLE_AVX=$(usex cpu_flags_x86_avx ON OFF)
- -DENABLE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF)
-
- # ppc
- -DENABLE_VSX=$(usex cpu_flags_ppc_vsx ON OFF)
- )
-
- # For 32-bit multilib builds, force some intrinsics on to work around
- # bug #816027. libaom seems to do runtime detection for some targets
- # at least, so this isn't an issue.
- if ! multilib_is_native_abi && use amd64 ; then
- mycmakeargs+=(
- -DENABLE_SSE3=ON
- -DENABLE_SSSE3=ON
- )
- fi
-
- # On ARM32-on-ARM64, things end up failing if NEON is off, bug #835456
- # Just force generic, given it's a niche situation.
- # TODO: could try forcing armv7 or similar?
- if use arm && ! use cpu_flags_arm_neon && [[ $(uname -p) == "aarch64" ]] ; then
- ewarn "Forcing generic for arm32-on-arm64 build (bug #835456)"
- mycmakeargs+=(
- -DAOM_TARGET_CPU=generic
- )
- fi
-
- # LIBAOM_TEST_PROCS is added by our tests-parallel.patch
- export LIBAOM_TEST_PROCS="$(makeopts_jobs)"
-
- cmake_src_configure
-}
-
-multilib_src_test() {
- einfo "Running quiet tests which take hours."
- # We use ninja rather than test_libaom directly so we can run it in parallel
- # with sharding, see https://aomedia.googlesource.com/aom/#sharded-testing.
- LIBAOM_TEST_DATA_PATH="${WORKDIR}/${P}-testdata" eninja -C "${BUILD_DIR}" runtests
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use doc ; then
- local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
- fi
-
- cmake_src_install
-}
-
-multilib_src_install_all() {
- find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
-}
diff --git a/media-libs/libass/Manifest b/media-libs/libass/Manifest
index 6ee5c2c908d9..e75b929bf90a 100644
--- a/media-libs/libass/Manifest
+++ b/media-libs/libass/Manifest
@@ -1,4 +1,5 @@
DIST libass-0.17.1.tar.xz 403160 BLAKE2B b191e8910ddb3e41fb9df79b27517a127c0da2ad74c0a81920bc2cf8843ab18b02a60738024fa8d3594b91bd26ec6ea7f87e17ca5e07825a6017dd29d2b72b32 SHA512 437b4b60db2626e48f438b5138ab4dbf2c2ab4c8f0b587a6e554510c6719544ef2235c601ff1e482d020410f9bab95ad1a9b176d19a3bd54880499a576b41f23
DIST libass-0.17.1.tar.xz.asc 228 BLAKE2B 0e70c104438be4409239f435d7872737fde1aba4485816ad0e35f0de743ee303662e66334425d0d511af4974e03443ba6d33ac44f941de9b0da17a56f204edea SHA512 a28c8271b4c5b5756620be9baf81b0262eb71c4f20d1aadb24238d1d0ccba44fdb3b25d788a3f7c9039945431a3d31842a7855660cc28a0a8acc36ff8f0c0298
+EBUILD libass-0.17.1-r1.ebuild 1562 BLAKE2B b85b8f012f1418509f179d3a648ee84b6c7cec60def0fb671d55024f79915119ac4371717a653309193bc845f3c9e501869b07b76b533878fa253c17adcb35e2 SHA512 63a94e8eea431ca7e8eb8a02cd4214fadfca716263de5a2c92263023d473c31d2b8c4356d812a761bada84709c605245bb76708ebb16d359d840024a9006fe03
EBUILD libass-0.17.1.ebuild 1472 BLAKE2B 6c50eb39b4bf41d818fd76463701f3672cd900420803457a936740d10b4ac9cfba6116b79171a4238622e47e7080942602aede0558ad8bc7d6923de0e869c2cb SHA512 c28d93e656d362284b43d3902f3d5bf5c2ae3ca014867d80bf99211d27bfd953f977670432d0283d76a9cbb92cd7d89d06da0d94691b1739d25d24dc7be6c41c
-MISC metadata.xml 310 BLAKE2B 32f2b0eb7f05223e3d092b3d75b7b1095afdac6dc322bd21fc8d32b6089cfccdc46300801e9d7566269fc0fb54780b6c1efff6e41be8de0aa31b26bdc52a44fd SHA512 97c76a4e387bbf43b14bf7799fe889c27e74e8e0b18c2027fc0c365e25ec5186ead530afe6d8e4d6b95440f0cb781d7ebc46e1eae1cc7b2161a199d38bd2a186
+MISC metadata.xml 435 BLAKE2B 28ce115edcd9e3cd8a50a75a83395b4d2d9c7b8c88a7a4f3fba3f6037c7754376fb2736c1a4b61161f7656647f6c1b518e7f31c0da07d7a03647da9908033ae8 SHA512 f7873c6c98fc5e39eec3e7709065b680e313a54ab3e1570499371ede7e1c80aa433e509b63dd68ddcaadd6dc9ef5d8e95be01e53fd92edb6665ba63f3a817cad
diff --git a/media-libs/libass/libass-0.17.1-r1.ebuild b/media-libs/libass/libass-0.17.1-r1.ebuild
new file mode 100644
index 000000000000..ea718aecd975
--- /dev/null
+++ b/media-libs/libass/libass-0.17.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libass.asc
+inherit multilib-minimal verify-sig
+
+DESCRIPTION="Library for SSA/ASS subtitles rendering"
+HOMEPAGE="https://github.com/libass/libass"
+SRC_URI="https://github.com/libass/libass/releases/download/${PV}/${P}.tar.xz"
+SRC_URI+=" verify-sig? ( https://github.com/libass/libass/releases/download/${PV}/${P}.tar.xz.asc )"
+
+LICENSE="ISC"
+SLOT="0/9" # subslot = libass soname version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+fontconfig libunibreak test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/fribidi-0.19.5-r1[${MULTILIB_USEDEP}]
+ >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}]
+ >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+ >=media-libs/harfbuzz-1.2.3:=[truetype,${MULTILIB_USEDEP}]
+ fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
+ libunibreak? ( dev-libs/libunibreak:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ amd64? ( dev-lang/nasm )
+ x86? ( dev-lang/nasm )
+ test? ( media-libs/libpng[${MULTILIB_USEDEP}] )
+ verify-sig? ( sec-keys/openpgp-keys-libass )
+"
+
+DOCS=( Changelog )
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable fontconfig) \
+ $(use_enable libunibreak) \
+ $(use_enable test) \
+ --disable-require-system-font-provider
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ find "${ED}" -name '*.la' -type f -delete || die
+}
diff --git a/media-libs/libass/metadata.xml b/media-libs/libass/metadata.xml
index 589ec7043bf8..62a5b8661a6a 100644
--- a/media-libs/libass/metadata.xml
+++ b/media-libs/libass/metadata.xml
@@ -4,6 +4,9 @@
<maintainer type="project">
<email>media-video@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="libunibreak">Use <pkg>dev-libs/libunibreak</pkg> for Unicode line breaking algorithm</flag>
+ </use>
<upstream>
<remote-id type="github">libass/libass</remote-id>
</upstream>
diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index d8a85562d053..db55c0750a4a 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,10 +1,4 @@
-DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053c821805cc8e39915d6cbc4cd42554b1473118b41eb25010d20a2b5a3c141b9cbd6ff55c46abd79eb97cdee6b0e5 SHA512 2f6f248c56c983761149d3c201fc2a2ea5072a32516578a7fdb2c66e3cd22491540f400e23581f873b15454250eeec8d433924ae2c1de9371b7924a5d82bef6b
-DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c
-DIST libavif-1.0.4.tar.gz 10575992 BLAKE2B 69b7f376e8254f1f6b5df727e572e6aeef02710d8a09ad3289a71a38c2632b2cfdbee9284fcf08fccc5f072dc3aa2109f44b41ae10f0dad8cb299040ffc71c23 SHA512 37f0de757180c6414778e688006940395960b316c25192d6beb97a07942aff4bd3b712dec2eff52cd26f5d72c352731442175dfeb90e2e1381133539760142b0
DIST libavif-1.1.1.tar.gz 13644189 BLAKE2B c0a473b172206ea32358c28e7b94d8038b24030e4845611341076518cd82fd2bea78eb8e22e5481062b893ffb70789619ce4f85129a94a0db70a667c000f4fd0 SHA512 ba72b8d02b098f361643a073361fccafd22eaac14e46dd06378d5e7acd9853538c5d166473e1de0b020de62dac25be83e42bd57ba51f675d11e2ddf155fbfa21
-EBUILD libavif-0.10.1.ebuild 2499 BLAKE2B 17f9ef679e75469c782c98cf58587052a68a3b5ca560b8568916ab91ccc0fda0d56fa4cac79ffc3619ee2ffa7c510dd926662ce637f75bea5baa4734424ea210 SHA512 64f256bd788cbef3ebd07eb96568faa35fa7fc0ffe5e999f8faa20553525270f90396dd0d8733f0d65bb4c869468edfedbecc48a459dc3b2072833cc155c5db0
-EBUILD libavif-0.11.1.ebuild 2597 BLAKE2B d1d18786e4cb7d96aa2f4c367be360a6d25b22fd56156e1e1b59b3f88fd2986966e5466c647bdfb58ca000a21811beccc8bd3d4d4568d8186e0daa4f414af994 SHA512 d4c04bd161e1cd8f0c35fb7f8006172b2d3a263294b091dec6ccb732180b30d52caa640a0e190b5f603e81a93c178249644c551946b527f07916f6691e4ebee6
-EBUILD libavif-1.0.4.ebuild 2694 BLAKE2B 6ebf56ebc234559d892e4cced708fceb7b4b05b651de5d415fc59cf78d4a172152cf1770b8ed4559e78d77520069d05d7bc8b673c3c69fee0fba519fe97db131 SHA512 b2f7d7c8bc2afd0189f66dc8f6e5039a479674d308d5600f150b9ef20b93a6ffca76af0aefda129845306164bcd052ebfd1a50bd02f154cadc587dcb750875e8
EBUILD libavif-1.1.1.ebuild 2856 BLAKE2B 763fce77023cda7a64e6aa9ab79c175f675925ff8fa5d37701a9f693ad6a014fe5b50364862179b613767a461bdd9b89f983b74a7cc97ad2223a574b8ef44b55 SHA512 bde522cf659a9daa42fc661a14f0db306ab7073dc973123a874ba6c2846c8dbe51f2538cf7d8db2f4884f08be14a86c866562b98465f87af473426e9c2f98501
EBUILD libavif-9999.ebuild 2754 BLAKE2B a39ce76f57e845238cb7c19f5ec8ec52d82167867642bc256a8ca0c3419e66d5103018e86b57eda3904ed0d537b2967ac5b527febd6088600d850b2b059c9b95 SHA512 2701e2387f6d0b3016a04108af980f453cdf64015ade320acf842800e852aa367e158d6edebb565f29505447b4d9188fa5f5c25a8bd2cb14f7cc9c8dab7e7a38
MISC metadata.xml 1033 BLAKE2B 94be58c7c8d0ea88d86c1203b3f77ce4a2bd699360ceba9991b4de77ab626c707941ef79d57f189510de2e43da641d2ce836bcc50df0db4e105f4d6274183653 SHA512 0073116364038e100579fd0db821552a285c5bfc85f2cd20b2b2ff21cc5740df01c59f23964189912d6cc9700515bd604b0fb1efd951f08c6e181bf47b3b59d7
diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
deleted file mode 100644
index ac23f8d54513..000000000000
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-# See bug #822336 re subslot
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc64 ~riscv sparc x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
-
-REQUIRED_USE="|| ( aom dav1d )"
-
-DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
- media-libs/libpng[${MULTILIB_USEDEP}]
- sys-libs/zlib[${MULTILIB_USEDEP}]
- aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
- dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
- gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
- rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
- svt-av1? ( >=media-libs/svt-av1-0.9.1:= )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=ON
- -DAVIF_CODEC_AOM=$(usex aom ON OFF)
- -DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
- -DAVIF_CODEC_LIBGAV1=OFF
-
- # Use system libraries.
- -DAVIF_LOCAL_ZLIBPNG=OFF
- -DAVIF_LOCAL_JPEG=OFF
-
- -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
- -DAVIF_ENABLE_WERROR=OFF
- )
-
- if multilib_is_native_abi; then
- mycmakeargs+=(
- -DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
- -DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
-
- -DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
- -DAVIF_BUILD_APPS=$(usex extras ON OFF)
- -DAVIF_BUILD_TESTS=$(usex extras ON OFF)
- )
- else
- mycmakeargs+=(
- -DAVIF_CODEC_RAV1E=OFF
- -DAVIF_CODEC_SVT=OFF
-
- -DAVIF_BUILD_EXAMPLES=OFF
- -DAVIF_BUILD_APPS=OFF
- -DAVIF_BUILD_TESTS=OFF
- )
-
- if ! use aom ; then
- if use rav1e || use svt-av1 ; then
- ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
- ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
- ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
- fi
- fi
- fi
-
- cmake_src_configure
-}
-
-pkg_postinst() {
- if ! use aom && ! use rav1e && ! use svt-av1 ; then
- ewarn "No AV1 encoder is set,"
- ewarn "libavif will work in read-only mode."
- ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files."
- fi
-
- 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/libavif/libavif-0.11.1.ebuild b/media-libs/libavif/libavif-0.11.1.ebuild
deleted file mode 100644
index 17f6d6812852..000000000000
--- a/media-libs/libavif/libavif-0.11.1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-# See bug #822336 re subslot
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
-
-REQUIRED_USE="|| ( aom dav1d )"
-
-DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
- media-libs/libpng[${MULTILIB_USEDEP}]
- sys-libs/zlib[${MULTILIB_USEDEP}]
- aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
- dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
- extras? ( dev-cpp/gtest )
- gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
- rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
- svt-av1? ( >=media-libs/svt-av1-0.9.1:= )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=ON
- -DAVIF_CODEC_AOM=$(usex aom ON OFF)
- -DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
- -DAVIF_CODEC_LIBGAV1=OFF
-
- # Use system libraries.
- -DAVIF_LOCAL_ZLIBPNG=OFF
- -DAVIF_LOCAL_JPEG=OFF
-
- -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
- -DAVIF_ENABLE_WERROR=OFF
- )
-
- if multilib_is_native_abi; then
- mycmakeargs+=(
- -DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
- -DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
-
- -DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
- -DAVIF_BUILD_APPS=$(usex extras ON OFF)
- -DAVIF_BUILD_TESTS=$(usex extras ON OFF)
- -DAVIF_ENABLE_GTEST=$(usex extras ON OFF)
- )
- else
- mycmakeargs+=(
- -DAVIF_CODEC_RAV1E=OFF
- -DAVIF_CODEC_SVT=OFF
-
- -DAVIF_BUILD_EXAMPLES=OFF
- -DAVIF_BUILD_APPS=OFF
- -DAVIF_BUILD_TESTS=OFF
- -DAVIF_ENABLE_GTEST=OFF
- )
-
- if ! use aom ; then
- if use rav1e || use svt-av1 ; then
- ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
- ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
- ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
- fi
- fi
- fi
-
- cmake_src_configure
-}
-
-pkg_postinst() {
- if ! use aom && ! use rav1e && ! use svt-av1 ; then
- ewarn "No AV1 encoder is set,"
- ewarn "libavif will work in read-only mode."
- ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files."
- fi
-
- 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/libavif/libavif-1.0.4.ebuild b/media-libs/libavif/libavif-1.0.4.ebuild
deleted file mode 100644
index 31c90384ef3f..000000000000
--- a/media-libs/libavif/libavif-1.0.4.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="
- https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz
- -> ${P}.tar.gz
-"
-
-LICENSE="BSD-2"
-# See bug #822336 re subslot
-SLOT="0/16"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc64 ~riscv ~sparc ~x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="|| ( aom dav1d )"
-
-DEPEND="
- media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
- media-libs/libpng:=[${MULTILIB_USEDEP}]
- aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
- dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
- extras? ( test? ( dev-cpp/gtest ) )
- gdk-pixbuf? (
- dev-libs/glib:2[${MULTILIB_USEDEP}]
- x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
- )
- rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
- svt-av1? ( >=media-libs/svt-av1-0.9.1:= )
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- virtual/pkgconfig
-"
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=ON
- -DAVIF_CODEC_AOM=$(usex aom ON OFF)
- -DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
- -DAVIF_CODEC_LIBGAV1=OFF
-
- # Use system libraries.
- -DAVIF_LOCAL_ZLIBPNG=OFF
- -DAVIF_LOCAL_JPEG=OFF
-
- -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
- -DAVIF_ENABLE_WERROR=OFF
- )
-
- if multilib_is_native_abi; then
- mycmakeargs+=(
- -DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
- -DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
-
- -DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
- -DAVIF_BUILD_APPS=$(usex extras ON OFF)
- -DAVIF_BUILD_TESTS=$(usex test ON OFF)
- -DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
- )
- else
- mycmakeargs+=(
- -DAVIF_CODEC_RAV1E=OFF
- -DAVIF_CODEC_SVT=OFF
-
- -DAVIF_BUILD_EXAMPLES=OFF
- -DAVIF_BUILD_APPS=OFF
- -DAVIF_BUILD_TESTS=OFF
- -DAVIF_ENABLE_GTEST=OFF
- )
-
- if ! use aom ; then
- if use rav1e || use svt-av1 ; then
- ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
- ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
- ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
- fi
- fi
- fi
-
- cmake_src_configure
-}
-
-pkg_postinst() {
- if ! use aom && ! use rav1e && ! use svt-av1 ; then
- ewarn "No AV1 encoder is set,"
- ewarn "libavif will work in read-only mode."
- ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files."
- fi
-
- 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/libgphoto2/Manifest b/media-libs/libgphoto2/Manifest
index 13d38e860b90..035d6ef74ecb 100644
--- a/media-libs/libgphoto2/Manifest
+++ b/media-libs/libgphoto2/Manifest
@@ -1,5 +1,4 @@
AUX libgphoto2-2.5.31-c99.patch 1231 BLAKE2B 161b4fceaca4f61a86f6957802c36d9566a67c554748b0d2fc6a77863bd3d420bcbbdaadc96ac54cc886ec80cb046d0e541dcd014bec99f55361914de96127d8 SHA512 f91f12e2809ef1ac6a5f01563d678f00d2dbb32880bcbf6ef7593887e8f41e7f8c4349c5f814ab56340a3e9df3825fae126716aa6ad06c80621558e7871371f1
DIST libgphoto2-2.5.31.tar.xz 6322264 BLAKE2B 9003769bf7726b205f6466e2332d1b144e2e1f2ac190c23f93200ec761597d08a7925e0a16dc65f66c9ca47f0c7e7a563c1cd5ada5cdf528bc605538cf67d80e SHA512 1061a676488aff2cad12a5ee49742be6d18750221ef808d69116763c2b357d38c1372db62933dfa8fd8411758acb97b8e3a40a5d4f37b8c563e981fd4ae4bb1f
-EBUILD libgphoto2-2.5.31-r1.ebuild 6335 BLAKE2B 84a4752d932552755e96486100034ceefcb94be0c49b91dcb60dfd7406638e79f3bef370e75b9542cb774d30970bf6855e20fc7ae4e3f4dbd02ca74f090ceb84 SHA512 f53427fd5c8cac68c7c8bc0ad54de8c65ca7776309f0a8f9f84d7a70789b068c2bb124412a749fde6550c6019c9c8e69ff5fabb1a0aadf27fc042b8693805b9b
EBUILD libgphoto2-2.5.31-r2.ebuild 6194 BLAKE2B 1b767cbd04e21b597b1544af5e96894cd1b0e0e806086d1f728e859b6914921e27bfa194451099ceb9a6f6cd8a245eaeee1665eb06a6944a5c4a76cf3a1e8535 SHA512 912fa1706faf8c289eafa276be58b4ecc2253409bc4f84629a11f0e65d06e147ee9cdefbaea6db6c9a14acf6bd082e61411cb37289a3eaf432917a36ec08d0d3
MISC metadata.xml 458 BLAKE2B 944547ab787583b1cd6678e3183a3f6cd76cf95461fb05758887ccfd41ceb8fc0bf7278fe786fd36fe2eee3664876fe4692d849a88bff58c3707e57f256b67b0 SHA512 a6c0af734aa579d486cb4f707f84b6b6beb26121092ced9976d05a6428a8096f79591b842d3ad906e5cb76ea1c8cd2bc2d21d587d6cb03041cc3ba72905f76be
diff --git a/media-libs/libgphoto2/libgphoto2-2.5.31-r1.ebuild b/media-libs/libgphoto2/libgphoto2-2.5.31-r1.ebuild
deleted file mode 100644
index c61c326f275d..000000000000
--- a/media-libs/libgphoto2/libgphoto2-2.5.31-r1.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO
-# 1. Track upstream bug --disable-docs does not work.
-# https://sourceforge.net/p/gphoto/bugs/643/
-
-EAPI=8
-inherit autotools multilib-minimal udev
-
-DESCRIPTION="Library that implements support for numerous digital cameras"
-HOMEPAGE="http://www.gphoto.org/"
-SRC_URI="https://downloads.sourceforge.net/gphoto/${P}.tar.xz"
-
-LICENSE="GPL-2"
-
-# FIXME: should we also bump for libgphoto2_port.so soname version?
-SLOT="0/6" # libgphoto2.so soname version
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples exif gd jpeg nls serial"
-
-# By default, drivers for all supported cameras will be compiled.
-# If you want to only compile for specific camera(s), set CAMERAS
-# environment to a space-separated list (no commas) of drivers that
-# you want to build.
-IUSE_CAMERAS="
- adc65 agfa_cl20 aox ax203
- barbie
- canon casio_qv clicksmart310
- digigr8 digita dimagev dimera3500 directory
- enigma13
- fuji
- gsmart300
- hp215
- iclick
- jamcam jd11 jl2005a jl2005c
- kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150
- largan lg_gsm
- mars mustek
- panasonic_coolshot panasonic_l859 panasonic_dc1000 panasonic_dc1580 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2
- ricoh ricoh_g3
- samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z
- toshiba_pdrm11 topfield tp6801
-"
-
-for camera in ${IUSE_CAMERAS}; do
- IUSE="${IUSE} +cameras_${camera}"
-done
-
-# libgphoto2 actually links to libltdl
-RDEPEND="
- acct-group/plugdev
- >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
- net-misc/curl[${MULTILIB_USEDEP}]
- dev-libs/libltdl:0[${MULTILIB_USEDEP}]
- >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}]
- cameras_ax203? ( >=media-libs/gd-2.0.35-r4:=[${MULTILIB_USEDEP}] )
- cameras_st2205? ( >=media-libs/gd-2.0.35-r4:=[${MULTILIB_USEDEP}] )
- exif? ( >=media-libs/libexif-0.6.21-r1[${MULTILIB_USEDEP}] )
- gd? ( >=media-libs/gd-2.0.35-r4:=[jpeg=,${MULTILIB_USEDEP}] )
- jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
- serial? ( >=dev-libs/lockdev-1.0.3.1.2-r2[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-build/gtk-doc-am
- app-alternatives/lex
- >=sys-devel/gettext-0.19.1
- virtual/pkgconfig
- doc? ( app-text/doxygen )
-"
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/gphoto2-port-config
- /usr/bin/gphoto2-config
-)
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.5.31-c99.patch
-)
-
-pkg_pretend() {
- if ! echo "${USE}" | grep "cameras_" > /dev/null 2>&1; then
- einfo "No camera drivers will be built since you did not specify any."
- fi
-}
-
-src_prepare() {
- default
-
- # Handle examples ourselves
- sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
- || die "examples sed failed"
-
- eautoreconf # For configure.ac patching
-}
-
-multilib_src_configure() {
- local myconf
- use doc || myconf=( ac_cv_path_DOXYGEN=no )
-
- # Upstream doesn't default to --enable-option-checking due having another
- # configure in libgphoto2_port/ that also needs to be checked on every bump
- #
- # Serial port uses either lockdev or ttylock, but we don't have ttylock
- # --with-doc-dir needed to prevent duplicate docs installation, bug #586842
- ECONF_SOURCE=${S} \
- econf \
- --cache-file="${BUILD_DIR}"/config.cache \
- --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} \
- --disable-docs \
- --disable-gp2ddb \
- $(use_enable nls) \
- $(use_with exif libexif auto) \
- $(use_with gd) \
- $(use_with jpeg) \
- $(use_enable serial) \
- $(use_enable serial lockdev) \
- --with-libusb=no \
- --with-libusb-1.0=auto \
- --disable-ttylock \
- --with-camlibs=${cameras} \
- --with-hotplug-doc-dir="${EPREFIX}"/usr/share/doc/${PF}/hotplug \
- --with-rpmbuild=$(type -P true) \
- udevscriptdir="$(get_udevdir)" \
- "${myconf[@]}"
-}
-
-src_configure() {
- local cameras
- local cam
- local cam_warn=no
- for cam in ${IUSE_CAMERAS} ; do
- if use "cameras_${cam}"; then
- cameras="${cameras},${cam}"
- else
- cam_warn=yes
- fi
- done
-
- if [ "${cam_warn}" = "yes" ]; then
- [ -z "${cameras}" ] || cameras="${cameras:1}"
- einfo "Enabled camera drivers: ${cameras:-none}"
- einfo "Upstream will not support you if you do not compile all camera drivers first"
- else
- cameras="all"
- einfo "Enabled camera drivers: all"
- fi
-
- multilib-minimal_src_configure
-}
-
-multilib_src_compile() {
- default
-
- if multilib_is_native_abi && use doc; then
- doxygen doc/Doxyfile || die "Documentation generation failed"
- fi
-}
-
-multilib_src_install_all() {
- find "${ED}" -name '*.la' -delete || die
-
- einstalldocs
- dodoc TESTERS MAINTAINERS
-
- if use examples; then
- docinto examples
- dodoc examples/README examples/*.c examples/*.h
- fi
-
- # FIXME: fixup autoconf bug #????
- if ! use doc && [ -d "${ED}/usr/share/doc/${PF}/apidocs.html" ]; then
- rm -fr "${ED}/usr/share/doc/${PF}/apidocs.html"
- fi
- # end fixup
-
- local udev_rules cam_list
- udev_rules="$(get_udevdir)/rules.d/70-libgphoto2.rules"
- cam_list="/usr/$(get_libdir)/libgphoto2/print-camera-list"
-
- if [ -x "${ED}"/${cam_list} ]; then
- # Let print-camera-list find libgphoto2.so
- export LD_LIBRARY_PATH="${ED}/usr/$(get_libdir)"
- # Let libgphoto2 find its camera-modules
- export CAMLIBS="${ED}/usr/$(get_libdir)/libgphoto2/${PV}"
-
- einfo "Generating UDEV-rules ..."
- mkdir -p "${ED}"/${udev_rules%/*}
- echo -e "# do not edit this file, it will be overwritten on update\n#" \
- > "${ED}"/${udev_rules}
- "${ED}"${cam_list} udev-rules version 201 group plugdev >> "${ED}"/${udev_rules} \
- || die "failed to create udev-rules"
- else
- eerror "Unable to find print-camera-list"
- eerror "and therefore unable to generate hotplug usermap."
- eerror "You will have to manually generate it by running:"
- eerror " ${cam_list} udev-rules version 201 group plugdev > ${udev_rules}"
- fi
-
-}
-
-pkg_postinst() {
- if ! has_version "sys-auth/consolekit[acl]" && ! has_version "sys-apps/systemd[acl]" && ! has_version "sys-auth/elogind[acl]" ; then
- elog "Don't forget to add yourself to the plugdev group "
- elog "if you want to be able to access your camera."
- fi
-
- local old_udev_rules="${EROOT}"/etc/udev/rules.d/99-libgphoto2.rules
- if [[ -f ${old_udev_rules} ]]; then
- rm -f "${old_udev_rules}"
- fi
-
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/media-libs/libjpeg-turbo/Manifest b/media-libs/libjpeg-turbo/Manifest
index d96a3e5f143a..0b3c69eb92a3 100644
--- a/media-libs/libjpeg-turbo/Manifest
+++ b/media-libs/libjpeg-turbo/Manifest
@@ -1,9 +1,6 @@
-AUX libjpeg-turbo-3.0.0-tests.patch 4077 BLAKE2B 437adbca7b2689508fbe8e025a1d30b706984e082167c855164bcb250829b9231a29df2117db0cb006f86e9ca9e29ece85707e2047f60483da40ef58c6d7d026 SHA512 c17c81ab4130bcb193ecc0754d00916d53ce6be9cdf6f04f6457c125951263c3a085d2baf440ec988feaf5fc45b593db59def096b3f988e9b704690394e2923e
DIST libjpeg-turbo-2.1.5.1.tar.gz 2264936 BLAKE2B 9583a0a91e45347d651de6bf5192a23bfe4e64cef67cdbb18f5b578b424fc46fc114e5649e93a467906cf047948e43a11b6d17b48c47f879c51cff1a4ef356ff SHA512 86a7248d064043b26b09755633ef4872a2a6133c9e677a9fe4be6645b2e0fde102cf01e09119967b3b6b85f4cb93f3f7c49ec4973944d5eff99b5b90ce8b0be6
-DIST libjpeg-turbo-3.0.0.tar.gz 2799663 BLAKE2B 9a4b74aad81c2999ab7f3cd7d8695e1132edda141f4cc8a57e671f42cad4ac16b66b0f19cf4b874b61a82c008287ad88cd81d85547c195ed30456e29cb505285 SHA512 2307a2e240faf5b3119cdc5cf6a0255813d74591d4a4201fd2374940683cb9de90cb5926367e633f3624b27edd292209c7cd3c38d64522716e83fc81361289b4
DIST libjpeg-turbo-3.0.3.tar.gz 2832827 BLAKE2B 9d141dadd0dce970bf857b51352c57a8e15180438abd7d6d66f9dfd24e23889add8c6c89120b84026e40ab61611516b0567984bd1db37e9c45b41917cf32e9a6 SHA512 7c3a6660e7a54527eaa40929f5cc3d519842ffb7e961c32630ae7232b71ecaa19e89dbf5600c61038f0c5db289b607c2316fe9b6b03d482d770bcac29288d129
DIST libjpeg8_8d-2.debian.tar.gz 14764 BLAKE2B e93d12afa062da28b717b540492221f70e8d9ccf3885371647cf85a2937f938ca723d4a27d5e1c5d79c26aa25dddf69b38754558851a1704172e8b52baf8e17c SHA512 8c5959fb7583a2d61e9442187f67b91b45e72d9dd30db3360d583a3b5d8e1a908db5659f760bdd455b3056e6ae3535b2fd3b847df3d58b140a1816b754003675
EBUILD libjpeg-turbo-2.1.5.1.ebuild 3143 BLAKE2B a2a52f599228482c18199be582ac774913ec7071a51a1c0c9817a37521493379fa80697d093046f169b2accc73b136ec3e5d07c94c0619d91300943077da41b4 SHA512 0bdfb6ff0eaf030243f17eb68cb53a12586efef9c24b91f3761ff7d2f0bf5b8d15151ba041d1fb392d9cb8f0a2ebd20639d0523757ac6a146b7c1653b2364e28
-EBUILD libjpeg-turbo-3.0.0.ebuild 3176 BLAKE2B 9068311e0a0d3b107bea23eaa0b541616d7b5a60bd3a1add16beeed27c5045472f24d2da04cbe027196d21c4e1193ddc623c795a191d55d85019bd0da4ae7e8c SHA512 7d301418522bb497fc4e41f0eeeeeee2fea5601bda5ea94403367879b87bb76f86a8fa8a61a47a6e4ed52cdbefc560365078dc166aaaa1e7a02521ff5d643168
EBUILD libjpeg-turbo-3.0.3-r1.ebuild 3243 BLAKE2B 5a98b29e31f1751e4eba39e7aea75b66a9d29878f9e80633242e1818d7ae280f2cd2c5224bec2928cdb939b03b9dfd8d2555258719fd3b554f76cefb995717e3 SHA512 d82b9c94d2c156ad1514e5deb38fd24edc914289a6caa0c86ce6b63970fbaa2f10ed4c60b3f5c2a1c7316997c0463f4a7f2e03819e4bceaca6c432510d749f6d
MISC metadata.xml 567 BLAKE2B b4e2dc1098bc3a518b8af80dd63a9d6d000c6a62ab26e9d7792743b10955738bfccde4f6e32d46599194d8f63066913dad4b20c7a8674917d7bf9cd217a0f9bc SHA512 d9af7f4a6ca425c6ae75ac96da3b4467c62dc3baa0be04e590dc821f17e03e12279ed1faf2e66944ce0bed9ed0c9b176e7e372278062588db7adc9ed71f200c1
diff --git a/media-libs/libjpeg-turbo/files/libjpeg-turbo-3.0.0-tests.patch b/media-libs/libjpeg-turbo/files/libjpeg-turbo-3.0.0-tests.patch
deleted file mode 100644
index 303223fdd6b3..000000000000
--- a/media-libs/libjpeg-turbo/files/libjpeg-turbo-3.0.0-tests.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-https://github.com/libjpeg-turbo/libjpeg-turbo/issues/705
-https://github.com/libjpeg-turbo/libjpeg-turbo/commit/035ea386d1b6a99a8a1e2ab57cc1fc903569136c
-
-From 035ea386d1b6a99a8a1e2ab57cc1fc903569136c Mon Sep 17 00:00:00 2001
-From: DRC <information@libjpeg-turbo.org>
-Date: Thu, 6 Jul 2023 12:04:22 -0400
-Subject: [PATCH] Build: Fix regression test concurrency issues
-
-- The example-*bit-*-decompress test must run after the
- example-*bit-*-compress test, since the latter generates
- testout*-example.jpg.
-
-- Add -static to the filenames of all output files generated by the
- "static" regression tests, to avoid conflicts with the "shared"
- regression tests.
-
-- Add the PID to the filenames of all files generated by the tjunittest
- packed-pixel image I/O tests.
-
-- Check the return value of MD5File() in tjunittest to avoid a segfault
- if the file doesn't exist. (Prior to the fix described above, that
- could occur if two instances of tjunittest ran concurrently from the
- same directory with the same -bmp and -precision arguments.)
-
-Fixes #705
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1004,7 +1004,7 @@ foreach(libtype ${TEST_LIBTYPES})
-
- if(sample_bits EQUAL 12)
- set(tjbench tjbench12)
-- set(testout testout12)
-+ set(testout testout12${suffix})
-
- set(MD5_PPM_GRAY_TILE 2f799249148b1a9d0e61fa4408f6c397)
- set(MD5_PPM_420_8x8_TILE b25684e1af37be504ee3fd137757353f)
-@@ -1024,7 +1024,7 @@ foreach(libtype ${TEST_LIBTYPES})
- set(MD5_PPM_444_TILE 2f571a032e4dbc8ef40f75219d336b0b)
- else()
- set(tjbench tjbench)
-- set(testout testout)
-+ set(testout testout${suffix})
-
- set(MD5_PPM_GRAY_TILE 2c3b567086e6ca0c5e6d34ad8d6f6fe8)
- set(MD5_PPM_420_8x8_TILE efca1bdf0226df01777137778cf986ec)
-@@ -1160,7 +1160,7 @@ foreach(libtype ${TEST_LIBTYPES})
- set(cjpeg cjpeg12)
- set(djpeg djpeg12)
- set(jpegtran jpegtran12)
-- set(testout testout12)
-+ set(testout testout12${suffix})
-
- set(TESTORIG testorig12.jpg)
- set(MD5_JPEG_RGB_ISLOW 9d7369207c520d37f2c1cbfcb82b2964)
-@@ -1222,7 +1222,7 @@ foreach(libtype ${TEST_LIBTYPES})
- set(cjpeg cjpeg)
- set(djpeg djpeg)
- set(jpegtran jpegtran)
-- set(testout testout)
-+ set(testout testout${suffix})
-
- set(TESTORIG testorig.jpg)
- set(MD5_JPEG_RGB_ISLOW 1d44a406f61da743b5fd31c0a9abdca3)
-@@ -1632,6 +1632,8 @@ foreach(libtype ${TEST_LIBTYPES})
- add_test(example-${sample_bits}bit-${libtype}-decompress
- ${CMAKE_CROSSCOMPILING_EMULATOR} example${suffix} decompress
- ${EXAMPLE_12BIT_ARG} ${testout}-example.jpg ${testout}-example.ppm)
-+ set_tests_properties(example-${sample_bits}bit-${libtype}-decompress
-+ PROPERTIES DEPENDS example-${sample_bits}bit-${libtype}-compress)
- add_test(example-${sample_bits}bit-${libtype}-decompress-cmp
- ${CMAKE_CROSSCOMPILING_EMULATOR} ${MD5CMP} ${MD5_PPM_EXAMPLE_DECOMPRESS}
- ${testout}-example.ppm)
---- a/tjunittest.c
-+++ b/tjunittest.c
-@@ -977,8 +977,8 @@ static int doBmpTest(const char *ext, int width, int align, int height, int pf,
- THROW("Could not allocate memory");
- initBitmap(buf, width, pitch, height, pf, bottomUp);
-
-- SNPRINTF(filename, 80, "test_bmp%d_%s_%d_%s.%s", precision, pixFormatStr[pf],
-- align, bottomUp ? "bu" : "td", ext);
-+ SNPRINTF(filename, 80, "test_bmp%d_%s_%d_%s_%d.%s", precision, pixFormatStr[pf],
-+ align, bottomUp ? "bu" : "td", getpid(), ext);
- if (precision == 8) {
- TRY_TJ(handle, tj3SaveImage8(handle, filename, (unsigned char *)buf, width,
- pitch, height, pf));
-@@ -990,6 +990,10 @@ static int doBmpTest(const char *ext, int width, int align, int height, int pf,
- width, pitch, height, pf));
- }
- md5sum = MD5File(filename, md5buf);
-+ if (!md5sum) {
-+ printf("\n Could not determine MD5 sum of %s\n", filename);
-+ retval = -1; goto bailout;
-+ }
- if (strcasecmp(md5sum, md5ref))
- THROW_MD5(filename, md5sum, md5ref);
-
-
diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.0.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.0.ebuild
deleted file mode 100644
index c1b081629167..000000000000
--- a/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.0.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib java-pkg-opt-2
-
-DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library"
-HOMEPAGE="https://libjpeg-turbo.org/ https://sourceforge.net/projects/libjpeg-turbo/"
-SRC_URI="
- https://downloads.sourceforge.net/${PN}/${P}.tar.gz
- mirror://gentoo/libjpeg8_8d-2.debian.tar.gz
-"
-
-LICENSE="BSD IJG ZLIB"
-SLOT="0/0.2"
-if [[ $(ver_cut 3) -lt 90 ]] ; then
- KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris"
-fi
-IUSE="cpu_flags_arm_neon java static-libs"
-
-ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )"
-COMMON_DEPEND="
- !media-libs/jpeg:0
- !media-libs/jpeg:62
-"
-DEPEND="
- ${COMMON_DEPEND}
- java? ( >=virtual/jdk-1.8:*[-headless-awt] )
-"
-RDEPEND="
- ${COMMON_DEPEND}
- java? ( >=virtual/jre-1.8:* )
-"
-BDEPEND="
- amd64? ( ${ASM_DEPEND} )
- x86? ( ${ASM_DEPEND} )
- amd64-linux? ( ${ASM_DEPEND} )
- x86-linux? ( ${ASM_DEPEND} )
- x64-macos? ( ${ASM_DEPEND} )
-"
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h )
-
-PATCHES=(
- "${FILESDIR}"/${P}-tests.patch
-)
-
-src_prepare() {
- local FILE
- ln -snf ../debian/extra/*.c . || die
-
- for FILE in ../debian/extra/*.c; do
- FILE=${FILE##*/}
- cat >> CMakeLists.txt <<-EOF || die
- add_executable(${FILE%.c} ${FILE})
- install(TARGETS ${FILE%.c})
- EOF
- done
-
- cmake_src_prepare
- java-pkg-opt-2_src_prepare
-}
-
-multilib_src_configure() {
- if multilib_is_native_abi && use java ; then
- export JAVACFLAGS="$(java-pkg_javac-args)"
- export JNI_CFLAGS="$(java-pkg_get-jni-cflags)"
- fi
-
- local mycmakeargs=(
- -DCMAKE_INSTALL_DEFAULT_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
- -DENABLE_STATIC="$(usex static-libs)"
- -DWITH_JAVA="$(multilib_native_usex java)"
- )
-
- # Avoid ARM ABI issues by disabling SIMD for CPUs without NEON, bug #792810
- if use arm || use arm64; then
- mycmakeargs+=(
- -DWITH_SIMD=$(usex cpu_flags_arm_neon)
- -DNEON_INTRINSICS=$(usex cpu_flags_arm_neon)
- )
- fi
-
- # We should tell the test suite which floating-point flavor we are
- # expecting: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/597
- # For now, mark loong as fp-contract.
- if use loong; then
- mycmakeargs+=(
- -DFLOATTEST=fp-contract
- )
- fi
-
- # Mostly for Prefix, ensure that we use our yasm if installed and
- # not pick up host-provided nasm
- if has_version -b dev-lang/yasm && ! has_version -b dev-lang/nasm; then
- mycmakeargs+=(
- -DCMAKE_ASM_NASM_COMPILER=$(type -P yasm)
- )
- fi
-
- cmake_src_configure
-}
-
-multilib_src_install() {
- cmake_src_install
-
- if multilib_is_native_abi && use java ; then
- rm -rf "${ED}"/usr/classes || die
- java-pkg_dojar java/turbojpeg.jar
- fi
-}
-
-multilib_src_install_all() {
- find "${ED}" -type f -name '*.la' -delete || die
-
- local -a DOCS=( README.md ChangeLog.md )
- einstalldocs
-
- newdoc "${WORKDIR}"/debian/changelog changelog.debian
- dobin "${WORKDIR}"/debian/extra/exifautotran
- doman "${WORKDIR}"/debian/extra/*.[0-9]*
-
- docinto html
- dodoc -r "${S}"/doc/html/.
-
- if use java; then
- docinto html/java
- dodoc -r "${S}"/java/doc/.
- newdoc "${S}"/java/README README.java
- fi
-}
diff --git a/media-libs/libjxl/Manifest b/media-libs/libjxl/Manifest
index 29bc3b04eeba..d735814e0996 100644
--- a/media-libs/libjxl/Manifest
+++ b/media-libs/libjxl/Manifest
@@ -1,15 +1,10 @@
-AUX libjxl-0.8.2-backport-pr2596.patch 2017 BLAKE2B 3155febe7e02fc34dfdf692821028e16f97272f751176ef22126151e8edf18e2c7d9da88d9bc8334cd4737d36037a5a04eb7360a41fde39605db62942c52e62c SHA512 4f8cd6f2a70077b8e52b084a4c76f5a029e3e13e578d28bb2d9d3470ae89fa6867d541bacd079bd55b76eb17a1c2f3d845715fc0d4c9e2a199618d8a6871d1a1
-AUX libjxl-0.8.2-backport-pr2617.patch 2853 BLAKE2B edeafa5bfa85f9868d98f4ee38be2dd4a5d747517e6aec59688d5314f1b6ede74bc3d20a11d08e3e2e2e87e8da987730a8a8cafcecce69369fdfa7bcb8ef2828 SHA512 ad8ddbe50d23895a3127d11bf36832ad1a1762e9b54bacc5f4d881accb5c81801618254b9b56afc4b145a7fb19bab8ca739974ff3bcb498e7db812d3a6cf004d
-AUX libjxl-0.9.1-backport-pr3143.patch 1065 BLAKE2B acc6ab904994f42cffe19296966587dbbf316289277d91e1a17cd635161b51eed770ab95fc682d93b8693d50def9bb205290c3eb534effdfdc2cd057db36647c SHA512 d5eeca764e13175eb64ba5ee47a9bf03080d0830395ba9b626b7144674a5ce8fbb694705a4d2c55f3b52507a59c5793e21e9c99dded65803857a0859a1f9f466
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-0.9.3.tar.gz 1873236 BLAKE2B eb3811ef4fc64bb5df2e06b6b86cbc1b5dbe6eb9728e5ad5a8b791be57359eb63442722cdf629b006be518bf575409b93758d7ec0376a596de4405fb7686b7f2 SHA512 8aace2d8c0ece9db64a1620a10581ddc5a450543db64d44f864eaa5d3b8b3f0466c501fed5d58abdbf6eb5f90af25f6370c33718847bd070e851a02b560f541e
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-0.9.3.ebuild 2996 BLAKE2B a6aef6912df3ec3ddca870b15296b3ae356a1617b6b7cf26a5525108d6aaeee10793d99d84f058b27ea59b0c7c0283fc4ead75780b7db60af674ad4722bdbcb8 SHA512 6bfa8dd8c1add61bfe13c3793713e98bfc5bf8f2ed43c3289424357e8a16a7475ca3081694fa5c6ca279594fd353a2561aabb46ffb2336eb7b10cdca2c7717f2
EBUILD libjxl-9999.ebuild 2608 BLAKE2B e4247be931c67d10fa9e200bc113731a940678547be3743a282087dc09b1afe1bee0063ec0d090f60c3860d4542d210f50fdc762263f2609f6fedcb10df058f3 SHA512 63b91932054fd351b091daa652b0f000ad7675e48cb489e4b52da4d99991066dc501d8814b02c2b005e5211f032fe7f6dee1b53944fc239b7bbadd46ee143339
MISC metadata.xml 1029 BLAKE2B 4c5ef3d7aca316b497d964b1afcee9f71b165545691182c3818ef4f9a8bc7f10fdbed36a8bd58b0051b1f9851018a11efa3e9f7b57c5ec935435e16bd26b6036 SHA512 a3129f77efc640e78a2f1fa481fb6363249be74e74aabccb51970ec101808db95a326deeecfa557b669cfb2bf26622fc7dbcbe7624a0315d770e697bc3734296
diff --git a/media-libs/libjxl/files/libjxl-0.8.2-backport-pr2596.patch b/media-libs/libjxl/files/libjxl-0.8.2-backport-pr2596.patch
deleted file mode 100644
index 43448a01c473..000000000000
--- a/media-libs/libjxl/files/libjxl-0.8.2-backport-pr2596.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-https://bugs.gentoo.org/908939
-https://github.com/libjxl/libjxl/issues/2433
-https://github.com/libjxl/libjxl/pull/2596
-
-From 6a5cd1ff847e7b18ba8b87fcc11ada17dccb0692 Mon Sep 17 00:00:00 2001
-From: Sami Boukortt <sboukortt@google.com>
-Date: Thu, 22 Jun 2023 12:26:25 +0200
-Subject: [PATCH] Make sure to read the rendering intent before the CICP tag
-
-The code that reads the CICP tag exits the function if it succeeds, but
-it should not skip reading the rendering intent, so make sure to have
-already done it by that point.
----
- lib/jxl/enc_color_management.cc | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/lib/jxl/enc_color_management.cc b/lib/jxl/enc_color_management.cc
-index 752e3e02c0..2b519d152e 100644
---- a/lib/jxl/enc_color_management.cc
-+++ b/lib/jxl/enc_color_management.cc
-@@ -982,6 +982,14 @@ Status ColorEncoding::SetFieldsFromICC() {
- Profile profile;
- JXL_RETURN_IF_ERROR(DecodeProfile(context, icc_, &profile));
-
-+ const cmsUInt32Number rendering_intent32 =
-+ cmsGetHeaderRenderingIntent(profile.get());
-+ if (rendering_intent32 > 3) {
-+ return JXL_FAILURE("Invalid rendering intent %u\n", rendering_intent32);
-+ }
-+ // ICC and RenderingIntent have the same values (0..3).
-+ rendering_intent = static_cast<RenderingIntent>(rendering_intent32);
-+
- static constexpr size_t kCICPSize = 12;
- static constexpr auto kCICPSignature =
- static_cast<cmsTagSignature>(0x63696370);
-@@ -993,14 +1001,6 @@ Status ColorEncoding::SetFieldsFromICC() {
- return true;
- }
-
-- const cmsUInt32Number rendering_intent32 =
-- cmsGetHeaderRenderingIntent(profile.get());
-- if (rendering_intent32 > 3) {
-- return JXL_FAILURE("Invalid rendering intent %u\n", rendering_intent32);
-- }
-- // ICC and RenderingIntent have the same values (0..3).
-- rendering_intent = static_cast<RenderingIntent>(rendering_intent32);
--
- SetColorSpace(ColorSpaceFromProfile(profile));
- if (cmsGetColorSpace(profile.get()) == cmsSigCmykData) {
- cmyk_ = true;
diff --git a/media-libs/libjxl/files/libjxl-0.8.2-backport-pr2617.patch b/media-libs/libjxl/files/libjxl-0.8.2-backport-pr2617.patch
deleted file mode 100644
index af9345867473..000000000000
--- a/media-libs/libjxl/files/libjxl-0.8.2-backport-pr2617.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-https://bugs.gentoo.org/908939
-https://github.com/libjxl/libjxl/issues/2433
-https://github.com/libjxl/libjxl/pull/2617
-
-From d9637bd803bf9fadc00aa01cea7becfff1e00e1f Mon Sep 17 00:00:00 2001
-From: Sami Boukortt <sboukortt@google.com>
-Date: Mon, 26 Jun 2023 15:06:17 +0200
-Subject: [PATCH] Fix decode_test with lcms2
-
-Co-authored-by: Zoltan Szabadka <szabadka@google.com>
-Co-authored-by: Luca Versari <veluca@google.com>
----
- lib/jxl/decode_test.cc | 17 +++++++++++------
- 1 file changed, 11 insertions(+), 6 deletions(-)
-
-diff --git a/lib/jxl/decode_test.cc b/lib/jxl/decode_test.cc
-index 44ead99ec6..bbb7bda39c 100644
---- a/lib/jxl/decode_test.cc
-+++ b/lib/jxl/decode_test.cc
-@@ -3734,13 +3734,18 @@ void AnalyzeCodestream(const jxl::PaddedBytes& data,
- jxl::Span<const uint8_t>(codestream.data(), codestream.size()));
- ASSERT_EQ(br.ReadFixedBits<16>(), 0x0AFF);
- jxl::CodecMetadata metadata;
-- EXPECT_TRUE(ReadSizeHeader(&br, &metadata.size));
-- EXPECT_TRUE(ReadImageMetadata(&br, &metadata.m));
-+ ASSERT_TRUE(ReadSizeHeader(&br, &metadata.size));
-+ ASSERT_TRUE(ReadImageMetadata(&br, &metadata.m));
- streampos->basic_info =
- add_offset(br.TotalBitsConsumed() / jxl::kBitsPerByte);
- metadata.transform_data.nonserialized_xyb_encoded = metadata.m.xyb_encoded;
-- EXPECT_TRUE(jxl::Bundle::Read(&br, &metadata.transform_data));
-- EXPECT_TRUE(br.JumpToByteBoundary());
-+ ASSERT_TRUE(jxl::Bundle::Read(&br, &metadata.transform_data));
-+ if (metadata.m.color_encoding.WantICC()) {
-+ jxl::PaddedBytes icc;
-+ ASSERT_TRUE(jxl::ReadICC(&br, &icc));
-+ ASSERT_TRUE(metadata.m.color_encoding.SetICCRaw(std::move(icc)));
-+ }
-+ ASSERT_TRUE(br.JumpToByteBoundary());
- bool has_preview = metadata.m.have_preview;
- while (br.TotalBitsConsumed() < br.TotalBytes() * jxl::kBitsPerByte) {
- FramePositions p;
-@@ -3750,7 +3755,7 @@ void AnalyzeCodestream(const jxl::PaddedBytes& data,
- frame_header.nonserialized_is_preview = true;
- has_preview = false;
- }
-- EXPECT_TRUE(ReadFrameHeader(&br, &frame_header));
-+ ASSERT_TRUE(ReadFrameHeader(&br, &frame_header));
- p.header_end =
- add_offset(jxl::DivCeil(br.TotalBitsConsumed(), jxl::kBitsPerByte));
- jxl::FrameDimensions frame_dim = frame_header.ToFrameDimensions();
-@@ -3760,7 +3765,7 @@ void AnalyzeCodestream(const jxl::PaddedBytes& data,
- frame_header.passes.num_passes, /*has_ac_global=*/true);
- std::vector<uint64_t> section_offsets;
- std::vector<uint32_t> section_sizes;
-- EXPECT_TRUE(ReadGroupOffsets(toc_entries, &br, &section_offsets,
-+ ASSERT_TRUE(ReadGroupOffsets(toc_entries, &br, &section_offsets,
- &section_sizes, &groups_total_size));
- EXPECT_EQ(br.TotalBitsConsumed() % jxl::kBitsPerByte, 0);
- size_t sections_start = br.TotalBitsConsumed() / jxl::kBitsPerByte;
diff --git a/media-libs/libjxl/files/libjxl-0.9.1-backport-pr3143.patch b/media-libs/libjxl/files/libjxl-0.9.1-backport-pr3143.patch
deleted file mode 100644
index 06c1498f3fea..000000000000
--- a/media-libs/libjxl/files/libjxl-0.9.1-backport-pr3143.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 0bfdf5c5429dbb866142bd75e4877794dc723b25 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20Novomesk=C3=BD?= <dnovomesky@gmail.com>
-Date: Mon, 15 Jan 2024 17:18:33 +0100
-Subject: [PATCH] plugins: use JPEGXL_TEST_DATA_PATH instead of hard-coded
- path.
-
----
- plugins/gdk-pixbuf/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/plugins/gdk-pixbuf/CMakeLists.txt b/plugins/gdk-pixbuf/CMakeLists.txt
-index 7b53b98c665..12c1a83753e 100644
---- a/plugins/gdk-pixbuf/CMakeLists.txt
-+++ b/plugins/gdk-pixbuf/CMakeLists.txt
-@@ -74,7 +74,7 @@ if(BUILD_TESTING AND NOT CMAKE_CROSSCOMPILING)
- COMMAND
- ${XVFB_PROGRAM_PREFIX} $<TARGET_FILE:pixbufloader_test>
- "${CMAKE_CURRENT_SOURCE_DIR}/loaders_test.cache"
-- "${CMAKE_SOURCE_DIR}/testdata/jxl/blending/cropped_traffic_light.jxl"
-+ "${JPEGXL_TEST_DATA_PATH}/jxl/blending/cropped_traffic_light.jxl"
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- )
- set_tests_properties(pixbufloader_test_jxl PROPERTIES SKIP_RETURN_CODE 254)
diff --git a/media-libs/libjxl/libjxl-0.9.3.ebuild b/media-libs/libjxl/libjxl-0.9.3.ebuild
deleted file mode 100644
index d2a844f6cf81..000000000000
--- a/media-libs/libjxl/libjxl-0.9.3.ebuild
+++ /dev/null
@@ -1,119 +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}] )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.1-backport-pr3143.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_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/libopenraw/Manifest b/media-libs/libopenraw/Manifest
index 05d238fd9d4f..878fe1c719fd 100644
--- a/media-libs/libopenraw/Manifest
+++ b/media-libs/libopenraw/Manifest
@@ -1,39 +1,6 @@
AUX libopenraw-0.3.7-slibtool.patch 605 BLAKE2B 0369ca04439c0b69548079dc6ce69fd562bb3bcdb15ec2f76eafb76260846af16bbd33c60aed89967b1bd29b4cccd6ec7985b101b7af43c8dc0160569404c385 SHA512 7ee3505a2690777218b558b1016d19e00d63153cfa4a2fdb125327fb0a1f59224703b0af16329936e08e7fca65e615a840cd61e4d24f246dc89d329e1b0c5593
-DIST ahash-0.7.6.crate 38030 BLAKE2B aca3661477fcd7822d6d10970151e05c28e1615f8cd7ddaac064b15102027e404b19b0f3f16dd76145048594ea1c22ae27dd08cc05c411efbae9ec7a1ef55ce9 SHA512 61354688b6fb096359faefb6f34be958cd2215d56b88c22c737d24183eaad433f811bc9e64f927e4852c87d2799c22fda82b55cfbef2ed6357ff74f0c4ffec68
-DIST aho-corasick-0.7.18.crate 112923 BLAKE2B 4f6947d1aacf89ccfab0592cdc55fa61ef09cea38231d3f758765dbce328a810c0b588be4ba96e81d64955379ee005722d22a7aec39caea6e72342245d7ca34f SHA512 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
-DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
-DIST autocfg-1.0.0.crate 12870 BLAKE2B 79e495d53298574afd3b292da7c9c363dcb3ea434fd44258efaf3628e95ebfc731f03083f8a1060272a2a3478a6452cdc41539e2dac08465cc6e6283844bf260 SHA512 451fc63148792ba1952b884170e3481359b01bacca5ec0456f43ca58f8e092b8f81c9764f8b00d4104059ff608089be5858220ee868127c064cc890c767ec3a3
-DIST bitreader-0.3.2.crate 10778 BLAKE2B ba442703e2cfaf0c1b30ad80263ead5e34066df8a2575dfa81fde0f989a498d1bebaa623c74e48bf1a89140498b4cff9ee231c85239b8c146e9dc5fb8de608ea SHA512 2feb9fff54b91c042c988e3b46d587ad1c2433aba07336208f4d4075d8764ed6d1f8fb6c048276eadabb6c1426fa3a6e56cf2bfecfaa8563084bfa4f5e56763d
-DIST byteorder-1.2.2.crate 18909 BLAKE2B 69b23142053a738768028a9b28935461d5f12e1ac8849e30a007e7f223efe81004c4815ba13b92fa9e23867d32867810d889586f4d70bd5bac3280dfa5a6eb51 SHA512 b3b0aa23f0d6a5023fbc8571e73cb7aabd8148f9dcba8da9aad49cabf97dabbbb3a05764cd3604edbd00ecb56ee0695cd30a67d9d51264539169e400d7bbc478
-DIST cfg-if-0.1.10.crate 7933 BLAKE2B 063a96ed176f34f788666b40adc483d147fc011dee941ab60569ddd0e57502b5dd06ed71090f4e14ce005d06e240500a286f74652615e9d068fba649610d8cf8 SHA512 9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339
-DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
-DIST env_logger-0.8.4.crate 33342 BLAKE2B b1bb359be2f34ca6f93f72154c86920b8254f574b48f693b2ae7296cd1ff25d34dea61e95fb2954569fdebb6c522c851ef7499c107005528aa2226df13b0de33 SHA512 9e4478ff609a2e1e1a902a55b221af43a52622fdb5668dc33fb0be354b964708b7b6d13b7f1ef11982f45fa7e71f0712a2ab3fd4ea98155a5115e5a7c3d33049
-DIST fallible_collections-0.4.4.crate 48989 BLAKE2B 2d1805b5095f607048ef30341cb00bd50539b03920b84ffef75d1ce13decf730889c84617c5d7866403c6a8d121e5076ada9d13eb0d18b7b29be6d8ce7440d2e SHA512 1d91ee35dac5de7d80a57c30342f60cc99b5e5109a93c4b86d97eef99d96855282ad1756c3d65f9a275c0ee6e596d1eb589bd9f3c53135f3b4dbcea57cce1424
-DIST getrandom-0.2.7.crate 28854 BLAKE2B 30c054361c9b1d9f95bc505e27e98d8cbb685f37c91437948d9d26f22028e0797a7c704d88912c1648b3704bfe10623a8c5e130e81746c8f85848b831771db80 SHA512 01803e609848662ad8650cf451dfc2c37580da0b7b5e0d4cc764da6ded253cf49ae42a433b1c53e89773bde00c1ccc136394e58ed4548e7b5c0ca7e202e857e1
-DIST hashbrown-0.11.2.crate 85713 BLAKE2B 402f9f1bdcb92631206f9b72923ee35e28db8623e87469c0f1496664bc7185077013ab3c8aea68268241e5b2504f10cddc613a350abd4291050deda6c112e559 SHA512 c21ca68fd49bbb741901f59fed04cc124b8da99e2a4dfc26e2e5e1140637872b344612a01691bd30cc771575c571be15f756c84dde225441699cd2322af2ad6c
-DIST hermit-abi-0.1.8.crate 7581 BLAKE2B 90fef564dd39973c5ff8ee3d4a9b129f1ca00800ca459c644ee08df1542c5adbc06881a7a59d37fe6e03a72a2df21917e38544759a2833dd8f8c065261cc1512 SHA512 25f7806834ea007174001284200201895f4536d5a447dea6c165b43c30b30871f78da5f3ef0d79579e3195951e6fd7ee5e21ec80811c515fd096f2e7b3bf7b9b
-DIST humantime-2.1.0.crate 16749 BLAKE2B e2ae8325b037fb175b9200cc5c1944ce579056c6662cce307beb6701894552362a25e371aad65f8fb9384945b48815ca74bb8b544a32e0a5845b7edd30b918c9 SHA512 3bf29ddd1391d82897c22baa0ff3ed58ef6d6959859f1f8ed54d324caba5b6fb4422e56790511ce82f902cd11467f93c8ab7fc7b0e0bdb719308a4d0a446ae0c
-DIST libc-0.2.126.crate 590481 BLAKE2B 1000de6b9fa2b3ff025b961e504d6d20b401f37cdeda6710187d18ad2dfe8ec89142bba65486d7853f1796897b58f343c5a34dd6381a0d0794b615635ac31175 SHA512 9bbb17f64a7503819616a71076ebe8ee317daf07b17b9fff783a4459da0439aecee535c09e7185bf148b1993e6fc958d182a490fc9c9a7b9fb635429c491ca44
-DIST libopenraw-0.1.3.tar.xz 452020 BLAKE2B 7779039046eaaeff437d81a6504a2082ef88d6b44185a99469dad7df4f8eff9ba3f4f168ef0b630923f3f210930e26c454ac318c7278b676d39210e6c3eeb2a2 SHA512 54f0b151f572086ed2551d05f2700cb2a4e3aeea26a26fe49f137cd0819411c289944f07626a643a902196fd9ff7c8daf8987b0ba821f6045554aeda3854bde2
-DIST libopenraw-0.3.3.tar.xz 570284 BLAKE2B 3c0902e4d525aab919e8856041c563c4a56a58db70771b24d3c12bc9db268bb0a7a32a9a64604dcf6d1719c632663bea8e1d9c94c160ba3468466f333598ab93 SHA512 8c4894a0119c7f58fe965002b69cb2caa0c5b9d2e3656dddc0da0c07674290b155d50338a3f4b62e4faccaa908028ecf4c26a80b8a95d51638bf4bd7bec6c9e1
DIST libopenraw-0.3.6.tar.xz 2536224 BLAKE2B 675e31773db55d00843779f7e42b11f51b2060e6a9cc30e70b0cc34da6821241616e9e6f2f4f9d441464760643ef124e857b732ba3752ecae40b69753ca4911b SHA512 be6de3b264145297801513bccc49f18684242db71fcbdbc288132b05b805d9c0e1f194db3baab3f233ca3ca98df865bcc4f0b41812afbd5b3957843026293536
DIST libopenraw-0.3.7.tar.xz 2536380 BLAKE2B 22aacfb085c59fa4b763abc3454839812327d1b6506b2e531783b0529ca3a5e24605a010e6c510d942741d4f0afc208ca626bdef1a93ad42fbf0f5c1e347f5cb SHA512 0781e9377100e954f8a7f020da537ec2af033b23341a7944fc346a973fecb463ed29b375275ae8b4bd6f40721ee4f12480729df80337d57cac30627e084594d1
-DIST log-0.4.17.crate 38028 BLAKE2B b46be3719fc0a53e50b1f342762e188587e9f1ceb692c72473ce2663edfb8253742d30024e68c1444780ab7fc0e2d5b0601b8ea7228dc3405a9342a57548e605 SHA512 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2
-DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
-DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8
-DIST once_cell-1.12.0.crate 31549 BLAKE2B 72a6c2efe279abce207096dfc47d207adae34764642f742bcbddcd8ebab9f78f6c2ea7750bd670844de5f6989e4951904b5f624281c28346cb6c41c585137e91 SHA512 02da0e6eccee2d5246fff5e6323bd7eff0f4641801be5e5910763929a5e9d8b62c07f81001c405cc6aff03f68a14ed5bfebd9900bbdd09568bd1ab9ca9b73093
-DIST regex-1.5.6.crate 238593 BLAKE2B d2b200d9d3d8924e7dd7a1f96c769a5bdf01d9bcd358ffb90692c526a81ac6f1a5db8ab0c343b96868ef9d71e78633373744468fe97d281676c84ac795352745 SHA512 43ad2ebe14f43d69c62f563a4fd53b5657f0f2cc130a0e6353a13073027640ff891e9f9b40ea85858507047bddb2e023d668c9bf57f2ba0ae045b74b5f0d2a1f
-DIST regex-syntax-0.6.26.crate 293912 BLAKE2B b0ea1ea1f87a493c770265a8d9371e3c532bf5ca20330b5946f5c922292d4420ddcfc30105a4ec3c1b154b5a77e55e86987f7edd61ef34c12eb0b4bbcaf23d2b SHA512 46087f5a2abfb48f24da77e79e66f6e514b5d005c4ae2c3283418ec471ddac9e4a1361edbae9d27efeb10217157092f812946b7b98182cf9f8aa703e01c03634
-DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee
-DIST termcolor-1.1.3.crate 17242 BLAKE2B 5aef69c0004081bd3cc4d531d13d63627cc02313868c0faab62358d13abfa7b4ba82f142c2801d25a6ae46ecbc8b7bdbeaa21c9105ea3b8950ab6a38cdb88513 SHA512 5838fcbfd70f300cb4b62aab50565db52074c56b152ccc8ac1173e4676c0d5a636271bf5a645a77da6e1d4edbf0091af2cd4dd6d73b85c3d198c760898c06f3a
-DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8
-DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f
-DIST winapi-0.3.8.crate 1128308 BLAKE2B e0e8ef6121f222b0500525192ebb69b26b71cc16f9ba92186f8ad6acc9de4cb8cc7c738f9c31f5bd223d2e34c93c496e8448c973d69797776004670c70abf69c SHA512 5a899ee5f09f30d742b8b8eba78da05cd9f4c664408fdeb9370373f8756a962a23e3f1c07619e745b3270138606c9a369076c02c3f5353f657df09d203d9a736
-DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
-DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd
-DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
-EBUILD libopenraw-0.1.3.ebuild 979 BLAKE2B 3f10ed9e814efb4c2a1def276cb2120f05c7db324fda8a05992a25b08b1c9785ffe29ca0c818979112a1665668f5d2a1dd35343b23c930f86a030cd8bc8af199 SHA512 516ddac3199e5a57387c08dc2b42faebf25f58bc19f3a4951dfb55b95f381e14bcc9c1d1780084485ceb33dc402e8d85ce3408b13dcd5c9c7b38cbe6ab83a855
-EBUILD libopenraw-0.3.3.ebuild 1694 BLAKE2B dc43a94dd64d896f4ebfdd04e4945c0400b51dfa307252d693332f4532a3f24c319b8f292d430a708bfc5489fc7cbfed7ef6fd4aa244fe7e786df279e312cecd SHA512 6ab151224863c7089e185f0d60e7ec3e25823dcb6edce79aff293f3468617b3a8c18f25f79ee976466252cdfbbd6a9a3b1e3522494d4e9b1de6f2a6b77b0fe65
EBUILD libopenraw-0.3.6.ebuild 1180 BLAKE2B ed9db5aa48db8b021d819757185d2eb12484d625164669ad828747d4366de33a1727a54018b2a5dbb0ad1a2300ec36d267bc7efba27f0eb1e079bdbeaa25bd15 SHA512 1ad5d05934499a757ab52ae4100e297475de68bc4ac1cdec6173d3cba6cb33ceb13e884cdf0e5bc4a7eacfa8d521a3930b331a1cdc7d42a6dc42108999854377
-EBUILD libopenraw-0.3.7.ebuild 1301 BLAKE2B bfd7ca97de5f37e0f9c9ac43ca0eec1182128dab658d7aaf0949fbb2baf3c6907d1bb6c199365ec29218a2ce481e9618b56f388f65993feb5986963bf74a572f SHA512 bc83004f78f2a5ab961dc1943adb6b427701d640467fe3ddb608decbfb11b605aaddbafa7fb648305417c36787b85f76fc3249f63cf5fdce703a6542086b182e
+EBUILD libopenraw-0.3.7.ebuild 1296 BLAKE2B ebbe1e405b6dc64999a3a8fe8d227f7f08ca2e809f5ae086e06bb611b31e9d4bbe9a23b5a0669ab71b0c78c6c70c1de27c59593036f7731e9d355a7edefb4bc0 SHA512 24c212fb5c272455b923090545e3acac6670cfa82d24c767e645503803cd24ca431d577aef604c322ccd2f8af540fd60fb067c6e7d7fa52a0bdae94033f84677
MISC metadata.xml 327 BLAKE2B 535d53760f8b1440558a02aecb8ab27244d3583ded3843a38a8d418ae8a8a55859c08901a6fae91f8d63e7848a173e3e40b7ff168a0f86c710e53bcbe87f4161 SHA512 26f6a6a430380b878feabd5a692aed4cf6994701e935fda0f986b0b071702846389f8ada8f0c666f35a5107484879d7dce9f81b866081b0b06a1df1d02125cdb
diff --git a/media-libs/libopenraw/libopenraw-0.1.3.ebuild b/media-libs/libopenraw/libopenraw-0.1.3.ebuild
deleted file mode 100644
index 467e59fcf3e7..000000000000
--- a/media-libs/libopenraw/libopenraw-0.1.3.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit gnome2-utils
-
-DESCRIPTION="RAW image formats decoding library"
-HOMEPAGE="https://libopenraw.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.xz"
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0/7"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="gtk test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/libxml2
- virtual/jpeg:0
- gtk? (
- dev-libs/glib:2
- >=x11-libs/gdk-pixbuf-2.24.0:2
- )
-"
-DEPEND="${RDEPEND}
- dev-libs/boost
-"
-BDEPEND="
- virtual/pkgconfig
- test? ( net-misc/curl )
-"
-
-src_configure() {
- econf \
- --with-boost="${EPREFIX}"/usr \
- --disable-static \
- $(use_enable gtk gnome)
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- use gtk && gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
- use gtk && gnome2_gdk_pixbuf_update
-}
diff --git a/media-libs/libopenraw/libopenraw-0.3.3.ebuild b/media-libs/libopenraw/libopenraw-0.3.3.ebuild
deleted file mode 100644
index 68753f784fc6..000000000000
--- a/media-libs/libopenraw/libopenraw-0.3.3.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Run cargo-build or cargo fetch in lib/mp4 to get this list
-CRATES="
-ahash-0.7.6
-aho-corasick-0.7.18
-atty-0.2.14
-autocfg-1.0.0
-bitreader-0.3.2
-byteorder-1.2.2
-cfg-if-0.1.10
-cfg-if-1.0.0
-env_logger-0.8.4
-fallible_collections-0.4.4
-getrandom-0.2.7
-hashbrown-0.11.2
-hermit-abi-0.1.8
-humantime-2.1.0
-libc-0.2.126
-log-0.4.17
-memchr-2.5.0
-num-traits-0.2.15
-once_cell-1.12.0
-regex-1.5.6
-regex-syntax-0.6.26
-static_assertions-1.1.0
-termcolor-1.1.3
-version_check-0.9.4
-wasi-0.11.0+wasi-snapshot-preview1
-winapi-0.3.8
-winapi-i686-pc-windows-gnu-0.4.0
-winapi-util-0.1.5
-winapi-x86_64-pc-windows-gnu-0.4.0
-"
-
-inherit cargo gnome2-utils
-
-DESCRIPTION="RAW image formats decoding library"
-HOMEPAGE="https://libopenraw.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.xz"
-SRC_URI+=" $(cargo_crate_uris)"
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0/9"
-KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="gtk test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/libxml2
- media-libs/libjpeg-turbo:=
- gtk? (
- dev-libs/glib:2
- >=x11-libs/gdk-pixbuf-2.24.0:2
- )
-"
-DEPEND="
- ${RDEPEND}
- dev-libs/boost
-"
-BDEPEND="
- virtual/pkgconfig
- test? ( net-misc/curl )
-"
-
-src_configure() {
- econf \
- --with-boost="${EPREFIX}"/usr \
- $(use_enable gtk gnome)
-}
-
-src_compile() {
- # Avoid cargo_src_compile
- default
-}
-
-src_test() {
- # Avoid cargo_src_test
- default
-}
-
-src_install() {
- default
-
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- use gtk && gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
- use gtk && gnome2_gdk_pixbuf_update
-}
diff --git a/media-libs/libopenraw/libopenraw-0.3.7.ebuild b/media-libs/libopenraw/libopenraw-0.3.7.ebuild
index f31d6215774d..3170292678c6 100644
--- a/media-libs/libopenraw/libopenraw-0.3.7.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.3.7.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.xz"
# MPL-2.0 for mp4parse (https://gitlab.freedesktop.org/libopenraw/libopenraw/-/issues/15)
LICENSE="GPL-3 LGPL-3 MPL-2.0"
SLOT="0/9"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 arm ~arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="gtk test"
RESTRICT="!test? ( test )"
diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest
index 816bf9130fd8..38d272b090d5 100644
--- a/media-libs/libv4l/Manifest
+++ b/media-libs/libv4l/Manifest
@@ -1,9 +1,3 @@
-AUX libv4l-1.26.0-meson.patch 3156 BLAKE2B c0b91160b4a065458e2889a196671f4fe083fa44c0061c00ecb1f272274af5edc00780bbe74003a03264a3d50ca5af010f4c75ce574547a1d39a09ebf1f72ec1 SHA512 f20f72ac9edc1ac188b838975dac7f5a64fb37910c6e714003121355a587bc6610e70a355fceb15839051ca9ca5042695e83ee424b1238e8159e0ffdb971e878
-AUX libv4l-1.26.1-libcxx.patch 1681 BLAKE2B 7a9caceeb658b11161ceffd62337b7415688cc52498a6ee710c392f812dc3489b9fc670116e11a077f1d3a6e31be51dadd7d2f3e94e4cd9fa52b5109a4fb379b SHA512 c9750908a19454ea31b8a8167350c375040acbcde75c798062d712d9d5cb17d87175beb4c10abcab20fa6f13a21cf2bfd1b809c34ee42ee7166d4dfb02a18ae0
-DIST v4l-utils-1.22.1.tar.bz2 2086238 BLAKE2B a3f01a17ea7c8925c74dd883d30b42f54b7926d253dac79e4cadaba43abc33672804257b3b92e5aa640ead6b5aaaa2458f05e21642044d7dea77e5580a8dbe9a SHA512 8a634d8995d13f453dfaf90ca5d0dfb26f2f4b10a0d200d76a949c46f77040d12fc0a5b35e05d7b1ba68bcfc85a445be5a5ab1d4a7d4eabfe3a254038ccc6170
-DIST v4l-utils-1.26.1.tar.xz 1192312 BLAKE2B 84a6b5737447fa332b64af8fdc2ecb308865528bc16487e55a4ccc00a76288239432b299ab2225829530db9158b0449f64e2e1c3fb782c7495da55ea8e7a171a SHA512 a3b12b311977afec410db8b430696e923a24e04f003a5891cc77ddeb667d0b98666a06d31a439c95ce57d9e9c9c2593c5e9dd9e7cf2be002adb95db5b8f00ac8
DIST v4l-utils-1.28.1.tar.xz 1246516 BLAKE2B a68728ab6802754cd766453375e212624ee731a7fc9b0d0da6a4c62ce19e75968c5bdbefa33d2977d439a23f36f5c8ff83efc44dae65eed206a31ef19ea57363 SHA512 6493c97f59af5fe0ffa4bb815ebac4531f5ea2b0612c2035c7f00a888ce686ee0aeeaef982553ff9ad6441c39dac63e6c718b1bedb0541cb2ce2e3c2f91ab12f
-EBUILD libv4l-1.22.1.ebuild 1468 BLAKE2B bfe49d217e1d1ec17547901214eb71885a7b4be6a4dc94f053972aa64fd8acf8adf2b3d8220783af0ac5e7ba097c722b1fe93595d2c40d06e981566dc32b03ec SHA512 b504673cd46681dc536a1a619e8d2dbccf657e94447704cfa954bb8717f2bef86c995425ce7d114f185379b2b1618316609ec6f53c590d4ce0268800a4f94654
-EBUILD libv4l-1.26.1.ebuild 3294 BLAKE2B 1c822547a8979d0f5edf251aaebee42f3207ca1872ebd3c28ace2046087452c9c4fd3c6c012fbd2f20bb048344418b5d3402580438a89402e6fed280832cc103 SHA512 1155eaeae4099db837ce4fdeab51c95c36d3df4f630d4fb7044a18ac2b731f0eccbd1764aaee3e9e5f5d5b5baa90924bd0168cd1be7f95b9620dc67f5bd74d67
EBUILD libv4l-1.28.1.ebuild 3598 BLAKE2B d38f1844f81f599eb41347f34cf38df98d143fa6b1311a5826625ab63e4fb05d61861efe2c0f23d2ddfa1db2c72039c024da1f9383b785740552dedf89299aae SHA512 6ce3214faa068901c3cf0572d130be59743ec7416f74974900062c678d42b14d83744f4d2282d1f58e9e91331a2f94de48cc9d473f5f95f07ef16086022fe7bc
MISC metadata.xml 1333 BLAKE2B 980117d95da191d35287e97e99c1add4231438d0e5f763cd576bd9bf79ce894297bd32252b8e73a1356d14be66dde09ef0ae3307a0e856554cb024569eee63ee SHA512 da28f9574865217098fb8602d7860131e58b7c16501bef840814a3ef7870a5565795151c8b574ecc895c9614400b5ac5b444430fd147dabea0f747174d6ae7a0
diff --git a/media-libs/libv4l/files/libv4l-1.26.0-meson.patch b/media-libs/libv4l/files/libv4l-1.26.0-meson.patch
deleted file mode 100644
index 9f8384033865..000000000000
--- a/media-libs/libv4l/files/libv4l-1.26.0-meson.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-From 11ca2682040d14ba1a3d65e95a6f0dfded5e4365 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Tue, 12 Dec 2023 13:39:21 +0000
-Subject: [PATCH 1/2] meson: Fix building with -Dv4l-utils=false
-
-ir_bpf_enabled was referenced without being defined.
----
- meson.build | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/meson.build b/meson.build
-index ab632976..7495a9c2 100644
---- a/meson.build
-+++ b/meson.build
-@@ -358,6 +358,8 @@ subdir('lib')
- if get_option('v4l-utils')
- subdir('utils')
- subdir('contrib')
-+else
-+ ir_bpf_enabled = false
- endif
-
- subdir('doc')
---
-2.42.1
-
-From 15343c83e43805223c098e4c5efe9e176343e801 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Tue, 12 Dec 2023 13:59:13 +0000
-Subject: [PATCH 2/2] meson: Allow documentation directory to be specified with
- -Ddocdir
-
-This is needed by Gentoo Linux QA.
-
-Signed-off-by: James Le Cuirot <chewi@gentoo.org>
----
- doc/meson.build | 2 +-
- meson.build | 5 +++++
- meson_options.txt | 2 ++
- 3 files changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/doc/meson.build b/doc/meson.build
-index 8f4437e7..4b23c3de 100644
---- a/doc/meson.build
-+++ b/doc/meson.build
-@@ -20,7 +20,7 @@ doxygen_install_dirs = []
- doxygen_output = []
- if get_option('doxygen-html')
- doxygen_output += 'html'
-- doxygen_install_dirs += get_option('datadir') / 'doc' / '@0@'.format(meson.project_name())
-+ doxygen_install_dirs += docdir
- endif
- if get_option('doxygen-man')
- doxygen_output += 'man'
-diff --git a/meson.build b/meson.build
-index 7495a9c2..0348b43b 100644
---- a/meson.build
-+++ b/meson.build
-@@ -289,6 +289,11 @@ if udevdir == ''
- udevdir = '/lib/udev'
- endif
-
-+docdir = get_option('docdir')
-+if docdir == ''
-+ docdir = get_option('datadir') / 'doc' / '@0@'.format(meson.project_name())
-+endif
-+
- qt5_opengl_test = '''
- #define GL_GLEXT_PROTOTYPES
- #define QT_NO_OPENGL_ES_2
-diff --git a/meson_options.txt b/meson_options.txt
-index 2fa046c0..53cf832f 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -32,6 +32,8 @@ option('v4l2-ctl-stream-to', type : 'boolean',
- description : 'Enable use of --stream-to in v4l2-ctl')
-
- # Directories
-+option('docdir', type : 'string',
-+ description : 'Set documentation directory')
- option('gconvsysdir', type : 'string',
- description : 'Set system gconv directory (default is to autodetect)')
- option('libv4l1subdir', type : 'string', value : 'libv4l',
---
-2.42.1
-
-From 8927b2e98efa070999fdf2c3c61825e672044ffd Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Mon, 1 Jan 2024 22:05:34 +0000
-Subject: [PATCH] meson: Fix missing v4l2gl dependency on argp
-
-Signed-off-by: James Le Cuirot <chewi@gentoo.org>
----
- contrib/test/meson.build | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/contrib/test/meson.build b/contrib/test/meson.build
-index 29b51df6..48ee67b1 100644
---- a/contrib/test/meson.build
-+++ b/contrib/test/meson.build
-@@ -107,6 +107,7 @@ if dep_gl.found() and dep_glu.found() and dep_x11.found()
- )
-
- v4l2gl_deps = [
-+ dep_argp,
- dep_gl,
- dep_glu,
- dep_libv4l2,
---
-2.43.0
-
diff --git a/media-libs/libv4l/files/libv4l-1.26.1-libcxx.patch b/media-libs/libv4l/files/libv4l-1.26.1-libcxx.patch
deleted file mode 100644
index 5b5eea83bc9a..000000000000
--- a/media-libs/libv4l/files/libv4l-1.26.1-libcxx.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From c7ef1a55bb6accb708a4e09d71028b904b07e49e Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Wed, 7 Feb 2024 22:48:59 +0000
-Subject: [PATCH] v4l2-compliance: Fix building against libc++
-
-v4l2-test-time32-64.cpp included compiler.h, which checks
-_LIBCPP_VERSION. This only works against libc++ when a C++ header has
-already been included, which wasn't the case here.
-
-The <version> header is the C++20 method of defining _LIBCPP_VERSION,
-but for older versions, <ciso646> works as an alternative, so include
-that in compiler.h.
-
-compiler.h is for C as well as C++ though, so use __cplusplus to check
-for a C++ compiler before including <ciso646>.
-
-Signed-off-by: James Le Cuirot <chewi@gentoo.org>
----
- include/compiler.h | 27 ++++++++++++---------------
- 1 file changed, 12 insertions(+), 15 deletions(-)
-
-diff --git a/include/compiler.h b/include/compiler.h
-index 5ad54f41..169247a8 100644
---- a/include/compiler.h
-+++ b/include/compiler.h
-@@ -1,17 +1,14 @@
--#ifdef _LIBCPP_VERSION
--#define fallthrough _LIBCPP_FALLTHROUGH()
-+#if !defined(__cplusplus) || __cplusplus < 201103L
-+ #define fallthrough ((void)0)
- #else
--
--#if __cplusplus >= 201103L
--
--#ifdef __clang__
--#define fallthrough [[clang::fallthrough]]
--#else
--#define fallthrough [[gnu::fallthrough]]
--#endif // __clang__
--
--#else
--#define fallthrough ((void)0)
--
-+ #include <ciso646>
-+ #ifdef _LIBCPP_VERSION
-+ #define fallthrough _LIBCPP_FALLTHROUGH()
-+ #else
-+ #ifdef __clang__
-+ #define fallthrough [[clang::fallthrough]]
-+ #else
-+ #define fallthrough [[gnu::fallthrough]]
-+ #endif // __clang__
-+ #endif // _LIBCPP_VERSION
- #endif // __cplusplus
--#endif // _LIBCPP_VERSION
---
-2.43.0
-
diff --git a/media-libs/libv4l/libv4l-1.22.1.ebuild b/media-libs/libv4l/libv4l-1.22.1.ebuild
deleted file mode 100644
index f87601a2e925..000000000000
--- a/media-libs/libv4l/libv4l-1.22.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools linux-info multilib-minimal
-
-MY_P="v4l-utils-${PV}"
-
-DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package"
-HOMEPAGE="https://git.linuxtv.org/v4l-utils.git"
-SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2"
-
-LICENSE="LGPL-2.1+"
-SLOT="0/0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="dvb jpeg"
-
-RDEPEND="
- dvb? ( virtual/libudev[${MULTILIB_USEDEP}] )
- !elibc_glibc? ( sys-libs/argp-standalone )
- jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
- !media-tv/v4l2-ctl
- !<media-tv/ivtv-utils-1.4.0-r2
-"
-
-DEPEND="
- ${RDEPEND}
-"
-
-BDEPEND="
- sys-devel/gettext
- virtual/pkgconfig
-"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- CONFIG_CHECK="~SHMEM"
- linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-multilib_src_configure() {
- # Hard disable the flags that apply only to the utils.
- ECONF_SOURCE=${S} \
- econf \
- --disable-static \
- $(use_enable dvb libdvbv5) \
- --disable-qv4l2 \
- --disable-qvidcap \
- --disable-v4l-utils \
- $(use_with jpeg) \
- $(use_with dvb libudev)
-}
-
-multilib_src_compile() {
- emake -C lib
-}
-
-multilib_src_install() {
- emake -j1 -C lib DESTDIR="${D}" install
-}
-
-multilib_src_install_all() {
- dodoc ChangeLog README.lib* TODO
-
- # no static archives
- find "${D}" -name '*.la' -delete || die
-}
diff --git a/media-libs/libv4l/libv4l-1.26.1.ebuild b/media-libs/libv4l/libv4l-1.26.1.ebuild
deleted file mode 100644
index 6a97e52ec66d..000000000000
--- a/media-libs/libv4l/libv4l-1.26.1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info meson-multilib systemd udev xdg
-
-MY_P="v4l-utils-${PV}"
-
-DESCRIPTION="v4l-utils libraries and optional utilities"
-HOMEPAGE="https://git.linuxtv.org/v4l-utils.git"
-SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.xz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0/0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="bpf doc dvb jpeg qt5 tracer +utils"
-
-REQUIRED_USE="
- bpf? ( utils )
- qt5? ( utils )
- tracer? ( utils )
-"
-
-RDEPEND="
- dvb? ( virtual/libudev[${MULTILIB_USEDEP}] )
- jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
- utils? (
- !elibc_glibc? ( sys-libs/argp-standalone )
- bpf? (
- dev-libs/libbpf:=
- virtual/libelf:=
- )
- qt5? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtopengl:5[-gles2-only(-),-gles2(-)]
- dev-qt/qtwidgets:5
- media-libs/alsa-lib
- virtual/opengl
- )
- tracer? ( dev-libs/json-c:= )
- virtual/libudev
- )
- !<media-tv/v4l-utils-1.26
-"
-
-DEPEND="
- ${RDEPEND}
-"
-
-BDEPEND="
- sys-devel/gettext
- virtual/pkgconfig
- bpf? ( sys-devel/clang:*[llvm_targets_BPF] )
- doc? ( app-text/doxygen )
- utils? (
- dev-lang/perl
- qt5? ( dev-qt/qtcore:5 )
- )
-"
-
-# Not really prebuilt but BPF objects make our QA checks go crazy.
-QA_PREBUILT="*/rc_keymaps/protocols/*.o"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.26.0-meson.patch
- "${FILESDIR}"/${PN}-1.26.1-libcxx.patch
-)
-
-check_llvm() {
- if [[ ${MERGE_TYPE} != binary ]] && use bpf; then
- local clang=${ac_cv_prog_CLANG:-${CLANG:-clang}}
- ${clang} -target bpf -print-supported-cpus &>/dev/null ||
- die "${clang} does not support the BPF target. Please check LLVM_TARGETS."
- fi
-}
-
-pkg_pretend() {
- has_version -b sys-devel/clang && check_llvm
-}
-
-pkg_setup() {
- check_llvm
- CONFIG_CHECK="~SHMEM" linux-info_pkg_setup
-}
-
-multilib_src_configure() {
- local emesonargs=(
- $(meson_native_use_feature bpf)
- -Dgconv=disabled
- $(meson_feature jpeg)
- $(meson_feature dvb libdvbv5)
- $(meson_native_use_feature qt5 qv4l2)
- $(meson_native_use_feature qt5 qvidcap)
- $(meson_native_use_feature tracer v4l2-tracer)
- $(meson_native_use_bool utils v4l-utils)
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
- -Dudevdir="${EPREFIX}$(get_udevdir)"
- $(meson_native_use_feature doc doxygen-doc)
- $(meson_native_use_bool doc doxygen-html)
- $(meson_native_use_bool doc doxygen-man)
- )
- meson_src_configure
-}
-
-multilib_src_install_all() {
- dodoc ChangeLog README.lib* TODO
-
- if use utils; then
- dodoc README.md
- newdoc utils/dvb/README README.dvb
- newdoc utils/libv4l2util/TODO TODO.libv4l2util
- newdoc utils/libmedia_dev/README README.libmedia_dev
- newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance
- fi
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- use utils && udev_reload
-
- if use utils && [[ -n ${REPLACING_VERSIONS} ]] && ver_test 1.20.0 -ge ${REPLACING_VERSIONS%% *}; then
- ewarn "WARNING! ir-keytable has changed significantly from version 1.20.0 so"
- ewarn "you may need to take action to avoid breakage. See"
- ewarn "https://bugs.gentoo.org/767175 for more details."
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- use utils && udev_reload
-}
diff --git a/media-libs/opencolorio/Manifest b/media-libs/opencolorio/Manifest
index ab880daf62f6..ef39f51a5aea 100644
--- a/media-libs/opencolorio/Manifest
+++ b/media-libs/opencolorio/Manifest
@@ -3,15 +3,11 @@ AUX opencolorio-2.1.2-musl-strtol.patch 1041 BLAKE2B 58384b1a2a6e2778219909aaabe
AUX opencolorio-2.2.1-adjust-python-installation.patch 864 BLAKE2B e4e68ec13d47648ca41dce07ea7302a218e784e0b2bd700456642708271763c05e1bc667cdd9338a94790ac23f9862f1301e1eb4680bdb5ff948baba7051e3db SHA512 91afc3a825dadca245b046b2fd63edba2ffb44759a124eb3c9665b88d890b0a6cb09c1bed2067adf974faf65dedfd8bddb901e15a80e2d6b1c3645c08a0a7c3e
AUX opencolorio-2.2.1-support-doxygen-1.9.7.patch 5263 BLAKE2B 7d9ddd3db43dba04851bdd56f3395a7de85dcacf442feca787d4f129ca49de6941d02bbc44ff58ae8ce5d94d50665a32b2c8270d35abfe879c61f688cde39767 SHA512 254f8e9de92ab80b0b15bb2a828a57117eda2bb8781da312a2a53db8d720cf76424d235e95c55c0c57a458c7c53bab22cc1a4de3477320d85f88f5274e38e072
AUX opencolorio-2.2.1-support-minizip-ng-4.patch 3133 BLAKE2B f84abb93233d0834b1f1bd8066140db1120ddf1a1eeb95d340283ed5ef56bb598787d8a23cdc5b8acbbdc595d6850956c25e0a0f57139d872e45dd5469407d55 SHA512 d0c811f80978f8d08dccd94cd25b26b5fd9e8ba3bcb2cffa82426e9faea5e0afef46843128e297614d7e2fd0886bc9928ddb7e03b9b691fd03b05923693de8da
-AUX opencolorio-2.3.0-fix-cxxflags.patch 868 BLAKE2B 0c0a553066f4901a48290be145bdd2d543b5b6afb3b2363227da4366e70ba5d9a803ffbe00f5d63e5ee5f4cfc292c9e4f79fdee5555b72bf6f3f3d0db80e80d0 SHA512 f272b547535691e5d4e73aa5c11bdb4e04ef06838b0e34153f08d0b742d8875f93dbf5c2502c2a54725b9b6c1e5caac795c5f69bd3d3b48cf6826f358889155a
-AUX opencolorio-2.3.0-support-yaml-cpp-0.8.0.patch 808 BLAKE2B aed4b9d8bf512e42578e239bfe9a60074cb812d5d8894fc489f535a709d1b755d1934cf1c556ee9a06b5fd199796f4f6defdb36b8f9df7503288fd4a7eb5db7c SHA512 cf5a4b007ab4a9c25f6f94caeb007a0f4f2d83203eca6a4b83b38abc9df08593eb10159194e9c399f5877a618acd4da355b8fb299f39a73d04a4c94a903dbecc
AUX opencolorio-2.3.2-include-cstdint.patch 730 BLAKE2B 35df68ae92e99373f47a0aeba7425e27df851d63205af0c6343cfddeeb36331eab7a9b4a2eedafc13f52301232733160ba0fe0c338553bf0aae069b91c73a6fb SHA512 072c3ebc9d155c1ff389884871d098695dedcfcf3c339088f4b1888df83b0c6bbc8ea0e1bdd18f9e3d7d4d7f1d554ad72be6022552a57879e6c03badb7397e2d
DIST opencolorio-2.1.3.tar.gz 11024701 BLAKE2B bcd1eb6a74260f451e49ef40e729bfc4c354ab255d96c261fbf865c586f285fe876ed54b05276f3b6b25ece4fd261672fe1dd519041ffad77d7c78efc8cf161d SHA512 b26fcfa3ea12ab6e4b019a13ce79ebcfd215c674acb348f2d9f85f749b2a5beccd395ed1cc9954e4b3cb83a160b24a8d7d81994ac1d9ea8cfe074b81d6b8a061
DIST opencolorio-2.2.1.tar.gz 11336775 BLAKE2B b463d6a0a7e7fec0a890fa8a0cd06ed269f925c5986dfb82eb53728a09d884c89e6c4dfe112706ce27351d4440909ff9680387028d1dc887e7d866b30c39c54f SHA512 d5f3a4b5bd661af7336c015d07e0feccb286464a08239a3c259a97217001161e7571f5137475fc2f4d1b9af6381bbfa03c0b60f41de282f114307961b8d84fc9
-DIST opencolorio-2.3.0.tar.gz 11406998 BLAKE2B 0e62e43de076a712f68b68b91c9908bc9050316e3500e0924fafb08a3356ce361953f49dfd1eb022eeada11e499653833a48a22a4ba593504617c1c61b16d488 SHA512 cdf20ca6c85b1d70244d8532d010344f1cf85be6a116d831e83ea04d7c47a961049691e6a241e9a7f632d864df57a4bccb68084e27187ec8a05f1fdf344824d7
DIST opencolorio-2.3.2.tar.gz 11443450 BLAKE2B 2573d2f229ba0349574d83883cd6534853164dc6a5866b203b65d4c0acbc54fc0aaf6ff4ecbec5506c6adafe48d57fb80a8b47c45b7b16e0c4ac94f5fbaffea3 SHA512 4c7547960623b058398a86d9c8335d31f2354a1ee7ba58fbc2d1ace698132b99e8f823c9b443a77545721da076569228f502f1f3f4deba44659571c6d12db133
EBUILD opencolorio-2.1.3.ebuild 3168 BLAKE2B 7e64eecf250f5f56b15dde6c7a283185f4bb95d939c771a98b0856eba91de18f02ae27ac354ef104c6eb515f79bfa49e5daa8b1f407347f3c1fb0706597a2261 SHA512 b5f4ec43b46270cc2b05875b722c70840822eb0a46f4b1fd6bcd781170a331d5ce9809aca4df1364666992059aba53ea6f20a4c88c6b2ac0015b2280c3bfd64d
EBUILD opencolorio-2.2.1.ebuild 3705 BLAKE2B 59712f2546a5411902a98368ec6cf97921c12cb515ba555e2736deea90e643be2ab5b86f567b9158bf5fa75a040fb632e8c7b9a9f053fb6d74c42ca769380bdd SHA512 a419232dde52910c34ee7ecb6270a735e15c414754916ba6fad1495f4f14cff9714637b3cc6536828e955e2c0c794ecd23ead6eb17a2436740ab5eb577ccbd5f
-EBUILD opencolorio-2.3.0.ebuild 4606 BLAKE2B d907b310540d7124b311e36e897078559e9fb16ad944a183af464f3d4e88b859eab8325fea18686e756763689b6af209a0a19745897298185e7df65f338c1d7b SHA512 03887551e7376d62c51ba548aeef9a30bf4501097c40bf6315c499ada08ab8154cbb1d1fd5c6725636074045a3b07ea80b43ee38ad4717fa9b345e82ced4b766
EBUILD opencolorio-2.3.2.ebuild 4876 BLAKE2B ba39476309537862701e5cc96d4a62ee2b4a02e42165fbe9865aabd94ef24b6de174e9b55f0b313e13757ba6f79fa63aefbdb785effc3daf8001c8d8680255c6 SHA512 fdbcd63ad2e0185a0b430c193b73b27df8b5ecc4628d939244d2e386afbc77121da1ffa274a71d06f19af8c74bb2df061607eb170e05eda36b5d44da4bffde83
MISC metadata.xml 792 BLAKE2B 6b94c1223e756ef3179ab3442c134bf7881400434332691bc693a36c8bceb4db609dd143afb6a18192c7bfaa9ccb72015c215e08b3bd65fbdb3ccc2fb3ff713d SHA512 c1b3d44b5ce24813b3e07074ba2fe40c3af89033dfbe5a372b130be26fcfeba9fa9c2a0d9e6a695972dc402979aa732df27fd3c6128a8f3a51fe926ecb73cb25
diff --git a/media-libs/opencolorio/files/opencolorio-2.3.0-fix-cxxflags.patch b/media-libs/opencolorio/files/opencolorio-2.3.0-fix-cxxflags.patch
deleted file mode 100644
index cefae22a00e6..000000000000
--- a/media-libs/opencolorio/files/opencolorio-2.3.0-fix-cxxflags.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From d69edd3ef411853cd780b75cf260295a39a8a49f Mon Sep 17 00:00:00 2001
-From: Eric Renaud-Houde <eric.renaud.houde@gmail.com>
-Date: Wed, 20 Sep 2023 15:10:46 -0400
-Subject: [PATCH] Correctly reset CMAKE_CXX_FLAGS.
-
-Signed-off-by: Eric Renaud-Houde <eric.renaud.houde@gmail.com>
----
- share/cmake/utils/CheckSupportSSE2.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/share/cmake/utils/CheckSupportSSE2.cmake b/share/cmake/utils/CheckSupportSSE2.cmake
-index 8c929c7e9..6a07155de 100644
---- a/share/cmake/utils/CheckSupportSSE2.cmake
-+++ b/share/cmake/utils/CheckSupportSSE2.cmake
-@@ -59,7 +59,7 @@ else()
- message(STATUS "Performing Test COMPILER_SUPPORTS_SSE2 - Failed")
- endif()
-
--set(CMAKE_REQUIRED_FLAGS "${_cmake_cxx_flags_orig}")
-+set(CMAKE_CXX_FLAGS "${_cmake_cxx_flags_orig}")
- unset(_cmake_cxx_flags_orig)
-
- if(__universal_build)
diff --git a/media-libs/opencolorio/files/opencolorio-2.3.0-support-yaml-cpp-0.8.0.patch b/media-libs/opencolorio/files/opencolorio-2.3.0-support-yaml-cpp-0.8.0.patch
deleted file mode 100644
index 924ed2092881..000000000000
--- a/media-libs/opencolorio/files/opencolorio-2.3.0-support-yaml-cpp-0.8.0.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Bernd Feige <Bernd.Feige@gmx.net>
-https://bugs.gentoo.org/914716#c12
-
-Index: OpenColorIO-2.3.0/share/cmake/modules/Findyaml-cpp.cmake
-===================================================================
---- OpenColorIO-2.3.0.orig/share/cmake/modules/Findyaml-cpp.cmake
-+++ OpenColorIO-2.3.0/share/cmake/modules/Findyaml-cpp.cmake
-@@ -50,7 +50,12 @@ if(NOT OCIO_INSTALL_EXT_PACKAGES STREQUA
- endif()
-
- if(yaml-cpp_FOUND)
-- get_target_property(yaml-cpp_LIBRARY yaml-cpp LOCATION)
-+ if(TARGET yaml-cpp::yaml-cpp)
-+ # yaml-cpp >= 0.8
-+ get_target_property(yaml-cpp::yaml-cpp_LIBRARY yaml-cpp::yaml-cpp LOCATION)
-+ else()
-+ get_target_property(yaml-cpp_LIBRARY yaml-cpp LOCATION)
-+ endif()
- else()
-
- # As yaml-cpp-config.cmake search fails, search an installed library
diff --git a/media-libs/opencolorio/opencolorio-2.3.0.ebuild b/media-libs/opencolorio/opencolorio-2.3.0.ebuild
deleted file mode 100644
index 220e58ca55f5..000000000000
--- a/media-libs/opencolorio/opencolorio-2.3.0.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit cmake python-single-r1 virtualx
-
-DESCRIPTION="Color management framework for visual effects and animation"
-HOMEPAGE="https://opencolorio.org https://github.com/AcademySoftwareFoundation/OpenColorIO"
-SRC_URI="https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/OpenColorIO-${PV}"
-
-LICENSE="BSD"
-SLOT="0/$(ver_cut 1-2)"
-# minizip-ng: ~arm ~arm64 ~ppc64 ~riscv
-# osl: ~riscv
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-CPU_USE=(
- x86_{avx,avx2,avx512f,f16c,sse2,sse3,sse4_1,sse4_2,ssse3}
- # requires https://github.com/DLTcollab/sse2neon
- # arm_neon
-)
-IUSE="apps ${CPU_USE[@]/#/cpu_flags_} doc opengl python test"
-# TODO: drop opengl? It does nothing without building either the apps or the testsuite
-REQUIRED_USE="
- apps? ( opengl )
- doc? ( python )
- python? ( ${PYTHON_REQUIRED_USE} )
- test? ( opengl )
-"
-
-RDEPEND="
- dev-cpp/pystring
- >=dev-cpp/yaml-cpp-0.7.0:=
- dev-libs/expat
- >=dev-libs/imath-3.1.5:=
- sys-libs/minizip-ng
- sys-libs/zlib
- apps? (
- media-libs/lcms:2
- >=media-libs/openexr-3.1.5:=
- )
- opengl? (
- media-libs/freeglut
- media-libs/glew:=
- media-libs/libglvnd
- )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
- )
-"
-DEPEND="${RDEPEND}"
-# TODO: OSL tests would need OIIO, leading to a circular dependency. If OIIO
-# isn't found this test will be skipped (automagic if found?)
-BDEPEND="
- virtual/pkgconfig
- doc? (
- app-text/doxygen
- $(python_gen_cond_dep '
- dev-python/breathe[${PYTHON_USEDEP}]
- dev-python/recommonmark[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx-press-theme[${PYTHON_USEDEP}]
- dev-python/sphinx-tabs[${PYTHON_USEDEP}]
- dev-python/testresources[${PYTHON_USEDEP}]
- ')
- )
- opengl? (
- media-libs/freeglut
- media-libs/glew:=
- media-libs/libglvnd
- )
-"
-# test? (
-# >=media-libs/openimageio-2.2.14
-# >=media-libs/osl-1.11
-# )
-# "
-
-# Restricting tests, bugs #439790 and #447908
-RESTRICT="!test? ( test )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.2.1-adjust-python-installation.patch"
- "${FILESDIR}/${PN}-2.3.0-support-yaml-cpp-0.8.0.patch"
- "${FILESDIR}/${PN}-2.3.0-fix-cxxflags.patch"
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # Avoid automagic test dependency on OSL, bug #833933
- # Can cause problems during e.g. OpenEXR unsplitting migration
- cmake_run_in tests cmake_comment_add_subdirectory osl
-}
-
-src_configure() {
- # Missing features:
- # - Truelight and Nuke are not in portage for now, so their support are disabled
- # - Java bindings was not tested, so disabled
- # Notes:
- # - OpenImageIO or OpenEXR (default) is required for building ociodisplay and
- # ocioconvert (USE opengl)
- # - OpenGL, GLUT and GLEW is required for building ociodisplay (USE opengl)
- local mycmakeargs=(
- "-DOCIO_BUILD_APPS=$(usex apps)"
- "-DOCIO_BUILD_DOCS=$(usex doc)"
- "-DOCIO_BUILD_FROZEN_DOCS=$(usex doc)"
- "-DOCIO_BUILD_GPU_TESTS=$(usex test)"
- "-DOCIO_BUILD_JAVA=OFF"
- "-DOCIO_BUILD_PYTHON=$(usex python)"
- "-DOCIO_BUILD_TESTS=$(usex test)"
- "-DOCIO_INSTALL_EXT_PACKAGES=NONE"
- # allow the user to tell OCIO to display more information when searching and building the dependencies.
- # "-DOCIO_VERBOSE=YES"
-
- "-DOCIO_USE_SIMD=ON"
- )
-
- if use amd64 || use x86 ; then
- mycmakeargs+=(
- "-DOCIO_USE_SSE2=$(usex cpu_flags_x86_sse2)"
- "-DOCIO_USE_SSE3=$(usex cpu_flags_x86_sse3)"
- "-DOCIO_USE_SSSE3=$(usex cpu_flags_x86_ssse3)"
- "-DOCIO_USE_SSE4=$(usex cpu_flags_x86_sse4_1)"
- "-DOCIO_USE_SSE42=$(usex cpu_flags_x86_sse4_2)"
- "-DOCIO_USE_AVX=$(usex cpu_flags_x86_avx)"
- "-DOCIO_USE_AVX2=$(usex cpu_flags_x86_avx2)"
- "-DOCIO_USE_AVX512=$(usex cpu_flags_x86_avx512f)"
- "-DOCIO_USE_F16C=$(usex cpu_flags_x86_f16c)"
- )
- fi
-
- # requires https://github.com/DLTcollab/sse2neon
- # if use arm || use arm64 ; then
- # mycmakeargs+=(
- # "-DOCIO_USE_SSE2NEON=$(usex cpu_flags_arm_neon)"
- # )
- # fi
-
- use python && mycmakeargs+=(
- "-DOCIO_PYTHON_VERSION=${EPYTHON/python/}"
- "-DPython_EXECUTABLE=${PYTHON}"
- "-DPYTHON_VARIANT_PATH=$(python_get_sitedir)"
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use doc; then
- # there are already files in ${ED}/usr/share/doc/${PF}
- mv "${ED}/usr/share/doc/OpenColorIO/"* "${ED}/usr/share/doc/${PF}" || die
- rmdir "${ED}/usr/share/doc/OpenColorIO" || die
- fi
-}
-
-src_test() {
- virtx cmake_src_test
-}
diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 9e6844c6476e..bed46283f0c0 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,21 +1,5 @@
-AUX openexr-3.1.1-0003-disable-failing-test.patch 1193 BLAKE2B d4a40151e2c0b2278bfbec06b88d1a2b1a0caccb651a53aa4d54945524e3c79fb03d9031540ed0f423be4503fff0881b2185cc33b614a2508135cec3113f9384 SHA512 e07602d78d15ab0f1076d7b5d3f3d16912e9d0ad792703af1b1d3d8fcf472eef2e410efc2abed2da70e39a97f4dd9194a47c6de50484da799d49cf44e62c9167
-AUX openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch 1187 BLAKE2B 2e415fce94cf501b3780f6aff6bdc076db6395b53334d98484a8ac2d7b1e9ec0a5b85bc2199e7861cfb6870f81b843621ffb9a90c493cfb544b219f353362d87 SHA512 19431be0f2d8733265840ae9d428a9ddae823e37017e23d798a12a3390c879b1d8bcffd4b7d12bca8f7f929fe307fd4bff9f421830ca7b5607a188364f02bb8f
-AUX openexr-3.1.5-add-missed-include-cstdint-statement.patch 546 BLAKE2B 43a64e815ef6fb9ef6d0022560553f1f025dd0cea0b309a7126602b30440125d8aaca8b550c7f07778db4888499662fd3afdb6557c9ac67b98bb3238a7f4df0a SHA512 04d538237c9945eb33546098be4b34a3c82d93fa3f14655528bf8da49bc1e34402f74385d6d6f93fa2a724d7a495082c35bd0abbc5965119c52d5efa49229bce
-AUX openexr-3.1.5-drop-failing-testDwaLookups.patch 868 BLAKE2B 6ae9b57b222e038a57499e3b466f018840b0e358048283acea7519eca5f2a4140b9d553ad6cdca9bd449e8fc3d42fd84dae11a34f5c4264c3786b38a59ab4125 SHA512 f8cdab71c97953984ada16cf2a26fea0fce5ebfcfa465992a80080ad1882a3eecd925fc94bacdd60e1463a7c8a1678e93c89d9c7a9ec5e27726bcc98465f909f
-AUX openexr-3.1.5-musl-i386.patch 755 BLAKE2B 0a32fd9f317aea7bc96608137ab8953d75bedd9813b7b8b2bde86acab9ba4624bb359efa3d9fa1c67891d91c12579a1fe36b38f64ed89c538fa38cc2b242b319 SHA512 a33110c648ec58513b420e9d40aeaf350f55bd9712b95e0fbca43c2cc11042c77a10d67714d7b403f1dd0d096e92bd1ab4548027b24682db48e5bb6ece5f88ad
-AUX openexr-3.1.7-musl-i386.patch 815 BLAKE2B c969001a289711427465cdc75977d8a554409e62ddd4a958b2363c22fbaf18cb10a7d11f03b5e3caee3476b7f325581a51092432f2490696d79794b9abb339f6 SHA512 abae9dbe6858c6384ae1ed373267d4cc6eb1d6458e48d282e612ef216a2cce6805e7f7e2cd7faa9daf36a12b6d93b5c18b78d2bd5eee9cfc41bec7c3444ddcc4
AUX openexr-3.2.1-bintests-iff-utils.patch 399 BLAKE2B b2ba76b0fe8430cb6275bd7520ce307b8f44f642efaa90c36cea03c34b0b5d6e93cc4bc81cc30b662c3d58941696f87c76604dfd614742051e8a6be7af3115e7 SHA512 58deaacc1e81c46cccfa4190498cfbf964e1fcfef384d73f86b8b18e8348886579385f292317588f64f0f6fd1ef062465ed6253d7c7d672bdb49b1e43f8addc7
-DIST openexr-3.1.11.tar.gz 20539852 BLAKE2B 9d57362c656a646a5b909063ff57eccfacbc70929a802561c2be71b050e97e7087221f78110f2686fcc1ea960d87880ccdbcb57b474f635a3392f3fa169ef3c5 SHA512 ebbad4b22315522f43cafefca77cf92ce38cac87f024c8dc6429aed04a6dad1f0a3d717faaab39c4c3605e440442952acc4630c5393754ea138929be4ad8a0d4
-DIST openexr-3.1.12.tar.gz 20540857 BLAKE2B 94a78e4e45f892b56f9a05cabad5cea999ff1844ff8569995f1f301e8599e0be1c214477f501f351c248eea141db22508eb764c1c91508399e69932026361c04 SHA512 0fce6a1322d74354a29ece9f9afeca1c4874c4d55079ec720f3ef21ab2ab950ec333f793f1ffad6634f57b40c4276af578b31ac8bc3e11856d7b903d5475e5eb
-DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd SHA512 01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c
-DIST openexr-3.1.7.tar.gz 20494812 BLAKE2B 2cc03ed8da77f4a9523b7a0f55c78e78ab55f8f6de67cb68f1b2b4ad4b512448d80f39d60a0cc9eab451da35539027a573a0c6d6900e7f81b39f90703909b5af SHA512 f72f5e728f10c06fca0172c9b4c1df752225c3aed7384b4eaa502f92f8547bb1df93fe96d4d132a81eb32b729cb9fd615be825aa6c5de78481d3038c0d47c4d5
-DIST openexr-3.2.3.tar.gz 18855303 BLAKE2B 4f5dbd9033031e988e973ef039b67632ac92e1272cc1d3e4540992f09f6b275c3ecb4c8f690cd98620519993099d132b43bb4bb40bb0d11caa06db868404015a SHA512 6e0a6fdcfae57c6e8b060d9aeed57140d96d39bffe5e40edd6ea5beb06e569323833d07906316ffca05f48e8409d0ea4174e2cd84d554404a4ee432e07d7b5e6
DIST openexr-3.2.4.tar.gz 18856440 BLAKE2B f29910b2e36808b741860bf603571f607ca929672b3c5b9de7c7c16242f2a38d02627614c10e7b01a8cfd8804923636eb0dfe2c798ec3ff63252dd20e3f8e535 SHA512 ecc3d8b206bda5e5897ac9cd797a8432b76981de10d49cbb107af2b4108c22186de0dda25a9a43b07e18d641ef71508445d95f659a4ca932e029d48ee029a492
DIST openexr-images-1.0.tar.gz 252222962 BLAKE2B d57c458dfbd1b08c964429022b6e08a3309bf11cbd43c64e271ebc620dae6dbe70636e5221f47dabd7fe2aa0806f2cf3f3c9b3f55fd7f45b0a34f3e62b6029e7 SHA512 c1c83a26cd326d0fcda824daccb0044abad46f29e1bd2ceb1c38bc62b3e71f0aeef126dddc4517eb1cb9f7c9d0fe234276a48a754bdb7c7823e9aee459d8670a
-EBUILD openexr-3.1.11.ebuild 2065 BLAKE2B e0c0fdcdd04715324b708c5096fa9e5a6d71a9c72d2fe95b776981d2be9eaa2c438d26ca0ba45a436a662ddb37810f752c44560407a00effa99526462295fa3d SHA512 4b3fbdcc7fd97167f855d66def172129ccea5b73935c8f1ab378c7b05fa18fed35d0f06905e182215c9c1a9e60ee2fc6a9daf5b507c444fc6809cc34aa7a371a
-EBUILD openexr-3.1.12.ebuild 2068 BLAKE2B 152d93c66f05c1ec9b83f9631e9984f0a5a4f39abcd7063b19756d4f0f8e9aef1d91301cd95018feca57c763558faedfe78ba07bec5f7517cf3c8c07925fbc19 SHA512 a24d130a7dd6207ae1da95cf2a04fbfbeb1188179a2f9e1c838d2a58ea502a4b0398bdbb2d9666f25926c424f24e6b940c7ec1daeabe2c7439398ce4571fcec2
-EBUILD openexr-3.1.5-r1.ebuild 2067 BLAKE2B 5def6ac36362ea8d8810bd2056df16ca57e658e83eb2a0ae6846cc322ae0be41f8c76dad1498947ed8b44fad9fac46a598e1cf173395c1a9946719f2359743b2 SHA512 9b7f62c74c723fe18766db36e4f75623818c8d2697d23f24c742061280a373fef973cc5478bd8a27492aa82249f189bdcc4c395854199d910e54d91033755174
-EBUILD openexr-3.1.7.ebuild 1924 BLAKE2B 1ae6aeb5a4693d21d798b6260fb2b485044dcfa33820f328f81993f7d3fa6a7ba98c12f183dda3b58fc8d99c3785c5e5d15acdab03d6fe2c9b19bbe76905e5cc SHA512 df60600d657768a811a5b62cb3f77c0fca177ea595b2895c7e62d797fc147f8ef0551512b67ef80d0b0ece156de143bf36e7dd20dbc88f276f879d95fb8e58e8
-EBUILD openexr-3.2.3-r2.ebuild 3582 BLAKE2B 9bfe1420f27548dce47a3fe3ba7b98694fcaf07b541277bc4542954ed2416550335fa9d1c6c3dc3c89ee016b6e9da9943ebe9a1b258c91bd25537bdc07a2b971 SHA512 1d76eb16ec764bc579008a3568d7292fa317f8753ed439856c126232e268f7b2b72334686f3b4e8b6298ff6e5e4fa0fa9e4873d5854b4aadd14dac9be47ffab2
EBUILD openexr-3.2.4-r2.ebuild 3582 BLAKE2B 9bfe1420f27548dce47a3fe3ba7b98694fcaf07b541277bc4542954ed2416550335fa9d1c6c3dc3c89ee016b6e9da9943ebe9a1b258c91bd25537bdc07a2b971 SHA512 1d76eb16ec764bc579008a3568d7292fa317f8753ed439856c126232e268f7b2b72334686f3b4e8b6298ff6e5e4fa0fa9e4873d5854b4aadd14dac9be47ffab2
MISC metadata.xml 798 BLAKE2B d780a0ead28144e6031fedeed720d1cd79bfa8ab54a1f9d2a99324ac6db4948cf25ebf73abd630d7e697b8578ef5b6442679ce05d1949784fb8a17ed2a6fb9a1 SHA512 5c9d837a72b41c0d8463ffadd639fde0c9dc620abf4b51ef7718efed5d94a12a336d85f10d65e2fbffd3d4c59fe12a09e71f42f68d081917f4d7f1aba24de893
diff --git a/media-libs/openexr/files/openexr-3.1.1-0003-disable-failing-test.patch b/media-libs/openexr/files/openexr-3.1.1-0003-disable-failing-test.patch
deleted file mode 100644
index e2f0d6e59621..000000000000
--- a/media-libs/openexr/files/openexr-3.1.1-0003-disable-failing-test.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Wed, 4 Aug 2021 08:33:52 +0200
-Subject: [PATCH] disable failing test
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
----
- src/test/OpenEXRTest/CMakeLists.txt | 1 -
- src/test/OpenEXRTest/main.cpp | 1 -
- 2 files changed, 2 deletions(-)
-
-diff --git a/src/test/OpenEXRTest/CMakeLists.txt b/src/test/OpenEXRTest/CMakeLists.txt
-index 9dd74d1..2a1a2bd 100644
---- a/src/test/OpenEXRTest/CMakeLists.txt
-+++ b/src/test/OpenEXRTest/CMakeLists.txt
-@@ -118,7 +118,6 @@ define_openexr_tests(
- testMultiView
- testNativeFormat
- testOptimized
-- testOptimizedInterleavePatterns
- testPartHelper
- testPreviewImage
- testRgba
-diff --git a/src/test/OpenEXRTest/main.cpp b/src/test/OpenEXRTest/main.cpp
-index 4eaecc9..0c0caed 100644
---- a/src/test/OpenEXRTest/main.cpp
-+++ b/src/test/OpenEXRTest/main.cpp
-@@ -202,7 +202,6 @@ main (int argc, char *argv[])
- TEST (testExistingStreams, "core");
- TEST (testStandardAttributes, "core");
- TEST (testOptimized, "basic");
-- TEST (testOptimizedInterleavePatterns, "basic");
- TEST (testYca, "basic");
- TEST (testTiledYa, "basic");
- TEST (testNativeFormat, "basic");
---
-2.32.0
-
diff --git a/media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch b/media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
deleted file mode 100644
index 3b104089350e..000000000000
--- a/media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From https://github.com/AcademySoftwareFoundation/openexr/commit/c5763cfdf59ef4880dacdb11664782822a0976cd
-From: Cary Phillips <cary@ilm.com>
-Date: Sun, 31 Jul 2022 13:36:03 -0700
-Subject: [PATCH 1/4] Add missing #include <cstdint> required by gcc-13 (#1264)
-
-Originally submitted as #1262, thanks.
-
-Signed-off-by: Cary Phillips <cary@ilm.com>
-
-Adapted changes in exrcheck/main.cpp for 3.1.5 code base on Gentoo (different
-ordering of #included header files compared to current HEAD).
---- a/src/bin/exrcheck/main.cpp
-+++ b/src/bin/exrcheck/main.cpp
-@@ -4,6 +4,7 @@
- #include <ImfCheckFile.h>
- #include <ImathConfig.h>
-
-+#include <cstdint>
- #include <iostream>
- #include <fstream>
- #include <string.h>
---- a/src/lib/OpenEXR/ImfDeepTiledInputFile.h
-+++ b/src/lib/OpenEXR/ImfDeepTiledInputFile.h
-@@ -19,6 +19,7 @@
-
- #include "ImfTileDescription.h"
-
-+#include <cstdint>
- #include <ImathBox.h>
-
- OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
---- a/src/lib/OpenEXR/ImfDeepTiledInputPart.h
-+++ b/src/lib/OpenEXR/ImfDeepTiledInputPart.h
-@@ -10,6 +10,7 @@
-
- #include "ImfTileDescription.h"
-
-+#include <cstdint>
- #include <ImathBox.h>
-
- OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
---
-2.37.3
-
diff --git a/media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch b/media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch
deleted file mode 100644
index 77ca274703cc..000000000000
--- a/media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://github.com/AcademySoftwareFoundation/openexr/pull/1276
-
-From 974b14f67e89dddb6710364034116b3f7b9e0247 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Thu, 15 Sep 2022 18:58:01 +0200
-Subject: [PATCH] add missed #include <cstdint> statement
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
---- a/src/lib/OpenEXR/ImfTiledMisc.h
-+++ b/src/lib/OpenEXR/ImfTiledMisc.h
-@@ -19,6 +19,7 @@
-
- #include <stdio.h>
- #include <vector>
-+#include <cstdint>
-
- OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
-
---
-2.37.3
-
diff --git a/media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch b/media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch
deleted file mode 100644
index 7579ddd23156..000000000000
--- a/media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 6f3c61b994e9a503fcc9649cba439d81f40901d0 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Tue, 27 Sep 2022 07:29:11 +0200
-Subject: [PATCH] drop failing testDwaLookups
-
-On x86_32 testDwaLookups fails
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
---- a/src/test/OpenEXRTest/main.cpp
-+++ b/src/test/OpenEXRTest/main.cpp
-@@ -65,7 +65,6 @@
- #include "testDwaCompressorSimd.h"
- #include "testRle.h"
- #include "testB44ExpLogTable.h"
--#include "testDwaLookups.h"
- #include "testIDManifest.h"
-
- #include "tmpDir.h"
-@@ -229,7 +228,6 @@ main (int argc, char *argv[])
- TEST (testDwaCompressorSimd, "basic");
- TEST (testRle, "core");
- TEST (testB44ExpLogTable, "core");
-- TEST (testDwaLookups, "core");
- TEST (testIDManifest, "core");
-
- // NB: If you add a test here, make sure to enumerate it in the
---
-2.37.3
-
diff --git a/media-libs/openexr/files/openexr-3.1.5-musl-i386.patch b/media-libs/openexr/files/openexr-3.1.5-musl-i386.patch
deleted file mode 100644
index 2b7a31ac694d..000000000000
--- a/media-libs/openexr/files/openexr-3.1.5-musl-i386.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/src/lib/Iex/IexMathFpu.cpp
-+++ b/src/lib/Iex/IexMathFpu.cpp
-@@ -251,14 +251,14 @@
- inline void
- restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
- {
--# if defined(__GLIBC__) && defined(__i386__)
-+# if defined(__linux__) && defined(__i386__)
- setCw ((ucon.uc_mcontext.fpregs->cw & cwRestoreMask) | cwRestoreVal);
- #else
- setCw ((ucon.uc_mcontext.fpregs->cwd & cwRestoreMask) | cwRestoreVal);
- # endif
-
- _fpstate* kfp = reinterpret_cast<_fpstate*> (ucon.uc_mcontext.fpregs);
--# if defined(__GLIBC__) && defined(__i386__)
-+# if defined(__linux__) && defined(__i386__)
- setMxcsr (kfp->magic == 0 ? kfp->mxcsr : 0, clearExceptions);
- #else
- setMxcsr (kfp->mxcsr, clearExceptions);
diff --git a/media-libs/openexr/files/openexr-3.1.7-musl-i386.patch b/media-libs/openexr/files/openexr-3.1.7-musl-i386.patch
deleted file mode 100644
index e2bedf6e7a12..000000000000
--- a/media-libs/openexr/files/openexr-3.1.7-musl-i386.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/src/lib/Iex/IexMathFpu.cpp
-+++ b/src/lib/Iex/IexMathFpu.cpp
-@@ -251,14 +251,14 @@
- inline void
- restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
- {
--# if (defined(__GLIBC__) && defined(__i386__)) || defined(__ANDROID_API__)
-+# if (defined(__linux__) && defined(__i386__)) || defined(__ANDROID_API__)
- setCw ((ucon.uc_mcontext.fpregs->cw & cwRestoreMask) | cwRestoreVal);
- #else
- setCw ((ucon.uc_mcontext.fpregs->cwd & cwRestoreMask) | cwRestoreVal);
- # endif
-
- _fpstate* kfp = reinterpret_cast<_fpstate*> (ucon.uc_mcontext.fpregs);
--# if defined(__GLIBC__) && defined(__i386__)
-+# if defined(__linux__) && defined(__i386__)
- setMxcsr (kfp->magic == 0 ? kfp->mxcsr : 0, clearExceptions);
- #else
- setMxcsr (kfp->mxcsr, clearExceptions);
diff --git a/media-libs/openexr/openexr-3.1.11.ebuild b/media-libs/openexr/openexr-3.1.11.ebuild
deleted file mode 100644
index 4b0af468a73a..000000000000
--- a/media-libs/openexr/openexr-3.1.11.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/"
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/imath-3.1.6:=
- sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
-
-src_prepare() {
- # Fix path for testsuite
- sed -e "s:/var/tmp/:${T}:" \
- -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set temp path for tests"
-
- if use x86; then
- eapply "${FILESDIR}"/${PN}-3.1.5-drop-failing-testDwaLookups.patch
- fi
-
- cmake_src_prepare
-}
-
-src_configure() {
- if use x86; then
- replace-cpu-flags native i686
- fi
-
- local mycmakeargs=(
- -DBUILD_DOCS=OFF # needs sphinx_press_theme which we don't have in ::gentoo
- -DBUILD_TESTING=$(usex test)
- -DOPENEXR_BUILD_TOOLS=$(usex utils)
- -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
- -DOPENEXR_ENABLE_THREADING=$(usex threads)
- -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
- -DOPENEXR_INSTALL_PKG_CONFIG=ON
- -DOPENEXR_INSTALL_TOOLS=$(usex utils)
- -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
- )
-
- use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
- cmake_src_configure
-}
-
-src_test() {
- local CMAKE_SKIP_TESTS=()
-
- use arm64 && CMAKE_SKIP_TESTS+=(
- # bug #922247
- 'OpenEXRCore.testDWAACompression'
- 'OpenEXRCore.testDWABCompression'
- )
-
- cmake_src_test
-}
-
-src_install() {
- use examples && docompress -x /usr/share/doc/${PF}/examples
-
- cmake_src_install
-}
diff --git a/media-libs/openexr/openexr-3.1.12.ebuild b/media-libs/openexr/openexr-3.1.12.ebuild
deleted file mode 100644
index de6cba52a4ee..000000000000
--- a/media-libs/openexr/openexr-3.1.12.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/"
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/imath-3.1.6:=
- sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
-
-src_prepare() {
- # Fix path for testsuite
- sed -e "s:/var/tmp/:${T}:" \
- -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set temp path for tests"
-
- if use x86; then
- eapply "${FILESDIR}"/${PN}-3.1.5-drop-failing-testDwaLookups.patch
- fi
-
- cmake_src_prepare
-}
-
-src_configure() {
- if use x86; then
- replace-cpu-flags native i686
- fi
-
- local mycmakeargs=(
- -DBUILD_DOCS=OFF # needs sphinx_press_theme which we don't have in ::gentoo
- -DBUILD_TESTING=$(usex test)
- -DOPENEXR_BUILD_TOOLS=$(usex utils)
- -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
- -DOPENEXR_ENABLE_THREADING=$(usex threads)
- -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
- -DOPENEXR_INSTALL_PKG_CONFIG=ON
- -DOPENEXR_INSTALL_TOOLS=$(usex utils)
- -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
- )
-
- use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
- cmake_src_configure
-}
-
-src_test() {
- local CMAKE_SKIP_TESTS=()
-
- use arm64 && CMAKE_SKIP_TESTS+=(
- # bug #922247
- 'OpenEXRCore.testDWAACompression'
- 'OpenEXRCore.testDWABCompression'
- )
-
- cmake_src_test
-}
-
-src_install() {
- use examples && docompress -x /usr/share/doc/${PF}/examples
-
- cmake_src_install
-}
diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild b/media-libs/openexr/openexr-3.1.5-r1.ebuild
deleted file mode 100644
index 8ec80d3071e3..000000000000
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/"
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/imath-${PV}:=
- sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- doc? ( dev-python/breathe )
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
- "${FILESDIR}"/${P}-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
- "${FILESDIR}"/${P}-add-missed-include-cstdint-statement.patch
- "${FILESDIR}"/${P}-musl-i386.patch
-)
-
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md docs/SymbolVisibility.md )
-
-src_prepare() {
- # Fix path for testsuite
- sed -e "s:/var/tmp/:${T}:" \
- -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die "failed to set temp path for tests"
-
- if use x86; then
- eapply "${FILESDIR}"/${P}-drop-failing-testDwaLookups.patch
- fi
-
- cmake_src_prepare
-}
-
-src_configure() {
- if use x86; then
- replace-cpu-flags native i686
- fi
-
- local mycmakeargs=(
- -DBUILD_TESTING=$(usex test)
- -DDOCS=$(usex doc)
- -DOPENEXR_BUILD_TOOLS=$(usex utils)
- -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
- -DOPENEXR_ENABLE_THREADING=$(usex threads)
- -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
- -DOPENEXR_INSTALL_PKG_CONFIG=ON
- -DOPENEXR_INSTALL_TOOLS=$(usex utils)
- -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
- )
-
- use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
- cmake_src_configure
-}
-
-src_install() {
- use examples && docompress -x /usr/share/doc/${PF}/examples
-
- cmake_src_install
-}
diff --git a/media-libs/openexr/openexr-3.1.7.ebuild b/media-libs/openexr/openexr-3.1.7.ebuild
deleted file mode 100644
index cedfef02a75b..000000000000
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/"
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/imath-3.1.6:=
- sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
- "${FILESDIR}"/${PN}-3.1.7-musl-i386.patch
-)
-
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
-
-src_prepare() {
- # Fix path for testsuite
- sed -e "s:/var/tmp/:${T}:" \
- -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set temp path for tests"
-
- if use x86; then
- eapply "${FILESDIR}"/${PN}-3.1.5-drop-failing-testDwaLookups.patch
- fi
-
- cmake_src_prepare
-}
-
-src_configure() {
- if use x86; then
- replace-cpu-flags native i686
- fi
-
- local mycmakeargs=(
- -DBUILD_DOCS=OFF # needs sphinx_press_theme which we don't have in ::gentoo
- -DBUILD_TESTING=$(usex test)
- -DOPENEXR_BUILD_TOOLS=$(usex utils)
- -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
- -DOPENEXR_ENABLE_THREADING=$(usex threads)
- -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
- -DOPENEXR_INSTALL_PKG_CONFIG=ON
- -DOPENEXR_INSTALL_TOOLS=$(usex utils)
- -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
- )
-
- use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
- cmake_src_configure
-}
-
-src_install() {
- use examples && docompress -x /usr/share/doc/${PF}/examples
-
- cmake_src_install
-}
diff --git a/media-libs/openexr/openexr-3.2.3-r2.ebuild b/media-libs/openexr/openexr-3.2.3-r2.ebuild
deleted file mode 100644
index 574d441feb13..000000000000
--- a/media-libs/openexr/openexr-3.2.3-r2.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/"
-SRC_URI="
- https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- test? (
- utils? (
- https://github.com/AcademySoftwareFoundation/openexr-images/archive/refs/tags/v1.0.tar.gz
- -> openexr-images-1.0.tar.gz
- )
- )
-"
-
-LICENSE="BSD"
-SLOT="0/31" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
-REQUIRED_USE="doc? ( utils )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- app-arch/libdeflate:=[zlib(+)]
- >=dev-libs/imath-3.1.6:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- doc? ( sys-apps/help2man )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.2.1-bintests-iff-utils.patch"
-)
-
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
-
-src_prepare() {
- # Fix path for testsuite
- sed -e "s:/var/tmp/:${T}:" \
- -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set temp path for tests"
-
- sed -e "s:if(INSTALL_DOCS):if(OPENEXR_INSTALL_DOCS):" \
- -i docs/CMakeLists.txt || die
-
- cmake_src_prepare
-
- if use test && use utils; then
- IMAGES=(
- Beachball/multipart.0001.exr
- Beachball/singlepart.0001.exr
- Chromaticities/Rec709.exr
- Chromaticities/Rec709_YC.exr
- Chromaticities/XYZ.exr
- Chromaticities/XYZ_YC.exr
- LuminanceChroma/Flowers.exr
- LuminanceChroma/Garden.exr
- MultiResolution/ColorCodedLevels.exr
- MultiResolution/WavyLinesCube.exr
- MultiResolution/WavyLinesLatLong.exr
- MultiView/Adjuster.exr
- TestImages/GammaChart.exr
- TestImages/GrayRampsHorizontal.exr
- v2/LeftView/Balls.exr
- v2/Stereo/Trunks.exr
- )
-
- mkdir -p "${BUILD_DIR}/src/test/bin" || die
-
- for image in "${IMAGES[@]}"; do
- mkdir -p "${BUILD_DIR}/src/test/bin/$(dirname "${image}")" || die
- cp -a "${WORKDIR}/openexr-images-1.0/${image}" "${BUILD_DIR}/src/test/bin/${image}" || die
- done
- fi
-
-}
-
-src_configure() {
- if use x86; then
- replace-cpu-flags native i686
- fi
-
- local mycmakeargs=(
- -DOPENEXR_CXX_STANDARD="17"
-
- -DBUILD_SHARED_LIBS="yes"
- -DBUILD_TESTING="$(usex test)"
- -DBUILD_WEBSITE="no"
-
- -DOPENEXR_BUILD_EXAMPLES="$(usex examples)"
- -DOPENEXR_BUILD_PYTHON="no"
- -DOPENEXR_BUILD_TOOLS="$(usex utils)"
- -DOPENEXR_ENABLE_LARGE_STACK="$(usex large-stack)"
- -DOPENEXR_ENABLE_THREADING="$(usex threads)"
-
- -DOPENEXR_INSTALL="yes"
- -DOPENEXR_INSTALL_DOCS="$(usex doc)"
- -DOPENEXR_INSTALL_PKG_CONFIG="yes"
- -DOPENEXR_INSTALL_TOOLS="$(usex utils)"
-
- -DOPENEXR_USE_CLANG_TIDY="no" # don't look for clang-tidy
-
- -DOPENEXR_FORCE_INTERNAL_DEFLATE="no"
- -DOPENEXR_FORCE_INTERNAL_IMATH="no"
- )
- if use test; then
- # OPENEXR_RUN_FUZZ_TESTS depends on BUILD_TESTING, see
- # - https://bugs.gentoo.org/925128
- # - https://openexr.com/en/latest/install.html#component-options
-
- # NOTE: the fuzz tests are very slow
- mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS="ON" )
- fi
-
- cmake_src_configure
-}
-
-src_test() {
- local CMAKE_SKIP_TESTS=()
-
- use arm64 && CMAKE_SKIP_TESTS+=(
- # bug #922247
- 'OpenEXRCore.testDWAACompression'
- 'OpenEXRCore.testDWABCompression'
- )
- use x86 && CMAKE_SKIP_TESTS+=(
- '^OpenEXR.testDwaLookups$'
- )
-
- cmake_src_test
-}
-
-src_install() {
- use examples && docompress -x "/usr/share/doc/${PF}/examples"
-
- cmake_src_install
-}
diff --git a/media-libs/openfec/Manifest b/media-libs/openfec/Manifest
index 0a8eabd459ab..2808b19faa74 100644
--- a/media-libs/openfec/Manifest
+++ b/media-libs/openfec/Manifest
@@ -1,3 +1,6 @@
+AUX openfec-1.4.2.11-opt.patch 653 BLAKE2B 81643e0a4feedccf4415e7ea0ee57bb6d52c627a33423f62cf216e9b728049093b818398e5b6a0631eb73f56e7d827aafc832565797499c57d5f45c5b9e3705c SHA512 d7321af8990bb51042d632008f2f0b532c586eb7a32765fbd18019cf7ab706696fee9415fe9b678f7c906a2fa84355d01b7ac75133f282405ca9fd9c4906b7bd
+DIST openfec-1.4.2.11.tar.gz 1112095 BLAKE2B d54fcb6f3a6ea76e44519384fb288e1a896315642175694ed887ee7637c9b479d94a4e461e446b92baf669695f496eb30b5b7836b86b297c3cc95bd63edbd48d SHA512 e77da3997296e6518574102e54af2f60d27a691bb32ea9eb61a5de714974e35287d2c18e1564fa7d299fa2191af1ad718ffd8f9fd5ad7ea468aca0dd6b88e9e5
DIST openfec-1.4.2.9.tar.gz 1111548 BLAKE2B c3fd234c6f758144e514a262028024cb61a2379d065ab645067200618181a5ba4ae793fda82f60f0a870906d1978ef08ba8e73f9711bccf27b5161c5732702d1 SHA512 6c23f4d4263c514170f6abf806d7faf4c3fbf7fe34f55128383dcd84808a6966edd13587f7549ead74578ca219bdce9e42a32fc04071df0d54dae5b1336ed2b3
+EBUILD openfec-1.4.2.11.ebuild 739 BLAKE2B d416b82a3b94edf0b6e7a440800b4f93c0da88d9ffb6829d499c3e4985588c6ad1ee735f72dd889a94e97c32a379d21d566c977125d04a3a65a2f04aa8883901 SHA512 7bc5836c6230f9d2f0ab87c350c179939ed0cbd9c1ca0c4f6a14fbdd8873aae05db068d1b722341a17ddbca88bb21d8ca9b2d4507e9bf15e60c4638ab5006bba
EBUILD openfec-1.4.2.9.ebuild 541 BLAKE2B f0bad1287512b7bbfdbdbb29a31787da98c822795807f631fc0227a29cec65503f0a2ea4307c8074f50337839283dafd4fbdf7bf6b5cc4dff510081dd1f07748 SHA512 d1bc4577f8b32d330cc52e7715d9cd06d0bd5a6b14990ec0d28b44159e0e1334efec25ec7e2223274a72b33eecbacd17fd1f50baa01b71ba273122e52feb50d1
MISC metadata.xml 326 BLAKE2B d0c0beff93a23eb6f331f003f68c77402081370dbdcf2b6a8bd72ac4ee1a110e3944367d12aacedc6cbe2fbd4657f4557dde21dc06efa2147fef7b9c5b47ee59 SHA512 b790ce0573fc3bb81da40a56c77821314d5fe0ddc34923c007b0fe7cb6c49a1a756744d8c97b62648af80078eea98e5cc45061aba64179d6d8e2630f8fa07219
diff --git a/media-libs/openfec/files/openfec-1.4.2.11-opt.patch b/media-libs/openfec/files/openfec-1.4.2.11-opt.patch
new file mode 100644
index 000000000000..97339443437f
--- /dev/null
+++ b/media-libs/openfec/files/openfec-1.4.2.11-opt.patch
@@ -0,0 +1,16 @@
+This breaks with e.g. -Wa,-O2.
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -36,12 +36,6 @@ message(STATUS "Debug mode ON" )
+ else(DEBUG STREQUAL "ON")
+ # Release mode
+ set(CMAKE_BUILD_TYPE Release)
+-set(OPTIMIZE "3" CACHE STRING "Set optimization level (0-3 or DEFAULT)")
+-if (NOT OPTIMIZE STREQUAL "DEFAULT")
+- string(REGEX REPLACE "(-O[A-Za-z0-9]+)" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
+- string(REGEX REPLACE "(-O[A-Za-z0-9]+)" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O${OPTIMIZE}")
+-endif()
+ message(STATUS "Debug mode OFF")
+ message(STATUS "Optimization level ${OPTIMIZE}")
+
diff --git a/media-libs/openfec/openfec-1.4.2.11.ebuild b/media-libs/openfec/openfec-1.4.2.11.ebuild
new file mode 100644
index 000000000000..cd6ad2b2f564
--- /dev/null
+++ b/media-libs/openfec/openfec-1.4.2.11.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Library of various AL-FEC codecs"
+HOMEPAGE="https://github.com/roc-streaming/openfec http://openfec.org/"
+SRC_URI="https://github.com/roc-streaming/openfec/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# See https://github.com/roc-streaming/openfec/blob/d87b258e3de3cdddf700b40e94c51ec9bd44a47f/CHANGELOG#L47.
+LICENSE="CeCILL-2 CeCILL-C"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cpu_flags_x86_sse"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.2.11-opt.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DASSEMBLY_SSE_OPT=$(usex cpu_flags_x86_sse)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_src_test tests
+}
diff --git a/media-libs/openimageio/Manifest b/media-libs/openimageio/Manifest
index 62d210cb62d9..e9af9a370622 100644
--- a/media-libs/openimageio/Manifest
+++ b/media-libs/openimageio/Manifest
@@ -1,7 +1,6 @@
AUX openimageio-2.5.12.0-heif-find-fix.patch 802 BLAKE2B bdf3e77c396d7e39935a3afb6fcb5140d4db83cc7bc3385d71adad7f3d27d53f300244f986be788e0ac51e26a59edc67c819ed57c5affc514f7d72088fa34e38 SHA512 c1d02001703ee17af4192d7a8ada592d9e03e2af2822393eb1d1db1de26777dd1715dfe68af36d1070dd29bf33b3f8db6b2d9d7a6dde989c90fc89b4cfff24cb
AUX openimageio-2.5.12.0-tests-optional.patch 1310 BLAKE2B 563d3ede3ea10439e130d96647918387455ae8fb1fbb75220a064ce98322f8d87f113c04b6e215db6d6e95bf1e96f9c922f144a46af1674726f5b87918a4ae3a SHA512 95b6921b4dadc6535d978178141b62916121e27540f8e578d93347bfab59506f49ded7584b03b8dac04af44e14a74701437fa0f6faacca9d12657352fc0d3f06
AUX openimageio-2.5.12.0_heif_test.patch 839 BLAKE2B e7309fde786053afc3c373bfd5d6affa8d86d7524ff44b52a61b3c4cf3bb18cd2a987699e788eb7d6a910a1bd8b813deb2497475799593a6c780442d6cc31963 SHA512 f32a5b46bc4fb678322b0f9d930e1bdaae370087084ffce4dcf61de6a3d56059a384924fd718ed5cfbaff0ab76c6a1f8bdaf8c4e3961b9defaadb04e1d402b90
-AUX openimageio-2.5.8.0-fits.patch 672 BLAKE2B 3bc6252c246698ef29dd74fdf1e1dde59658c717ed078cd5b9e251dc59f57395bc761325664d07ccae90df32e3600ab9c68732d3610ba9c99fbc236eb28840d6 SHA512 bdcca17073be2d8d2fdfb770f117f429fa4c8db26e7366d1ab9e211837fe07622054cd71ff9206fa7c449974faba865c6412d7a5cbd3042ca1a0b8e8a944efc5
AUX openimageio-2.5.8.0-fix-tests.patch 10084 BLAKE2B d6cc1e35cb31df4d42a4a4b14283c81fb4b9157be480688102f912052a51ad5d56d22573a3b9c4c9fc80465c12b3c085b07cf8745ac86b1c83985af30942f4c8 SHA512 39e55ad64fc644420a2305abb616f6ca409fc345bc363557c176c2e88b32fd96d52fbacaf2c002d159341bf6401d19407c50781af2b39c638e738047d86d3903
AUX openimageio-2.5.8.0-fix-unit_simd.patch 1028 BLAKE2B 2d9c9a61f44a8e1cf11429d9f32ffd047368ee9d42c5ab25bfafc3bdd3d856afb49aef8c46c850f9739de8db634dcadccdf83cc86fc9d7c078d5b96b7f300a6b SHA512 a96074ee5db257f0317677f8e67e1b634504fa0a608dddd089f1683fe6f77ca586bd6ebf54c35017eaf51c9025fb7c48697a340c74fd4c29976287009a805729
DIST J2KP4files.zip 52204801 BLAKE2B 9e1c9afc11dc9e9be9987d458c274902f4205a5838a22bccd990699cfe1612139703d0ecc10fa77eacf5d246739025ddf57a02d91b80d3acfa1bae8377044b24 SHA512 71822f8b2518c4a7a5e195700d0e960a4b900e5b36ddfd2498e5a1e4e149ae3ea0262c51a24a7081119aa5d00772d45d1b0bab836bbca0557c2e9bb9a88b89f4
@@ -10,12 +9,9 @@ DIST file002.fits 11520 BLAKE2B e1983941ca932f9db088f2d1856ca3b1fd268cf8d30e1885
DIST file003.fits 581760 BLAKE2B 35d77c64ff9e25f34593ea41839a4f7712dc344d12ab2c041a1e1ef7ad9846a711fafb71ba71b191a7dc44cd94ae7172640210a5c48e2910d34efea4c20989e1 SHA512 dc143b27f8850e2a55ad95a9a7a76a348f0b9b0af5a223d1ae11157eb358acf74e482957faaa0cdbaf260b9cbe14b10e6b504068c7b312f059119c022279611f
DIST file009.fits 25920 BLAKE2B 594061eba4d48da8cbfee58ab592a0adb5a22d681228330e84f60304e5146a8856e9c65b763d6d8e2136217ebe85d92128318cccfcf6358c7bc767232c6382c9 SHA512 57d53622854399aed96efbeff78e700990b2fc63c4dbd1bc9ac58c7670af98d528db2f1a3e9de4e74b977f8318109b465b46423bbac36bf2bf34a1e33e7dcdb8
DIST file012.fits 1019520 BLAKE2B e86d9e0004ca159d9a5ae0585776db65c7dd49162cb5dbd8b511686244950e33746d8a41f60b5ba8fcea220194fa87e16235adb7ccc0b4fb4b0a61e6c5c376a8 SHA512 45439544da478b24ccbcf14dc9a651aa8ecbce29b9992204d85c1eee42bc88b68802ec57bc148510da1e062de95ee53dd5c64c9bfa2e0b6cdfd945a78d1fc76a
-DIST openimageio-2.5.12.0.tar.gz 52535046 BLAKE2B d60e823b8834c68098e771929475b7321363aad044b244a5c2a284e1c67a1a3145d22ed259eccbc4f6fbfcd6d2768414e4f22bdfa17f6516205d7749dcc6c6c8 SHA512 c6e53b5484702c66f01490d23f272e597e016b984d54f81e400605bf2a2e1dd7843ce25a7ef51ffbc7ee7089b42e8d73a91699b93cb655b5ca9ef869c9a950f4
DIST openimageio-2.5.13.1.tar.gz 52538869 BLAKE2B ceba0bde73cbf2b5b7b243fa1dc4806aece881c37775418c3305d5e5665e1c249219cad2c7b0d9d4acd5955897dc13dfb94e4627e9ae866e6400559b99e7021a SHA512 3c9eb9a361464e73fae518b704438bbf409c846031f05026d8b9ace91431819ac80674130ccd2300deb9756ae26e150bf5c0a866be3f3fb65bdfba0ba60395ab
-DIST openimageio-2.5.9.0.tar.gz 52051925 BLAKE2B 7d499d80af6cdecfdea9a422030c095357b67a7d8dd281638e2e687df47b5c7b57c909c8682f1c6185251df13d6f9c7ddf1f9d5fc7fef26351fe0d4b8cc7d8c6 SHA512 554f61e19e3f81c8495f48386494a1aeee3a2a759b3022b4fb5cf1dba1dbc813cd0956b60d08a2c1feca69d97141e5836651fcbbeadab1e050eb2d103eb1c41f
DIST openimageio-oexr-test-image-df16e765fee28a947244657cae3251959ae63c00.tar.gz 252131865 BLAKE2B f5f2477897f84148574cdd02b673c7bdff49d8f45026375095bb6f184230466e2e60020be7583e5a5aa0aa9c971e7251979d3eeb2ee620d47342b1e4435427e0 SHA512 e89c2935496c5fec2ebe1175e9b9bd3aecb23374ec3947057195ee6d31a883c1a67c4dc754bf0a5b68859093b5e169b70ffabd4736cf67f9e3dc09f3299fc54f
DIST openimageio-oiio-test-image-7d821f02c848022b2ee703d6bee48ca2acbfae70.tar.gz 141224552 BLAKE2B e185f6b2bd345ca0740d1ac7bc48e5a283a80db0d2fa88566367e1179e96d048ac371708db29a6591d0c4eb7f9c171af22bac30fd68bc223e2c373db3b99077d SHA512 a3c9e4151c946b79e2eb37cd53fd2865d6117431ad06e4e35d42c10d9ff8415224e2f20e14af8dd869ec2a6c6faf4f9d8ef28e5b6556c88a54398de4a8843b59
-DIST openimageio-oiio-test-image-aae37a54e31c0e719edcec852994d052ecf6541e.tar.gz 137910473 BLAKE2B 4fb43e1dc0a726fc64085884494b8fef23a824d38e79c5ec33ab4bd9338f5efbb91a6b534b89f37f868838984e22530e8f938436674b0972537fb6b25f3b9d57 SHA512 d7e49efd1ce07364f226318b6572ceb46d654f22d94baa031dea05c6529b51a23a81ae6940136c3f7dd749f65f105c2efcdb5609b21b291110b92419233b2521
DIST tst0001.fits 43200 BLAKE2B 7d9d82fde64c3b21f8f86be6feaf9187d48c2c504c9afc0e652015512fb3d9e04c0f78596cdc9d7cc54815175549bfdf01d2d80f894cd36f4e6284aaf065dcc8 SHA512 b401accd51b56a493e2ec52fe4441e05cbefa3d03fe0e1c6834327094ab9f8e0c69a0f2cff26007ed7c7f8686a78a3a7e043d945f3a93c1b68e03668b8cbdc5c
DIST tst0003.fits 152640 BLAKE2B 74c38c9f6cd65a46eff865589bd319111187d123c90bedc80f934caf6625f20120ecb30e8f5210c7d5d6609964e63fc2c2fc59f60bf609a07f2440421f44356e SHA512 4cd9c9a96fd3a5b8daae7d6b34af4c68c965abc4cc825aaaf9f3587a43328f468595ff1cd210e9fbca365bd52bf31a70abf39b2b3966d3087dd3af40ba0781a4
DIST tst0005.fits 48960 BLAKE2B ef8bb62702f579c8500721835100e150b2ca73272866a88457589d6f14b407efb41d106be2d454089dae00c04b903bb874132d5b44852245e6d4372ed20c7b6f SHA512 515a4dbca51e5b7fa0139b369066c02fcfa96eeffb471c6f5073343ab50da527ee610d9b677e6fabdaad1b7f9f9c68bd65eb71c5b944e5ffacf429d01fe14a39
@@ -23,7 +19,5 @@ DIST tst0006.fits 112320 BLAKE2B 1e3df92d994c1d0cfbf18956b124cc85510ae2dbbdbc528
DIST tst0007.fits 8640 BLAKE2B cf6eaff174e88bbd27f642964e6b3e5502cb08742d465a7cabb7aeaf284838f44660b5fa98c17df3c28f5986ecf657d8ec011579e3d9d62e63ce2171c157fd91 SHA512 ee8359132031678fa5e37f3b44642f41a7f64b251c3e788fbb756ad761327c1e1243df2b718cfe246449198d4e642b36fd43c61308ac434121ad4eadb3b2aaa3
DIST tst0008.fits 8640 BLAKE2B 7b4213cef2106cf0e298fce1ba3b28e74ba6ed26a2441650af297384b46c22910af8a36c2693c1c0e5aed6196561a8e4b4c75cde54541ea7a1a9d684a41f2f40 SHA512 c2dc77eb54cfc48bc97228a06e25cc5b4b2a8f32f417d5a34bb6794b020b277e144b1d5c71f09a44c94e05797c99f318de3f8705eabd22b44ac1b47fe601f918
DIST tst0013.fits 72000 BLAKE2B 6ca11cd033782adc8f359217e30752b47623c317aa155dc1bae43a0a019f7d5f9d4ba9c7349e99ee14f2d6498d5d166597606721b251b1b2dc039fbe400d00a3 SHA512 c816642e89e3bfdce38a4f755e84a12af35c9da48916abb66bcabf2f899201dfba3c988f929395092921a53a6d94922d84d325334e9bd8d348cdb305878ccb6a
-EBUILD openimageio-2.5.12.0.ebuild 8173 BLAKE2B 9f2f0de7c572bb0faf773c7bd86e88e52e94ad174f585f688afe6bf9ee33b6808594119a8c750a751c36a87995a31b5a853ee828c01902f196b11130136eb0d8 SHA512 67de131af4ba7ee0e0db2be375dcfa5fdef0ff8d789f47e3ed535537e90404197f48bdaaf5ba23366e29de27ccfb14bd342ddfbb9159f54c7ed27086e4217ecf
EBUILD openimageio-2.5.13.1.ebuild 8172 BLAKE2B 05996004cb5ce2d09ae25c0afbe6de0691b974133d7116c7648738eb1dffadc381f32bec7e8c74e6ef798390b32ef4a755a22f586fba31819687b5f0fcf2f505 SHA512 ad69a9ebdddc3e0623d8929ac233c74cf84fdea7ece4a5079835602f3fed31fd2930b9ff997bf59a1790f13660910677670ab6dd0bbc1c2146f9ea6f2b6c8f77
-EBUILD openimageio-2.5.9.0.ebuild 7162 BLAKE2B 1406ea6ed3c9156c9b7badd579089c7fd4e7c20408eece664d1c3ce07e9293cc55c1e0a5f9fbeb1b83062d83f41087bbba18e1658fc8ebecce8639578ade457e SHA512 634edadd285d34c52330f9441839b8e3df503427b53d9e6dbf90ff0876c2e7684362a23bb2bf606a3783f1b435a538340e72e0d81420545c42c2804d31adca36
MISC metadata.xml 981 BLAKE2B 3497976625638ed812c74f4cceef74a752ab81f035674352d5b30f533c8b3f819a7cb44395d7e8456c78d92103ebe9c89bbf71aa292a2c72255674676e379318 SHA512 a349edcb5a9fcf5c7abe77d37260126b4866ba9bff06e7bc11279d91ac193ffe8df13dfcb373306fea417a28d0a6b8b2028c660adaf83d9a6f1a698cd48dd4e5
diff --git a/media-libs/openimageio/files/openimageio-2.5.8.0-fits.patch b/media-libs/openimageio/files/openimageio-2.5.8.0-fits.patch
deleted file mode 100644
index 1ef05f817202..000000000000
--- a/media-libs/openimageio/files/openimageio-2.5.8.0-fits.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From: Paul Zander <negril.nx+gentoo@gmail.com>
-Make fits test images download optional
-Make j2k test images download optional
-
-diff --git a/src/cmake/testing.cmake b/src/cmake/testing.cmake
-index b671def..ff84b7d 100644
---- a/src/cmake/testing.cmake
-+++ b/src/cmake/testing.cmake
-@@ -410,6 +410,10 @@ function (oiio_setup_test_data)
- oiio_get_test_data (openexr-images
- REPO https://github.com/AcademySoftwareFoundation/openexr-images.git
- BRANCH main)
-+ if(ENABLE_FITS)
- oiio_get_test_data (fits-images)
-+ endif()
-+ if(OPENJPEG_FOUND)
- oiio_get_test_data (j2kp4files_v1_5)
-+ endif()
- endfunction ()
diff --git a/media-libs/openimageio/openimageio-2.5.12.0.ebuild b/media-libs/openimageio/openimageio-2.5.12.0.ebuild
deleted file mode 100644
index bd837866d719..000000000000
--- a/media-libs/openimageio/openimageio-2.5.12.0.ebuild
+++ /dev/null
@@ -1,303 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-TEST_OIIO_IMAGE_COMMIT="7d821f02c848022b2ee703d6bee48ca2acbfae70"
-TEST_OEXR_IMAGE_COMMIT="df16e765fee28a947244657cae3251959ae63c00"
-inherit cmake flag-o-matic python-single-r1 virtualx
-
-DESCRIPTION="A library for reading and writing images"
-HOMEPAGE="https://sites.google.com/site/openimageio/ https://github.com/OpenImageIO"
-SRC_URI="
- https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/v${PV}.tar.gz -> ${P}.tar.gz
- test? (
- https://github.com/AcademySoftwareFoundation/OpenImageIO-images/archive/${TEST_OIIO_IMAGE_COMMIT}.tar.gz
- -> ${PN}-oiio-test-image-${TEST_OIIO_IMAGE_COMMIT}.tar.gz
- https://github.com/AcademySoftwareFoundation/openexr-images/archive/${TEST_OEXR_IMAGE_COMMIT}.tar.gz
- -> ${PN}-oexr-test-image-${TEST_OEXR_IMAGE_COMMIT}.tar.gz
- jpeg2k? ( https://www.itu.int/wftp3/Public/t/testsignal/SpeImage/T803/v2002_11/J2KP4files.zip )
-
- fits? (
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file001.fits
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file002.fits
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file003.fits
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file009.fits
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file012.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0001.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0003.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0005.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0006.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0007.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0008.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0013.fits
- )
- )
-"
-S="${WORKDIR}/OpenImageIO-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv"
-
-X86_CPU_FEATURES=(
- aes:aes sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4.1 sse4_2:sse4.2
- avx:avx avx2:avx2 avx512f:avx512f f16c:f16c
-)
-CPU_FEATURES=( "${X86_CPU_FEATURES[@]/#/cpu_flags_x86_}" )
-
-IUSE="dicom doc ffmpeg fits gif gui jpeg2k opencv openvdb ptex python qt6 raw test +tools +truetype ${CPU_FEATURES[*]%:*}"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) gui? ( tools ) test? ( tools truetype )"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- jpeg2k? ( app-arch/unzip )
- doc? (
- app-text/doxygen
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-fontsextra
- dev-texlive/texlive-fontutils
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- )
-"
-RDEPEND="
- dev-libs/boost:=
- dev-cpp/robin-map
- dev-libs/libfmt:=
- dev-libs/pugixml:=
- >=media-libs/libheif-1.13.0:=
- media-libs/libjpeg-turbo:=
- media-libs/libpng:0=
- >=media-libs/libwebp-0.2.1:=
- >=dev-libs/imath-3.1.2-r4:=
- >=media-libs/opencolorio-2.1.1-r4:=
- >=media-libs/openexr-3:0=
- media-libs/tiff:=
- sys-libs/zlib:=
- dicom? ( sci-libs/dcmtk )
- ffmpeg? ( media-video/ffmpeg:= )
- fits? ( sci-libs/cfitsio:= )
- gif? ( media-libs/giflib:0= )
- jpeg2k? ( >=media-libs/openjpeg-2.0:2= )
- opencv? ( media-libs/opencv:= )
- openvdb? (
- dev-cpp/tbb:=
- media-gfx/openvdb:=
- )
- ptex? ( media-libs/ptex:= )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-libs/boost:=[python,${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- ')
- )
- gui? (
- media-libs/libglvnd
- !qt6? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtopengl:5
- dev-qt/qtwidgets:5
- )
- qt6? (
- dev-qt/qtbase:6[gui,widgets,opengl]
- )
- )
- raw? ( media-libs/libraw:= )
- truetype? ( media-libs/freetype:2= )
-"
-DEPEND="
- ${RDEPEND}
-"
-
-DOCS=(
- CHANGES.md
- CREDITS.md
- README.md
-)
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.5.8.0-fix-unit_simd.patch"
- "${FILESDIR}/${PN}-2.5.8.0-fix-tests.patch"
- "${FILESDIR}/${PN}-2.5.12.0-tests-optional.patch"
- "${FILESDIR}/${PN}-2.5.12.0-heif-find-fix.patch"
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- if ! use dicom; then
- rm "src/dicom.imageio" -r || die
- fi
-
- if ! use gif; then
- rm src/gif.imageio -r || die
- fi
-
- if ! use jpeg2k; then
- rm src/jpeg2000.imageio -r || die
- fi
-
- if ! use raw; then
- rm src/raw.imageio -r || die
- fi
-
- cmake_src_prepare
- cmake_comment_add_subdirectory src/fonts
-
- if use test ; then
- mv -v "${WORKDIR}/OpenImageIO-images-${TEST_OIIO_IMAGE_COMMIT}" "${WORKDIR}/oiio-images" || die
- mv -v "${WORKDIR}/openexr-images-${TEST_OEXR_IMAGE_COMMIT}" "${WORKDIR}/openexr-images" || die
-
- if use fits; then
- mkdir -p "${WORKDIR}/fits-images/"{ftt4b,pg93} || die
- for a in ${A}; do
- if [[ "${a}" == file*.fits ]]; then
- cp "${DISTDIR}/${a}" "${WORKDIR}/fits-images/ftt4b/" || die
- fi
- if [[ "${a}" == tst*.fits ]]; then
- cp "${DISTDIR}/${a}" "${WORKDIR}/fits-images/pg93/" || die
- fi
- done
- fi
-
- if use jpeg2k; then
- mv -v "${WORKDIR}/J2KP4files" "${WORKDIR}/j2kp4files_v1_5" || die
- fi
-
- cp testsuite/heif/ref/out-libheif1.1{2,5}-orient.txt || die
- eapply "${FILESDIR}/${PN}-2.5.12.0_heif_test.patch"
- fi
-}
-
-src_configure() {
- # Build with SIMD support
- local cpufeature
- local mysimd=()
- for cpufeature in "${CPU_FEATURES[@]}"; do
- use "${cpufeature%:*}" && mysimd+=("${cpufeature#*:}")
- done
-
- # If no CPU SIMDs were used, completely disable them
- [[ -z ${mysimd[*]} ]] && mysimd=("0")
-
- # This is currently needed on arm64 to get the NEON SIMD wrapper to compile the code successfully
- # Even if there are no SIMD features selected, it seems like the code will turn on NEON support if it is available.
- use arm64 && append-flags -flax-vector-conversions
-
- local mycmakeargs=(
- -DVERBOSE="yes"
- -DINTERNALIZE_FMT="no"
- # -DALWAYS_PREFER_CONFIG="yes"
- # -DGLIBCXX_USE_CXX11_ABI="yes"
- # -DTEX_BATCH_SIZE="8" # TODO AVX512 -> 16
- -DSTOP_ON_WARNING="OFF"
-
- -DCMAKE_CXX_STANDARD="17"
- -DDOWNSTREAM_CXX_STANDARD="17"
-
- -DCMAKE_UNITY_BUILD_MODE="BATCH"
- -DUNITY_SMALL_BATCH_SIZE="$(nproc)"
-
- -DBUILD_DOCS="$(usex doc)"
- # -DBUILD_OIIOUTIL_ONLY="no"
- -DBUILD_TESTING="$(usex test)"
-
- -DINSTALL_FONTS="OFF"
- -DINSTALL_DOCS="$(usex doc)"
-
- -DENABLE_DCMTK="$(usex dicom)"
- -DENABLE_FFmpeg="$(usex ffmpeg)"
- -DENABLE_FITS="$(usex fits)"
- -DENABLE_FREETYPE="$(usex truetype)"
- -DENABLE_GIF="$(usex gif)"
- -DENABLE_LibRaw="$(usex raw)"
- -DENABLE_Nuke="no" # not in Gentoo
- -DENABLE_OpenCV="$(usex opencv)"
- -DENABLE_OpenJPEG="$(usex jpeg2k)"
- -DENABLE_OpenVDB="$(usex openvdb)"
- -DENABLE_TBB="$(usex openvdb)"
- -DENABLE_Ptex="$(usex ptex)"
-
- -DENABLE_GIF="$(usex gif)"
- -DENABLE_LIBRAW="$(usex raw)"
- -DENABLE_PTEX="$(usex ptex)"
- -DENABLE_OPENJPEG="$(usex jpeg2k)"
-
- -DOIIO_BUILD_TOOLS="$(usex tools)"
- -DOIIO_BUILD_TESTS="$(usex test)"
- -DOIIO_DOWNLOAD_MISSING_TESTDATA="no"
-
- -DUSE_CCACHE="no"
- -DUSE_EXTERNAL_PUGIXML="yes"
- # -DUSE_LIBCPLUSPLUS="yes"
- -DUSE_R3DSDK="no" # not in Gentoo
- -DUSE_PYTHON="$(usex python)"
- -DUSE_SIMD="$(local IFS=','; echo "${mysimd[*]}")"
-)
-
- if use gui; then
- mycmakeargs+=( -DUSE_IV="yes" -DUSE_OPENGL="yes" -DUSE_QT="yes" )
- if ! use qt6; then
- mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt6="yes" )
- fi
- else
- mycmakeargs+=(
- -DUSE_QT="no"
- )
- fi
-
- if use python; then
- mycmakeargs+=(
- "-DPYTHON_VERSION=${EPYTHON#python}"
- "-DPYTHON_SITE_DIR=$(python_get_sitedir)"
- )
- fi
-
- cmake_src_configure
-}
-
-src_test() {
- # A lot of tests needs to have access to the installed data files.
- # So install them into the image directory now.
- DESTDIR="${T}" cmake_build install
-
- CMAKE_SKIP_TESTS=(
- "-broken$"
- )
-
- sed -e "s#../../../testsuite#../../../OpenImageIO-${PV}/testsuite#g" \
- -i "${CMAKE_USE_DIR}/testsuite/python-imagebufalgo/ref/out.txt" || die
-
- local -x CI CMAKE_PREFIX_PATH LD_LIBRARY_PATH OPENIMAGEIO_FONTS PYTHONPATH
- CI=true
- CMAKE_PREFIX_PATH="${T}/usr"
- LD_LIBRARY_PATH="${T}/usr/$(get_libdir)"
- OPENIMAGEIO_FONTS="${CMAKE_USE_DIR}/src/fonts"
-
- if use python; then
- PYTHONPATH="${T}$(python_get_sitedir)"
- fi
-
- virtx cmake_src_test
-
- # Clean up the image directory for src_install
- rm -fr "${T:?}"/usr || die
-}
-
-src_install() {
- cmake_src_install
-
- # remove Windows loader file
- if use python; then
- rm "${D}$(python_get_sitedir)/__init__.py" || die
- fi
-}
diff --git a/media-libs/openimageio/openimageio-2.5.9.0.ebuild b/media-libs/openimageio/openimageio-2.5.9.0.ebuild
deleted file mode 100644
index 358d16e63a03..000000000000
--- a/media-libs/openimageio/openimageio-2.5.9.0.ebuild
+++ /dev/null
@@ -1,263 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-TEST_OIIO_IMAGE_COMMIT="aae37a54e31c0e719edcec852994d052ecf6541e"
-TEST_OEXR_IMAGE_COMMIT="df16e765fee28a947244657cae3251959ae63c00"
-inherit cmake flag-o-matic font python-single-r1 virtualx
-
-DESCRIPTION="A library for reading and writing images"
-HOMEPAGE="https://sites.google.com/site/openimageio/ https://github.com/OpenImageIO"
-SRC_URI="
- https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/v${PV}.tar.gz -> ${P}.tar.gz
- test? (
- https://github.com/AcademySoftwareFoundation/OpenImageIO-images/archive/${TEST_OIIO_IMAGE_COMMIT}.tar.gz
- -> ${PN}-oiio-test-image-${TEST_OIIO_IMAGE_COMMIT}.tar.gz
- https://github.com/AcademySoftwareFoundation/openexr-images/archive/${TEST_OEXR_IMAGE_COMMIT}.tar.gz
- -> ${PN}-oexr-test-image-${TEST_OEXR_IMAGE_COMMIT}.tar.gz
- jpeg2k? ( https://www.itu.int/wftp3/Public/t/testsignal/SpeImage/T803/v2002_11/J2KP4files.zip )
-
- fits? (
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file001.fits
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file002.fits
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file003.fits
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file009.fits
- https://www.cv.nrao.edu/fits/data/tests/ftt4b/file012.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0001.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0003.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0005.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0006.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0007.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0008.fits
- https://www.cv.nrao.edu/fits/data/tests/pg93/tst0013.fits
- )
- )
-"
-S="${WORKDIR}/OpenImageIO-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv"
-
-X86_CPU_FEATURES=(
- aes:aes sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4.1 sse4_2:sse4.2
- avx:avx avx2:avx2 avx512f:avx512f f16c:f16c
-)
-CPU_FEATURES=( "${X86_CPU_FEATURES[@]/#/cpu_flags_x86_}" )
-
-IUSE="dicom doc ffmpeg fits gif gui jpeg2k opencv openvdb ptex python qt6 raw test +tools +truetype ${CPU_FEATURES[*]%:*}"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) gui? ( tools ) test? ( tools )"
-
-# Not quite working yet
-RESTRICT="!test? ( test )" # test"
-
-BDEPEND="
- jpeg2k? ( app-arch/unzip )
- doc? (
- app-text/doxygen
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-fontsextra
- dev-texlive/texlive-fontutils
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- )
-"
-RDEPEND="
- dev-libs/boost:=
- dev-cpp/robin-map
- dev-libs/libfmt:=
- dev-libs/pugixml:=
- >=media-libs/libheif-1.13.0:=
- media-libs/libjpeg-turbo:=
- media-libs/libpng:0=
- >=media-libs/libwebp-0.2.1:=
- >=dev-libs/imath-3.1.2-r4:=
- >=media-libs/opencolorio-2.1.1-r4:=
- >=media-libs/openexr-3:0=
- media-libs/tiff:=
- sys-libs/zlib:=
- dicom? ( sci-libs/dcmtk )
- ffmpeg? ( media-video/ffmpeg:= )
- fits? ( sci-libs/cfitsio:= )
- gif? ( media-libs/giflib:0= )
- jpeg2k? ( >=media-libs/openjpeg-2.0:2= )
- opencv? ( media-libs/opencv:= )
- openvdb? (
- dev-cpp/tbb:=
- media-gfx/openvdb:=
- )
- ptex? ( media-libs/ptex:= )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-libs/boost:=[python,${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- ')
- )
- gui? (
- media-libs/libglvnd
- !qt6? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtopengl:5
- dev-qt/qtwidgets:5
- )
- qt6? (
- dev-qt/qtbase:6[gui,widgets,opengl]
- )
- )
- raw? ( media-libs/libraw:= )
- truetype? ( media-libs/freetype:2= )
-"
-DEPEND="
- ${RDEPEND}
-"
-
-DOCS=(
- CHANGES.md
- CREDITS.md
- README.md
-)
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.5.8.0-fits.patch"
- "${FILESDIR}/${PN}-2.5.8.0-fix-unit_simd.patch"
- "${FILESDIR}/${PN}-2.5.8.0-fix-tests.patch"
- "${FILESDIR}/${PN}-2.5.12.0-heif-find-fix.patch"
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- if ! use dicom; then
- rm -r "${S}/src/dicom.imageio/" || die
- fi
-
- cmake_src_prepare
- cmake_comment_add_subdirectory src/fonts
-
- if use test ; then
- mv -v "${WORKDIR}/OpenImageIO-images-${TEST_OIIO_IMAGE_COMMIT}" "${WORKDIR}/oiio-images" || die
- mv -v "${WORKDIR}/openexr-images-${TEST_OEXR_IMAGE_COMMIT}" "${WORKDIR}/openexr-images" || die
- if use jpeg2k; then
- mv -v "${WORKDIR}/J2KP4files" "${WORKDIR}/j2kp4files_v1_5" || die
- fi
- fi
-}
-
-src_configure() {
- # Build with SIMD support
- local cpufeature
- local mysimd=()
- for cpufeature in "${CPU_FEATURES[@]}"; do
- use "${cpufeature%:*}" && mysimd+=("${cpufeature#*:}")
- done
-
- # If no CPU SIMDs were used, completely disable them
- [[ -z ${mysimd[*]} ]] && mysimd=("0")
-
- # This is currently needed on arm64 to get the NEON SIMD wrapper to compile the code successfully
- # Even if there are no SIMD features selected, it seems like the code will turn on NEON support if it is available.
- use arm64 && append-flags -flax-vector-conversions
-
- local mycmakeargs=(
- -DCMAKE_CXX_STANDARD="17"
- -DDOWNSTREAM_CXX_STANDARD="17"
-
- -DCMAKE_UNITY_BUILD_MODE="BATCH"
- -DUNITY_SMALL_BATCH_SIZE="$(nproc)"
-
- -DOIIO_BUILD_TOOLS="$(usex tools)"
- -DOIIO_BUILD_TESTS="$(usex test)"
- -DOIIO_DOWNLOAD_MISSING_TESTDATA="OFF"
-
- -DBUILD_TESTING="$(usex test)"
- -DBUILD_DOCS="$(usex doc)"
-
- -DINSTALL_FONTS="OFF"
- -DINSTALL_DOCS="$(usex doc)"
- -DSTOP_ON_WARNING="OFF"
- -DUSE_CCACHE="OFF"
-
- -DUSE_EXTERNAL_PUGIXML="ON"
-
- -DENABLE_DCMTK="$(usex dicom)"
- -DENABLE_FFMPEG="$(usex ffmpeg)"
- -DENABLE_GIF="$(usex gif)"
- -DENABLE_NUKE="OFF" # not in Gentoo
- -DENABLE_OPENJPEG="$(usex jpeg2k)"
- -DENABLE_OPENCV="$(usex opencv)"
- -DENABLE_OPENVDB="$(usex openvdb)"
- -DENABLE_PTEX="$(usex ptex)"
- -DUSE_PYTHON="$(usex python)"
- -DENABLE_LIBRAW="$(usex raw)"
- -DENABLE_FREETYPE="$(usex truetype)"
-
- -DUSE_SIMD="$(local IFS=','; echo "${mysimd[*]}")"
-
- -DVERBOSE="yes"
- -DENABLE_FITS="$(usex fits)"
-
- )
-
- if use gui; then
- mycmakeargs+=( -DENABLE_IV=ON -DUSE_OPENGL=ON -DUSE_QT=ON )
- if ! use qt6; then
- mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt6=ON )
- fi
- else
- mycmakeargs+=(
- # -DENABLE_IV=OFF
- -DUSE_QT=OFF
- )
- fi
-
- if use python; then
- mycmakeargs+=(
- "-DPYTHON_VERSION=${EPYTHON#python}"
- "-DPYTHON_SITE_DIR=$(python_get_sitedir)"
- )
- fi
-
- cmake_src_configure
-}
-
-src_test() {
- # A lot of tests needs to have access to the installed data files.
- # So install them into the image directory now.
- DESTDIR="${T}" cmake_build install
-
- CMAKE_SKIP_TESTS=(
- "-broken$"
- )
-
- sed -e "s#../../../testsuite#../../../OpenImageIO-${PV}/testsuite#g" \
- -i "${CMAKE_USE_DIR}/testsuite/python-imagebufalgo/ref/out.txt" || die
-
- local -x CI CMAKE_PREFIX_PATH LD_LIBRARY_PATH OPENIMAGEIO_FONTS PYTHONPATH
- CI=true
- CMAKE_PREFIX_PATH="${T}/usr"
- LD_LIBRARY_PATH="${T}/usr/$(get_libdir)"
- OPENIMAGEIO_FONTS="${CMAKE_USE_DIR}/src/fonts"
-
- if use python; then
- PYTHONPATH="${T}$(python_get_sitedir)"
- fi
-
- virtx cmake_src_test
-
- # Clean up the image directory for src_install
- rm -fr "${T:?}"/usr || die
-}
-
-src_install() {
- # NOTE both eclasses export src_install so we ran both by hand.
- font_src_install
- cmake_src_install
-}
diff --git a/media-libs/osl/Manifest b/media-libs/osl/Manifest
index b928aa45d7d3..a355edc91538 100644
--- a/media-libs/osl/Manifest
+++ b/media-libs/osl/Manifest
@@ -1,9 +1,7 @@
DIST osl-1.12.14.0.tar.gz 20555853 BLAKE2B 4f6bc2084e4c1b25e707a37830961f20926e6ab5cb915c763cbd8126127e70f6368832077729ab5e044f573e8c38c4afb413eff8adccee5ea1ae96cb9be43b6e SHA512 51641e58fb0bba042853e3976c104decc788f1b1d3ec2e33a3f5504b11b05950dc38766ffb066b0f76edc4e0a8829d6b7dd408d9288b74d69380395b1d991bd5
DIST osl-1.13.10.0.tar.gz 21776721 BLAKE2B 6b40adcf50403292003ae8216e60328d5af6d25bf22cd241aeb4f99b1d39c628c78fe1bc8372226c984ca38b6e08427525f12dc38e5b6d3355de02cbc71f1b7b SHA512 f005b8797a7bb882bcdf4fd644551d42c150956baa8dd9deff39ff1121321f33b8e144a9a96ac940ae6bf60985c6131457131baa87c73c2b498298aaa77c3c7d
-DIST osl-1.13.7.0.tar.gz 21774349 BLAKE2B 1fd731f14b8dce948d7995efadb63eec8ce028ed6b095db391d2dfedcbbd62ca3aad9cd5d7d40f94c9e358f952d841899103467a2f81b12a605ae8c8436a16ff SHA512 15ffc6a5eed44141672af3d7ddab5d97abacad2062cddb35ef2a8484538a9a9a86cbd7e7170deafcefd3b69df764bfd207685603ca17a2fbff4299ccd1afe569
EBUILD osl-1.12.14.0-r1.ebuild 9915 BLAKE2B 1066b5f8de5e64142f545025ee50eb7cfbc9bcb97ba3148363cf17c7962c997205df7341fb250b8b3acfcb10c19fe3259404aaa049e638fe8a12cd243b5a6049 SHA512 f56d81c78fb40713cbf5e1635275975d5801b6abbb876a2c67709a3c22ed5cbe521c153e8aa3865fc943675f5d15935244b18f99fed14d552db878877c620bde
EBUILD osl-1.12.14.0.ebuild 3906 BLAKE2B 99da9664c5a9ea78af28d4ce67cc44ba9b446bcf46efc7ce2f5f57fafe6e3a51ed89f16681b8cd2be5afaf3d1b0cee9e5f2a8156547fca4945d0d2432ecb9b92 SHA512 db06490cc6dea73fa9e4c0dec4a4f0c605689ad8ec10710a44a0da718b9aada9524ba40cad6d6df75049ac50abbae0ad0fca595b7dd69429a45f49943d0f9cb5
EBUILD osl-1.13.10.0.ebuild 7681 BLAKE2B af39ddf672f0121c07efb623cca9260ecd0423bd885397ce7ca787b86c4f8fefabe5433259e69fa87b58f85d5905519e6835766b8e8e2fa813721a971a375aef SHA512 0073d65ff2063947aab3d8e1d05d4d043626392fb79d90ffb5b1f304695561494d4de9a460031f58bad9179e61191a08e67de7f5de284eabab8f8f86c3ea3efa
-EBUILD osl-1.13.7.0.ebuild 11741 BLAKE2B 98ae068b097406fcbfeed428c051e3049a2a7b0feda20f4744664072d5be18ac2d6b5eeaf6e96d8573997ff0ba6da3240afb307f6a84f178d4915daa4ff6617a SHA512 74254e8793acc25a7429fb4915912f7f2f14cf810e83b0ad922be4ec6853f5cd8e12992bb7532d891b66bbf2078f89c46bd416b61e21c88487d4008ed48590ce
EBUILD osl-9999.ebuild 7682 BLAKE2B 2088ec50cc26da7374f29f5da59f302f04c626010f687d9365dac517894ef101d7e15730d96efe109deb5adf0a44e34f3d32748258f5525589c19ca71c9f9e39 SHA512 5f1a8c990888f4af09b2676fe131dacaf13855a0ac49fc1c614b1e849c1b1afbbc4029b6c7258e1530190edf4db02374fff1b2db74a61434dc2658e0b0ef229c
MISC metadata.xml 1162 BLAKE2B 56fc654915ef7d354844d8b9d99cbe1e2fa8ece1bf3ee2028847d8add16c663cab3110598ae78b7da05c6f3b06bc0926ff1797827c5b2750c03ec02d4c5effe2 SHA512 6e391782385aca530fb9526dd4675845aefd42d760555a7633b0daec2d2890e5d2ce93f39b4c297c1f1056e2c4607c228baba4a1875f05c47362abeb50455dba
diff --git a/media-libs/osl/osl-1.13.7.0.ebuild b/media-libs/osl/osl-1.13.7.0.ebuild
deleted file mode 100644
index a8e64ed97c5f..000000000000
--- a/media-libs/osl/osl-1.13.7.0.ebuild
+++ /dev/null
@@ -1,462 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-# Check this on updates
-LLVM_COMPAT=( {15..17} )
-
-inherit cmake cuda flag-o-matic llvm-r1 toolchain-funcs python-single-r1
-
-DESCRIPTION="Advanced shading language for production GI renderers"
-HOMEPAGE="https://www.imageworks.com/technology/opensource https://github.com/AcademySoftwareFoundation/OpenShadingLanguage"
-
-if [[ ${PV} = *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/AcademySoftwareFoundation/OpenShadingLanguage.git"
-else
- # If a development release, please don't keyword!
- SRC_URI="https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc64"
- S="${WORKDIR}/OpenShadingLanguage-${PV}"
-fi
-
-LICENSE="BSD"
-SLOT="0/$(ver_cut 1-3)"
-
-X86_CPU_FEATURES=(
- sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4.1 sse4_2:sse4.2
- avx:avx avx2:avx2 avx512f:avx512f f16c:f16c
-)
-CPU_FEATURES=( "${X86_CPU_FEATURES[@]/#/cpu_flags_x86_}" )
-
-IUSE="debug doc gui libcxx nofma optix partio qt6 test ${CPU_FEATURES[*]%:*} python"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# TODO optix
-RDEPEND="
- dev-libs/boost:=
- dev-libs/pugixml
- >=media-libs/openexr-3:0=
- >=media-libs/openimageio-2.4:=
- $(llvm_gen_dep '
- sys-devel/clang:${LLVM_SLOT}
- sys-devel/llvm:${LLVM_SLOT}
- ')
- sys-libs/zlib:=
- optix? ( dev-libs/optix[-headers-only] )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-python/pybind11[${PYTHON_USEDEP}]
- media-libs/openimageio[python,${PYTHON_SINGLE_USEDEP}]
- ')
- )
- partio? ( media-libs/partio )
- gui? (
- !qt6? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtopengl:5
- )
- qt6? (
- dev-qt/qtbase:6[gui,widgets,opengl]
- )
- )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-
-pkg_setup() {
- llvm-r1_pkg_setup
-
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- if use optix; then
- cuda_src_prepare
- cuda_add_sandbox -w
- fi
-
- sed -e "/^install.*llvm_macros.cmake.*cmake/d" -i CMakeLists.txt || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- # -Werror=lto-type-mismatch
- # https://bugs.gentoo.org/875836
- # https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/issues/1810
- filter-lto
-
- # pick the highest we support
- local mysimd=()
- if use cpu_flags_x86_avx512f; then
- mysimd+=( avx512f )
- elif use cpu_flags_x86_avx2 ; then
- mysimd+=( avx2 )
- if use cpu_flags_x86_f16c ; then
- mysimd+=( f16c )
- fi
- elif use cpu_flags_x86_avx ; then
- mysimd+=( avx )
- elif use cpu_flags_x86_sse4_2 ; then
- mysimd+=( sse4.2 )
- elif use cpu_flags_x86_sse4_1 ; then
- mysimd+=( sse4.1 )
- elif use cpu_flags_x86_ssse3 ; then
- mysimd+=( ssse3 )
- elif use cpu_flags_x86_sse3 ; then
- mysimd+=( sse3 )
- elif use cpu_flags_x86_sse2 ; then
- mysimd+=( sse2 )
- fi
-
- local mybatched=()
- if use cpu_flags_x86_avx512f || use cpu_flags_x86_avx2 ; then
- if use cpu_flags_x86_avx512f ; then
- if use nofma; then
- mybatched+=(
- "b8_AVX512_noFMA"
- "b16_AVX512_noFMA"
- )
- else
- mybatched+=(
- "b8_AVX512"
- "b16_AVX512"
- )
- fi
- fi
- if use cpu_flags_x86_avx2 ; then
- if use nofma; then
- mybatched+=(
- "b8_AVX2_noFMA"
- )
- else
- mybatched+=(
- "b8_AVX2"
- )
- fi
- fi
- elif use cpu_flags_x86_avx ; then
- mybatched+=(
- "b8_AVX"
- )
- fi
-
- # If no CPU SIMDs were used, completely disable them
- [[ -z "${mysimd[*]}" ]] && mysimd=("0")
- [[ -z "${mybatched[*]}" ]] && mybatched=("0")
-
- # This is currently needed on arm64 to get the NEON SIMD wrapper to compile the code successfully
- # Even if there are no SIMD features selected, it seems like the code will turn on NEON support if it is available.
- use arm64 && append-flags -flax-vector-conversions
-
- local gcc
- gcc="$(tc-getCC)"
-
- local mycmakeargs=(
- -DCMAKE_POLICY_DEFAULT_CMP0146="OLD" # BUG FindCUDA
- -DCMAKE_POLICY_DEFAULT_CMP0148="OLD" # BUG FindPythonInterp
-
- # std::tuple_size_v is c++17
- -DCMAKE_CXX_STANDARD="17"
-
- -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
- -DINSTALL_DOCS="$(usex doc)"
- -DUSE_CCACHE="no"
- -DLLVM_STATIC="no"
- -DOSL_BUILD_TESTS="$(usex test)"
- -DSTOP_ON_WARNING="no"
- -DUSE_PARTIO="$(usex partio)"
- -DUSE_PYTHON="$(usex python)"
- -DPYTHON_VERSION="${EPYTHON/python}"
- -DUSE_SIMD="$(IFS=","; echo "${mysimd[*]}")"
- -DUSE_BATCHED="$(IFS=","; echo "${mybatched[*]}")"
- -DUSE_LIBCPLUSPLUS="$(usex libcxx)"
- -DOSL_USE_OPTIX="$(usex optix)"
-
- -DOpenImageIO_ROOT="${EPREFIX}/usr"
- )
-
- if use debug; then
- mycmakeargs+=(
- -DVEC_REPORT="yes"
- )
- fi
-
- if use gui; then
- mycmakeargs+=( -DUSE_QT="yes" )
- if ! use qt6; then
- mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt6="yes" )
- fi
- else
- mycmakeargs+=( -DUSE_QT="no" )
- fi
-
- if use optix; then
- mycmakeargs+=(
- -DOptiX_FIND_QUIETLY="no"
- -DCUDA_FIND_QUIETLY="no"
-
- -DOPTIXHOME="${EPREFIX}/opt/optix"
- -DCUDA_TOOLKIT_ROOT_DIR="${EPREFIX}/opt/cuda"
-
- -DCUDA_NVCC_FLAGS="--compiler-bindir;$(cuda_gccdir)"
- -DOSL_EXTRA_NVCC_ARGS="--compiler-bindir;$(cuda_gccdir)"
- -DCUDA_VERBOSE_BUILD="yes"
- )
- fi
-
- if use partio; then
- mycmakeargs+=(
- -Dpartio_DIR="${EPREFIX}/usr"
- )
- fi
-
- cmake_src_configure
-}
-
-src_test() {
- # A bunch of tests only work when installed.
- # So install them into the temp directory now.
- DESTDIR="${T}" cmake_build install
-
- ln -s "${CMAKE_USE_DIR}/src/cmake/" "${BUILD_DIR}/src/cmake" || die
-
- if use optix; then
- cp \
- "${BUILD_DIR}/src/liboslexec/shadeops_cuda.ptx" \
- "${BUILD_DIR}/src/testrender/"{optix_raytracer,quad,rend_lib_testrender,sphere,wrapper}".ptx" \
- "${BUILD_DIR}/src/testshade/"{optix_grid_renderer,rend_lib_testshade}".ptx" \
- "${BUILD_DIR}/bin/" || die
-
- # NOTE this should go to cuda eclass
- addwrite /dev/nvidiactl
- addwrite /dev/nvidia0
- addwrite /dev/nvidia-uvm
- addwrite /dev/nvidia-caps
- addwrite "/dev/char/"
- fi
-
- CMAKE_SKIP_TESTS=(
- "broken"
- "^render"
-
- # broken with in-tree <=dev-libs/optix-7.5.0 and out of date
- "^example-cuda$"
-
- # outright fail
- "^transform-reg.regress.batched.opt$"
-
- # SIGABRT similar to https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/issues/1363
- "^derivs.opt.rs_bitcode$"
- "^geomath.batched$"
- "^matrix.batched$"
- "^matrix.batched.opt$"
- "^spline-reg.regress.batched.opt$"
- "^transformc.batched$"
- )
-
- # These only fail inside sandbox
- if [[ "${OSL_OPTIONAL_TESTS}" != "true" ]]; then
- CMAKE_SKIP_TESTS+=(
- # TODO: investigate failures
- # SIGABRT similar to https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/issues/1363
- "^andor-reg.regress.batched.opt$"
- "^arithmetic-reg.regress.batched.opt$"
- "^array-assign-reg.regress.batched.opt$"
- "^array-copy-reg.regress.batched.opt$"
- "^array-length-reg.regress.batched$"
- "^bug-outputinit.optix$"
- "^bug-outputinit.optix.fused$"
- "^bug-outputinit.optix.opt$"
- "^bug-return.optix$"
- "^bug-return.optix.fused$"
- "^bug-return.optix.opt$"
- "^closure-parameters.batched$"
- "^closure-parameters.batched.opt$"
- "^closure.batched$"
- "^closure.batched.opt$"
- "^debug-uninit$"
- "^debug-uninit.batched$"
- "^debug-uninit.batched.opt$"
- "^debug-uninit.opt$"
- "^debug-uninit.opt.rs_bitcode$"
- "^derivs$"
- "^derivs.batched$"
- "^derivs.batched.opt$"
- "^derivs.opt$"
- "^exponential$"
- "^exponential.opt$"
- "^exponential.opt.rs_bitcode$"
- "^filterwidth-reg.regress.batched.opt$"
- "^geomath$"
- "^geomath.batched.opt$"
- "^geomath.opt$"
- "^geomath.opt.rs_bitcode$"
- "^getattribute-camera.batched$"
- "^getattribute-camera.batched.opt$"
- "^getattribute-shader.batched.opt$"
- "^gettextureinfo-reg.regress.batched.opt$"
- "^gettextureinfo-udim-reg.regress.batched.opt$"
- "^gettextureinfo.batched$"
- "^hyperb.batched.opt$"
- "^hyperb.opt$"
- "^hyperb.opt.rs_bitcode$"
- "^initlist.batched$"
- "^initlist.batched.opt$"
- "^linearstep.batched$"
- "^linearstep.batched.opt$"
- "^loop.batched$"
- "^loop.batched.opt$"
- "^matrix$"
- "^matrix-compref-reg.regress.batched.opt$"
- "^matrix-reg.regress.rsbitcode.opt$"
- "^matrix.opt$"
- "^matrix.opt.rs_bitcode$"
- "^matrix.rsbitcode.opt$"
- "^message-no-closure.batched$"
- "^message-no-closure.batched.opt$"
- "^message-reg.regress.batched.opt$"
- "^miscmath$"
- "^miscmath.batched$"
- "^miscmath.batched.opt$"
- "^miscmath.opt$"
- "^miscmath.opt.rs_bitcode$"
- "^noise-cell.batched$"
- "^noise-gabor-reg.regress.batched.opt$"
- "^noise-gabor.batched$"
- "^noise-gabor.batched.opt$"
- "^noise-generic.batched$"
- "^noise-generic.batched.opt$"
- "^noise-perlin.batched$"
- "^noise-perlin.batched.opt$"
- "^noise-reg.regress.batched.opt$"
- "^noise-simplex.batched$"
- "^noise-simplex.batched.opt$"
- "^noise.batched$"
- "^opt-warnings.batched$"
- "^opt-warnings.batched.opt$"
- "^pnoise-cell.batched$"
- "^pnoise-gabor.batched$"
- "^pnoise-gabor.batched.opt$"
- "^pnoise-generic.batched$"
- "^pnoise-generic.batched.opt$"
- "^pnoise-perlin.batched$"
- "^pnoise-perlin.batched.opt$"
- "^pnoise-reg.regress.batched.opt$"
- "^pnoise.batched$"
- "^pointcloud.batched$"
- "^pointcloud.batched.opt$"
- "^regex-reg.regress.batched.opt$"
- "^select.batched$"
- "^select.batched.opt$"
- "^shaderglobals.batched$"
- "^shaderglobals.batched.opt$"
- "^smoothstep-reg.regress.batched.opt$"
- "^spline-derivbug.batched$"
- "^spline-derivbug.batched.opt$"
- "^spline.batched$"
- "^spline.batched.opt$"
- "^splineinverse-ident.batched$"
- "^splineinverse-ident.batched.opt$"
- "^split-reg.regress.batched.opt$"
- "^string$"
- "^string-reg.regress.batched.opt$"
- "^string.batched$"
- "^string.batched.opt$"
- "^string.opt$"
- "^string.opt.rs_bitcode$"
- "^struct-array-mixture.batched$"
- "^struct-array-mixture.batched.opt$"
- "^struct.batched$"
- "^test-fmt-matrixcolor.opt.rs_bitcode$"
- "^testoptix-noise.optix.opt$"
- "^testoptix-reparam.optix.opt$"
- "^texture-environment-opts-reg.regress.batched.opt$"
- "^texture-opts-reg.regress.batched.opt$"
- "^texture-wrap.batched$"
- "^texture-wrap.batched.opt$"
- "^transcendental-reg.regress.batched.opt$"
- "^transform$"
- "^transform.batched$"
- "^transform.batched.opt$"
- "^transform.opt$"
- "^transform.opt.rs_bitcode$"
- "^transformc$"
- "^transformc.batched.opt$"
- "^transformc.opt$"
- "^transformc.opt.rs_bitcode$"
- "^transformc.rsbitcode.opt$"
- "^trig$"
- "^trig-reg.regress.batched.opt$"
- "^trig.batched$"
- "^trig.batched.opt$"
- "^trig.opt$"
- "^trig.opt.rs_bitcode$"
- "^vecctr.batched$"
- "^vecctr.batched.opt$"
- "^vector$"
- "^vector-reg.regress.batched.opt$"
- "^vector.opt$"
- "^vector.opt.rs_bitcode$"
- "^wavelength_color.optix$"
- "^wavelength_color.optix.fused$"
- "^wavelength_color.optix.opt$"
- "^xml-reg.regress.batched.opt$"
-
- # diff
- "^testoptix.optix.opt$"
- )
- fi
-
- myctestargs=(
- # src/build-scripts/ci-test.bash
- '--force-new-ctest-process'
- )
-
- local -x DEBUG CXXFLAGS LD_LIBRARY_PATH DIR OSL_DIR OSL_SOURCE_DIR PYTHONPATH
- DEBUG=1 # doubles the floating point tolerance
- CXXFLAGS="-I${T}/usr/include"
- LD_LIBRARY_PATH="${T}/usr/$(get_libdir)"
- OSL_DIR="${T}/usr/$(get_libdir)/cmake/OSL"
- OSL_SOURCE_DIR="${S}"
-
- if use python; then
- PYTHONPATH="${BUILD_DIR}/lib/python/site-packages"
- fi
-
- cmake_src_test
-
- CMAKE_SKIP_TESTS=(
- "^render-background$"
- "^render-mx-furnace-sheen$"
- "^render-mx-burley-diffuse$"
- "^render-mx-conductor$"
- "^render-microfacet$"
- "^render-veachmis$"
- "^render-ward$"
- "^render-raytypes.opt$"
- "^render-raytypes.opt.rs_bitcode$"
- )
-
- myctestargs=(
- # src/build-scripts/ci-test.bash
- '--force-new-ctest-process'
- --repeat until-pass:10
- -R "^render"
- )
-
- cmake_src_test
-}
diff --git a/media-libs/phonon-gstreamer/Manifest b/media-libs/phonon-gstreamer/Manifest
deleted file mode 100644
index 598e85a2648a..000000000000
--- a/media-libs/phonon-gstreamer/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX phonon-gstreamer-4.10.0-wayland.patch 2179 BLAKE2B e596a9c542f24eb5cb0e5f724627f7950aff5946eb502cc61e9e674f0e5adaa6cf15747c815e0bc6e86125ecbcbdc39743fc810d365b7007ea939b53a3771639 SHA512 4c5817d048ea3b07d12ef64330e8329390e9a6683f9804072183487d13d860eafab8c21646784dce8b36a021b592a41c64b5ae61d6da2fcaf58a29da16f123ab
-DIST phonon-backend-gstreamer-4.10.0.tar.xz 98532 BLAKE2B b9182a50810536c46999266bd40996bb59ac982e44d2066c2afd897d3a2feb99e5570e36dcc869098f5b171018f4c339a2e3b8df124eaeb88236073245069859 SHA512 3beaba9ea3a332a6908ebdaa966958e8e8056d79cfb210e82a8edaf08f0a8bacbf8094e91b1b1b936406aa634dabb962e6c1468e4dde3febd9efac1a63ea70a4
-EBUILD phonon-gstreamer-4.10.0-r1.ebuild 1041 BLAKE2B f8e34a6076a41a5a61001a90842440726e6b9f42e2467f84fd794589ff502aad22611c80d5e45abe46a74d415a305185fe7ebb084a8617db58d4a20eba49560b SHA512 a567e06ec74117e97c6b20a4b43e0638dcb9207d8e6e7c7a696707c5b2651b6a189af2977491d6c132cc2bf9b64f8dc02862bb557c89923368624c5057ac03c3
-MISC metadata.xml 408 BLAKE2B 07776659b5c1bb14bd28befa8caf94e3b2d46da3f71576aac663b01aa0a49ab3344245784e0091bb2ddc651011831e3a607e0bd75c295e9ccd9bea41f00ada24 SHA512 dc126debed190c51ffd8448d379dfa4a3268a800f70bb2356c0139b50de40dde6392db66d17d00a7cef91622ec0dfb99bf4bf54565bcaf62e76ea57edb7db1f7
diff --git a/media-libs/phonon-gstreamer/files/phonon-gstreamer-4.10.0-wayland.patch b/media-libs/phonon-gstreamer/files/phonon-gstreamer-4.10.0-wayland.patch
deleted file mode 100644
index ef1697a8395a..000000000000
--- a/media-libs/phonon-gstreamer/files/phonon-gstreamer-4.10.0-wayland.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From bbbb160f30a394655cff9398d17961142388b0f2 Mon Sep 17 00:00:00 2001
-From: David Edmundson <kde@davidedmundson.co.uk>
-Date: Wed, 17 Nov 2021 15:20:08 +0000
-Subject: [PATCH] Only create window handles for actual windows
-
-winId() creates a platform window for the given widget. This makes sense
-for the topmost widget in a tree, we can't assume the parent widget is
-the topmost widget.
-
-Doing this on XCB is confusing and wrong, but apparently harmless. Doing
-this on wayland causes issues as we promote the parent window to a
-subsurface but never show that window leaving things in a bizarre
-corrupt state that leads to content not updating.
-
-BUG: 445196
----
- gstreamer/videowidget.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/gstreamer/videowidget.cpp b/gstreamer/videowidget.cpp
-index bd27b21f..83fa9b9e 100644
---- a/gstreamer/videowidget.cpp
-+++ b/gstreamer/videowidget.cpp
-@@ -158,7 +158,7 @@ void VideoWidget::setupVideoBin()
- gst_object_unref(videopad);
- QWidget *parentWidget = qobject_cast<QWidget*>(parent());
- if (parentWidget) {
-- parentWidget->winId(); // Due to some existing issues with alien in 4.4,
-+ parentWidget->window()->winId(); // Due to some existing issues with alien in 4.4,
- // we must currently force the creation of a parent widget.
- }
- m_isValid = true; //initialization ok, accept input
-@@ -171,8 +171,8 @@ void VideoWidget::setupVideoBin()
- gst_object_unref(videopad);
- QWidget *parentWidget = qobject_cast<QWidget*>(parent());
- if (parentWidget) {
-- parentWidget->winId(); // Due to some existing issues with alien in 4.4,
-- // we must currently force the creation of a parent widget.
-+ parentWidget->window()->winId(); // Due to some existing issues with alien in 4.4,
-+ // we must currently force the creation of a parent widget's window
- }
- m_isValid = true; //initialization ok, accept input
- }
---
-GitLab
-
diff --git a/media-libs/phonon-gstreamer/metadata.xml b/media-libs/phonon-gstreamer/metadata.xml
deleted file mode 100644
index 52ea6e1ffca9..000000000000
--- a/media-libs/phonon-gstreamer/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>kde@gentoo.org</email>
- <name>Gentoo KDE Project</name>
- </maintainer>
- <upstream>
- <bugs-to>https://bugs.kde.org/</bugs-to>
- </upstream>
- <use>
- <flag name="network">Enable network streaming support via libsoup</flag>
- </use>
-</pkgmetadata>
diff --git a/media-libs/phonon-gstreamer/phonon-gstreamer-4.10.0-r1.ebuild b/media-libs/phonon-gstreamer/phonon-gstreamer-4.10.0-r1.ebuild
deleted file mode 100644
index e3281141130b..000000000000
--- a/media-libs/phonon-gstreamer/phonon-gstreamer-4.10.0-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="phonon-backend-gstreamer"
-inherit ecm kde.org
-
-DESCRIPTION="GStreamer backend for the Phonon multimedia library"
-HOMEPAGE="https://community.kde.org/Phonon"
-
-if [[ ${KDE_BUILD_TYPE} = release ]]; then
- SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/${MY_PN}-${PV}.tar.xz"
- S="${WORKDIR}/${MY_PN}-${PV}"
- KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86"
-fi
-
-LICENSE="LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )"
-SLOT="0"
-IUSE="alsa debug +network"
-
-DEPEND="
- dev-libs/glib:2
- dev-libs/libxml2:2
- dev-qt/qtgui:5
- dev-qt/qtopengl:5
- dev-qt/qtwidgets:5
- dev-qt/qtx11extras:5
- media-libs/gst-plugins-base:1.0
- media-libs/gstreamer:1.0
- >=media-libs/phonon-4.10.60
- media-plugins/gst-plugins-meta:1.0[alsa?,ogg,vorbis]
- virtual/opengl
-"
-RDEPEND="${DEPEND}
- network? ( media-plugins/gst-plugins-soup:1.0 )
-"
-BDEPEND="
- dev-qt/linguist-tools:5
- virtual/pkgconfig
-"
-
-PATCHES=( "${FILESDIR}/${P}-wayland.patch" ) # KDE-bug 445196
diff --git a/media-libs/zxing-cpp/Manifest b/media-libs/zxing-cpp/Manifest
index ab71bf518c23..bf417574abd2 100644
--- a/media-libs/zxing-cpp/Manifest
+++ b/media-libs/zxing-cpp/Manifest
@@ -1,3 +1,5 @@
+AUX zxing-cpp-2.2.1-cmake.patch 842 BLAKE2B edcda3cda092597c54cdb1873ccd5b5187817f08d58a78a18415943756e7f432b54bf012e009626ceb7873d459b51970d9bd2c75a08424ab2ca17e169aa973cd SHA512 fb37b4ee81538f4ea524bfe274440c43c06365cbe8e6db2284ef4bb1f005b6ff61cc357d19b049c7ebba6e9afd363585932ae462680648aab6c1ed96d6d0e6b7
+AUX zxing-cpp-2.2.1-cxx20.patch 1033 BLAKE2B 47866787c62a18fa7424a70775ccf184432aa3cf49f8cd3db83b6974eadd498fa6b2831c6aa4d3f12134f9e8dd84010faee45943dfdccff8e88535034b9aab6a SHA512 90d2f6e41607f016e95e7e7f66251507c909e58dc3f589115244253276d8dd7607989c60f80ea7441f0b91e47fca383ba851922d96300a322feb3163fbac2e4c
DIST zxing-cpp-2.2.1.tar.gz 891055 BLAKE2B c6a3343cd0389d930e83dd9db4d6aeca6d4dda715c22c0b10dd76460e9d55bdd8e994c2ac24ba5d5a4f5e2069fcb035b2e4651a380b6b39bcce4b90d0c754df8 SHA512 f1de8df783061a152a18cd9102ac0c579c40c76ab4a5ba9f30bcb8ddb532f3fac08736840a631adbf7c30a7fa00ce8d65625c8cd695288620601708e8f256a53
-EBUILD zxing-cpp-2.2.1.ebuild 675 BLAKE2B 59963c6847396675c94deddd29e84366bca5bd44ad95d62512d7fdcbabd51c1b294ea9f1e1aae37082c864896729d74e072d564b091754bb06898dfcac63ec68 SHA512 9c7ce6820eaee9c4573449b97c37b83cb620c0965d3f8d17bce5139231c256eb9e357b53b3298ac7a354f615102591186d87bb59df22c04fcf2792b05bf4977d
+EBUILD zxing-cpp-2.2.1.ebuild 765 BLAKE2B 6d4754e55c03051d507b124d36a52adfbce81d7aa0d1c477ad4a5ed0a5694d0b43a4fcc6c932bd6086a3080a4cbf1114b4743996f48925861ea688934b919fcf SHA512 31218574b93f51eb72d471b312a1b321d632a0d2de1d38094e314d1d4e65f0ce8ba92cbdd56e0a5334a209242091c3a790f29b10b233f7d296e117325f3676e2
MISC metadata.xml 334 BLAKE2B a835ff2824bdf38aa06708b2f5e61bb22998a63855b7095e95474320717ed3e8f0ec753a324fefc5df0c83564a8f52c9660ac07bd1d37e33e95572a3fb2cac66 SHA512 bf2898872ed6586bb33a62f9f76be56f58c5e71b1b1a1414d5fc4e3629f1b0428b20bd864bc8c436b95b4b9e190d8103aa6ea74bc082a2d1cb65051f69bf812d
diff --git a/media-libs/zxing-cpp/files/zxing-cpp-2.2.1-cmake.patch b/media-libs/zxing-cpp/files/zxing-cpp-2.2.1-cmake.patch
new file mode 100644
index 000000000000..58bffda307a6
--- /dev/null
+++ b/media-libs/zxing-cpp/files/zxing-cpp-2.2.1-cmake.patch
@@ -0,0 +1,27 @@
+From 77475338af4920fe2568d69b2318a0d5e9be77ce Mon Sep 17 00:00:00 2001
+From: axxel <awagger@gmail.com>
+Date: Fri, 15 Mar 2024 22:23:17 +0100
+Subject: [PATCH] cmake: if (NOT CMAKE_CXX...) should have been if (NOT DEFINED
+ CMAKE_CXX...)
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 678fa6b62b..d7a1d81c85 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -61,10 +61,10 @@ if(NOT BUILD_DEPENDENCIES IN_LIST BUILD_DEPENDENCIES_LIST)
+ message(FATAL_ERROR "BUILD_DEPENDENCIES must be one of ${BUILD_DEPENDENCIES_LIST}")
+ endif()
+
+-if (NOT CMAKE_CXX_STANDARD)
++if (NOT DEFINED CMAKE_CXX_STANDARD)
+ set (CMAKE_CXX_STANDARD 17)
+ endif()
+-if (NOT CMAKE_CXX_EXTENSIONS)
++if (NOT DEFINED CMAKE_CXX_EXTENSIONS)
+ set (CMAKE_CXX_EXTENSIONS OFF)
+ endif()
+
diff --git a/media-libs/zxing-cpp/files/zxing-cpp-2.2.1-cxx20.patch b/media-libs/zxing-cpp/files/zxing-cpp-2.2.1-cxx20.patch
new file mode 100644
index 000000000000..9d89c9a8b38f
--- /dev/null
+++ b/media-libs/zxing-cpp/files/zxing-cpp-2.2.1-cxx20.patch
@@ -0,0 +1,29 @@
+From d98739ceaac1c477879b9c4fba89ea76dba2d539 Mon Sep 17 00:00:00 2001
+From: axxel <awagger@gmail.com>
+Date: Sun, 22 Sep 2024 22:39:11 +0200
+Subject: [PATCH] cmake: switch to c++-20 by default for the core library
+
+I finally accept the incurred performance penalty from the position
+independent DataMatrix detection by default.
+
+This is finally fixing #386. It also (sufficiently) fixes #822 and thereby
+supersedes #836.
+---
+ CMakeLists.txt | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b602712d79..fee4c68cdc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -71,7 +71,9 @@ if(NOT ZXING_DEPENDENCIES IN_LIST ZXING_DEPENDENCIES_LIST)
+ endif()
+
+ if (NOT DEFINED CMAKE_CXX_STANDARD)
+- set (CMAKE_CXX_STANDARD 17)
++ set (CMAKE_CXX_STANDARD 20)
++ # Allow the fallback to earlier versions if the compiler does not support it.
++ set(CMAKE_CXX_STANDARD_REQUIRED OFF)
+ endif()
+ if (NOT DEFINED CMAKE_CXX_EXTENSIONS)
+ set (CMAKE_CXX_EXTENSIONS OFF)
diff --git a/media-libs/zxing-cpp/zxing-cpp-2.2.1.ebuild b/media-libs/zxing-cpp/zxing-cpp-2.2.1.ebuild
index 1fac2dd0fe8e..e1dcb9341fc3 100644
--- a/media-libs/zxing-cpp/zxing-cpp-2.2.1.ebuild
+++ b/media-libs/zxing-cpp/zxing-cpp-2.2.1.ebuild
@@ -14,6 +14,11 @@ SLOT="0/3"
KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
IUSE=""
+PATCHES=(
+ "${FILESDIR}/${P}-cmake.patch"
+ "${FILESDIR}/${P}-cxx20.patch" # bug 939897
+)
+
src_configure() {
local mycmakeargs=(
-DBUILD_EXAMPLES=OFF # nothing is installed