summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin69742 -> 69746 bytes
-rw-r--r--media-libs/gst-plugins-bad/Manifest2
-rw-r--r--media-libs/gst-plugins-bad/gst-plugins-bad-1.24.11.ebuild77
-rw-r--r--media-libs/gst-plugins-base/Manifest2
-rw-r--r--media-libs/gst-plugins-base/gst-plugins-base-1.24.11.ebuild150
-rw-r--r--media-libs/gst-plugins-good/Manifest2
-rw-r--r--media-libs/gst-plugins-good/gst-plugins-good-1.24.11.ebuild37
-rw-r--r--media-libs/gst-plugins-ugly/Manifest2
-rw-r--r--media-libs/gst-plugins-ugly/gst-plugins-ugly-1.24.11.ebuild19
-rw-r--r--media-libs/gst-rtsp-server/Manifest2
-rw-r--r--media-libs/gst-rtsp-server/gst-rtsp-server-1.24.11.ebuild43
-rw-r--r--media-libs/gstreamer-editing-services/Manifest2
-rw-r--r--media-libs/gstreamer-editing-services/gstreamer-editing-services-1.24.11.ebuild55
-rw-r--r--media-libs/gstreamer/Manifest4
-rw-r--r--media-libs/gstreamer/gstreamer-1.24.10.ebuild7
-rw-r--r--media-libs/gstreamer/gstreamer-1.24.11.ebuild73
-rw-r--r--media-libs/lib3mf/Manifest5
-rw-r--r--media-libs/lib3mf/files/lib3mf-2.3.2-Gentoo-specific-remove-add_dependencies.patch29
-rw-r--r--media-libs/lib3mf/files/lib3mf-2.3.2-include-cstdint.patch13
-rw-r--r--media-libs/lib3mf/files/lib3mf-2.3.2-remove-std-and-opt-flags.patch30
-rw-r--r--media-libs/lib3mf/lib3mf-2.3.2.ebuild71
-rw-r--r--media-libs/libopenraw/Manifest3
-rw-r--r--media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch12
-rw-r--r--media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild3
-rw-r--r--media-libs/libtgvoip/Manifest2
-rw-r--r--media-libs/libtgvoip/libtgvoip-2.4.4_p20221208-r1.ebuild63
-rw-r--r--media-libs/oidn/Manifest2
-rw-r--r--media-libs/oidn/oidn-2.3.0.ebuild4
-rw-r--r--media-libs/opencolorio/Manifest10
-rw-r--r--media-libs/opencolorio/files/opencolorio-2.1.1-gcc12.patch14
-rw-r--r--media-libs/opencolorio/files/opencolorio-2.1.2-musl-strtol.patch27
-rw-r--r--media-libs/opencolorio/files/opencolorio-2.2.1-support-doxygen-1.9.7.patch184
-rw-r--r--media-libs/opencolorio/files/opencolorio-2.2.1-support-minizip-ng-4.patch92
-rw-r--r--media-libs/opencolorio/opencolorio-2.1.3.ebuild102
-rw-r--r--media-libs/opencolorio/opencolorio-2.4.1.ebuild (renamed from media-libs/opencolorio/opencolorio-2.2.1.ebuild)83
-rw-r--r--media-libs/openexr/Manifest2
-rw-r--r--media-libs/openexr/openexr-3.3.2.ebuild146
-rw-r--r--media-libs/openimageio/Manifest5
-rw-r--r--media-libs/openimageio/files/openimageio-2.5.18.0-tests-optional.patch31
-rw-r--r--media-libs/openimageio/openimageio-2.5.18.0.ebuild302
-rw-r--r--media-libs/openpgl/Manifest2
-rw-r--r--media-libs/openpgl/openpgl-0.6.0.ebuild4
-rw-r--r--media-libs/osl/Manifest10
-rw-r--r--media-libs/osl/metadata.xml3
-rw-r--r--media-libs/osl/osl-1.12.14.0-r2.ebuild (renamed from media-libs/osl/osl-1.12.14.0-r1.ebuild)24
-rw-r--r--media-libs/osl/osl-1.13.10.0.ebuild24
-rw-r--r--media-libs/osl/osl-1.13.12.0.ebuild321
-rw-r--r--media-libs/osl/osl-9999.ebuild28
-rw-r--r--media-libs/partio/Manifest4
-rw-r--r--media-libs/partio/partio-1.17.3.ebuild (renamed from media-libs/partio/partio-1.14.6.ebuild)39
-rw-r--r--media-libs/tg_owt/Manifest2
-rw-r--r--media-libs/tg_owt/tg_owt-0_pre20240804-r2.ebuild123
52 files changed, 1568 insertions, 728 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index bfc5bcbfb4d1..2d01f4e017db 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest
index f876732fada5..17669f6a983b 100644
--- a/media-libs/gst-plugins-bad/Manifest
+++ b/media-libs/gst-plugins-bad/Manifest
@@ -5,7 +5,9 @@ AUX 0002-meson-Add-feature-options-for-optional-va-deps-libdr.patch 3019 BLAKE2B
DIST gst-plugins-bad-1.22.11.tar.xz 5552716 BLAKE2B 2b1106f22114c6133d27c4cf8ea00af7efb60a21239b9a7655e35550ffa8401e5c04f9b4894d3ad74126ca67c3eb840b2257c86ad4f78ada208606f679e70fb4 SHA512 cf1901b4d4459be253d00bb65fdf6c86920ad4f034d91bd278509dfcb4e1729fdbedc127aebcd4470cc24c841d94e4199ef60747576b881ded6afc6d41985c70
DIST gst-plugins-bad-1.22.12.tar.xz 5555004 BLAKE2B d15aa65ffef15e691f84882ee76ce9d3f6e2ec31a95f1c18f56ebcda93043faa11fcd0f0d4d5783fc5aaeac020fe139449651c2008b9ff56a6853d9c55bfd2f7 SHA512 3de9decfce7f16308b077ef687cebc665f9cad7ed327fc0cc816e93c0c842dfbabf673e42cf8915c83d2f80d8ba9496508bc3b94dd587c4ae39798f67682f0bb
DIST gst-plugins-bad-1.24.10.tar.xz 7078644 BLAKE2B 928a79f10e93cad4bddfa1a8ce31ea2ea61e7e0424ed83789ed08c52d44665ce9da44a8b79c5f1b29cb69371ad220daafc741cf1c3bb3eababe0636dbd1b994d SHA512 b4f0ca2899052ba48aca2b4364479cfe580f6150e2b2b043e2a0e687409f5529f548fa06dedd73733d857c1243871426668664228d74bbdfcbd7ed35aea24189
+DIST gst-plugins-bad-1.24.11.tar.xz 7081520 BLAKE2B 5f1114eb20ff7426cd1edc568b535fcf93c5c819a04cc9d86e729ae0b5bd5984d79cd8cbf674fa0ed01c07d1faf3551b8415745b681b4941ad848869db256974 SHA512 12925f006a4a4b848fc4daf772688c8c1c0efe14aceb823954b4c05fcc2305bde1e8d9b7183a833299162de1e6ab5667d9865dee54851cc02d17cb61e72ae066
EBUILD gst-plugins-bad-1.22.11-r1.ebuild 2189 BLAKE2B e05d77e0ed8ae8165b8e97e69edf0f52b704fb67d1f86aa0c1eee82943b864b3b0708f794c31c7c0336f3914c014620790824199d36e8f1a09ad6b2fc838521b SHA512 6b940184b5ed6cb0e92a3113c961467630735a6cc8f8dcca3c18b5d1909d9d534a79d2f1e7c981bca6cf698f3b1e71a66e8c6594f1e0f6d920f267f621cc5243
EBUILD gst-plugins-bad-1.22.12.ebuild 2189 BLAKE2B 33aa2f09ba23bf5cbe1b908014bd9c750074614d860d254c3d00d2b2fa8acce66bbd63332a51b14585fae066cbef6609b12e2535ed1b549533749e1676c1d187 SHA512 27472735b03a6c26199e968fdd4847f3936a96ac82cb531045d5544b668c0495239448f6938ebe0985fca77ed7992dee21bdfdb20d766083c207f0ccfd237980
EBUILD gst-plugins-bad-1.24.10.ebuild 2184 BLAKE2B d62b548308deacbdf685c5103c9b154721a9a4cf05f309743392cff58e69ffb7890b73d6f66873d484a437319ad1a7798fe8c6fd2fc54760c78ae8bbbc35cc94 SHA512 6c436d6a74a5c5542967862be886421be1aa846478290e96da550bf7035e1f76992508fef80aa063e3e66846446d7cea1792be861f698a8015711eea281db523
+EBUILD gst-plugins-bad-1.24.11.ebuild 2184 BLAKE2B d62b548308deacbdf685c5103c9b154721a9a4cf05f309743392cff58e69ffb7890b73d6f66873d484a437319ad1a7798fe8c6fd2fc54760c78ae8bbbc35cc94 SHA512 6c436d6a74a5c5542967862be886421be1aa846478290e96da550bf7035e1f76992508fef80aa063e3e66846446d7cea1792be861f698a8015711eea281db523
MISC metadata.xml 346 BLAKE2B 1fc6c59f67566362fb388748621e4c27ec05b0fdbd2e64e54d9921abd2b724b13564326116bac68e54030247fd2ef884fc17bbbba4b7deb9bb9fbe2ade368e00 SHA512 d062247cbb2a684b16b8f0471221b60819ce6cbfee842f89a212bd3ee503f399f29128cf049089a91a2ed7ce9936d2fa434a7418a1bf2498b2b878f231702da1
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.24.11.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.24.11.ebuild
new file mode 100644
index 000000000000..36a30b5c51c4
--- /dev/null
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.24.11.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+GST_ORG_MODULE="gst-plugins-bad"
+inherit gstreamer-meson
+
+DESCRIPTION="Less plugins for GStreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="LGPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE="X bzip2 +introspection +orc udev vaapi vnc wayland"
+
+# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin
+# Baseline requirement for libva is 1.6, but 1.15 gets more features
+RDEPEND="
+ !media-plugins/gst-plugins-va
+ !media-plugins/gst-transcoder
+
+ >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?]
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?]
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+
+ bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
+ vnc? ( X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) )
+ wayland? (
+ >=dev-libs/wayland-1.4.0[${MULTILIB_USEDEP}]
+ >=x11-libs/libdrm-2.4.98[${MULTILIB_USEDEP}]
+ >=dev-libs/wayland-protocols-1.26
+ )
+
+ orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] )
+
+ vaapi? (
+ >=media-libs/libva-1.15:=[${MULTILIB_USEDEP}]
+ udev? ( dev-libs/libgudev[${MULTILIB_USEDEP}] )
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-util/glib-utils"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE )
+
+PATCHES=(
+ "${FILESDIR}"/0001-analyticsoverlay-move-option-to-right-section.patch
+ "${FILESDIR}"/0002-codec2json-move-option-to-right-section.patch
+)
+
+src_prepare() {
+ default
+ addpredict /dev # Prevent sandbox violations bug #570624
+}
+
+multilib_src_configure() {
+ GST_PLUGINS_NOAUTO="bz2 hls ipcpipeline librfb shm va wayland"
+
+ local emesonargs=(
+ -Dshm=enabled
+ -Dipcpipeline=enabled
+ -Dhls=disabled
+ $(meson_feature bzip2 bz2)
+ $(meson_feature vaapi va)
+ -Dudev=$(usex udev $(usex vaapi enabled disabled) disabled)
+ $(meson_feature vnc librfb)
+ -Dx11=$(usex X $(usex vnc enabled disabled) disabled)
+ $(meson_feature wayland)
+ )
+
+ gstreamer_multilib_src_configure
+}
+
+multilib_src_test() {
+ # Tests are slower than upstream expects
+ CK_DEFAULT_TIMEOUT=300 gstreamer_multilib_src_test
+}
diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest
index 9d441f84b7ae..e869b1b1c482 100644
--- a/media-libs/gst-plugins-base/Manifest
+++ b/media-libs/gst-plugins-base/Manifest
@@ -1,7 +1,9 @@
DIST gst-plugins-base-1.22.11.tar.xz 2373020 BLAKE2B 0809629afae7b82a12079dc40dd5a6a7c86876b591389c3179a74cea975b0ef3c66d9fc2f42a2f722892de2c75ef87eb0cfc5cc5df65f0ebefa02a891b0c392a SHA512 cfd8f7fe66f4707e043c8f070110eb80f9804cec529c8d29b13dbc8604db90e3f010c9614d538ad076b826df54f75ce5ebac355bd05a874e44dccead6a953c60
DIST gst-plugins-base-1.22.12.tar.xz 2374324 BLAKE2B 7600d5a10a3d7d4f6874cc166cdca2d45d3daedec3fbb56982db172bd4f6c0463fcde812e31c42f912d8fbda793730695ab39e44b7f126b49581f7c87858b988 SHA512 f72edccd49ce2a35577dff80feb1d0f667df54d6b8f61ef2320b5d4564442b907954d015bccec7a915acf25d2197a507c32b72c1ab18dd38d254f57a3277b334
DIST gst-plugins-base-1.24.10.tar.xz 2453672 BLAKE2B 0935a21d344b7d1328d1958325c49d23dadddd5bb72b2639ed2598efd2a2d35a8bb322583c2e6b9865c9d4d922400abcd20512ef28c1de8e7f6c11369008e23c SHA512 d5eae27c70999fd3a02294354a30e24d82ee9a7920e2e5f6bf63fcd8a321c7541dbbd402dbcee7c44ba4a67f9e5b0b264d28e295b91ccf67ce577c613f427244
+DIST gst-plugins-base-1.24.11.tar.xz 2455952 BLAKE2B efbf7b1aaece5a287738afb93e4b99c27471c640079bc7312f84925309de0eb91ecb9837eab314e5f787d745fda6c9113105156bd819db64c869ddec6a04e7ff SHA512 b0a2a072c52628b85ae3d2ff8f2769f149fd2d0c3644fb9d9d934ea586835e29af97f41731023969a8120a470f998080ef5a0cac5aa26823d01698dfe2a5e2fb
EBUILD gst-plugins-base-1.22.11-r1.ebuild 5643 BLAKE2B bebdcd333669924df273c3b287993ef4be01a40b0737f207a505445d15ebab2ab413689a225c677536b1095f813613b196e99c8e3457606ec16c844eac66971d SHA512 ee7ce316402da7b965b5d758f3d55fe980bdde8bd8eb85abdc1902c076acc86b273289f430a5409e879b3d0034b605497454302f84d64afc8091df88689cd48d
EBUILD gst-plugins-base-1.22.12.ebuild 5643 BLAKE2B 67e374b6a65fd97fed6a1977244c04ac6c25e58c199d03f2333e55c8c2119ed5792633b5cb79739b636e78ecb6758be4c9c10a5d63c26ae7757dcffe9607c089 SHA512 8b8d746032ac5c85003d49a8f68024aaf240af4505b6afe23da0e8b3a47d5c3899bee8a091fee6d083db95f0e186f6e80604d82596f4a5bb8a0a93c6e625619e
EBUILD gst-plugins-base-1.24.10.ebuild 5748 BLAKE2B 1fa8140de69f7a691c7881878d70615e2ad7a4aa671f543f4f7ba9f6f3f1f258cc4890096a895d9ff559b2956323e40950cc7e600da999d19b2c59bd9ce014b8 SHA512 e974bdfda21f396b3ba6ab1daabab1860a0d05bebd7cccdb5206424dc1be81402a9b2d5c8a12e82442678ec0a3a692fb13009aabac607102653cc2fe30bd3fd9
+EBUILD gst-plugins-base-1.24.11.ebuild 5748 BLAKE2B 1fa8140de69f7a691c7881878d70615e2ad7a4aa671f543f4f7ba9f6f3f1f258cc4890096a895d9ff559b2956323e40950cc7e600da999d19b2c59bd9ce014b8 SHA512 e974bdfda21f396b3ba6ab1daabab1860a0d05bebd7cccdb5206424dc1be81402a9b2d5c8a12e82442678ec0a3a692fb13009aabac607102653cc2fe30bd3fd9
MISC metadata.xml 1013 BLAKE2B 97a1460e8774c2a5b51a2a19e0c770794439af5e661eb26e365f0eb4edc6887b7b7e02335f4d8ef9dee0dea84cfc5f6f550f0569d1ecbbf9c715d91f3b5fbd9b SHA512 9e69852f7dda892dd3e395a403d06319d7438db93c03e8c82e4584acc2493d7f91d79d6ad6c02149419a08b81ca08428ccbc8472cb4848d60428b5d29992d907
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.24.11.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.24.11.ebuild
new file mode 100644
index 000000000000..14a809042334
--- /dev/null
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.24.11.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+GST_ORG_MODULE="gst-plugins-base"
+
+inherit flag-o-matic gstreamer-meson
+
+DESCRIPTION="Basepack of plugins for gstreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="GPL-2+ LGPL-2+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+# For OpenGL we have three separate concepts, with a list of possibilities in each:
+# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant
+# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams.
+# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches
+# With the following limitations:
+# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl
+# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case
+# * glx platform requires opengl API (but we don't REQUIRED_USE that as USE=X is common, glx is just disabled with USE=-opengl or USE=-X)
+# * wayland, gbm and most other non-glx WSIs require egl platform
+# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options;
+# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader;
+# and libpng/jpeg are required for gloverlay element;
+
+# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad
+IUSE="alsa +egl gbm +gles2 +introspection ivorbis +ogg opengl +orc +pango theora +vorbis wayland +X"
+GL_REQUIRED_USE="
+ || ( gbm wayland X )
+ wayland? ( egl )
+ gbm? ( egl )
+"
+REQUIRED_USE="
+ ivorbis? ( ogg )
+ theora? ( ogg )
+ vorbis? ( ogg )
+ opengl? ( || ( egl X ) ${GL_REQUIRED_USE} )
+ gles2? ( egl ${GL_REQUIRED_USE} )
+"
+
+# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl)
+# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options
+GL_DEPS="
+ || (
+ >=media-libs/mesa-24.1.0_rc1[opengl,wayland?,${MULTILIB_USEDEP}]
+ <media-libs/mesa-24.1.0_rc1[egl(+)?,gbm(+)?,gles2?,wayland?,${MULTILIB_USEDEP}]
+ )
+ egl? (
+ x11-libs/libdrm
+ )
+ gbm? (
+ >=dev-libs/libgudev-147[${MULTILIB_USEDEP}]
+ >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}]
+ )
+ wayland? (
+ >=dev-libs/wayland-1.20.0[${MULTILIB_USEDEP}]
+ >=dev-libs/wayland-protocols-1.15
+ )
+
+ >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}]
+ media-libs/libpng:0[${MULTILIB_USEDEP}]
+ media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}]
+" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element
+# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}]
+
+RDEPEND="
+ app-text/iso-codes
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+ alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+ ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] )
+ ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )
+ orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] )
+ kernel_linux? ( >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] )
+ pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] )
+ theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] )
+ vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
+ X? (
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}]
+ )
+
+ gles2? ( ${GL_DEPS} )
+ opengl? ( ${GL_DEPS} )
+"
+DEPEND="${RDEPEND}
+ dev-util/glib-utils
+ X? ( x11-base/xorg-proto )
+"
+
+DOCS=( AUTHORS NEWS README.md RELEASE )
+
+PATCHES=(
+)
+
+multilib_src_configure() {
+ filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340
+
+ # opus: split to media-plugins/gst-plugins-opus
+ GST_PLUGINS_NOAUTO="alsa gl ogg pango theora vorbis x11 xshm xvideo"
+
+ local emesonargs=(
+ -Dtools=enabled
+
+ $(meson_feature alsa)
+ $(meson_feature kernel_linux drm)
+ $(meson_feature ogg)
+ $(meson_feature pango)
+ $(meson_feature theora)
+ $(meson_feature vorbis)
+ $(meson_feature X x11)
+ $(meson_feature X xshm)
+ $(meson_feature X xvideo)
+ )
+
+ if use opengl || use gles2; then
+ # because meson doesn't like extraneous commas
+ local gl_api=( $(use opengl && echo opengl) $(use gles2 && echo gles2) )
+ local gl_platform=( $(use X && use opengl && echo glx) $(use egl && echo egl) )
+ local gl_winsys=(
+ $(use X && echo x11)
+ $(use wayland && echo wayland)
+ $(use egl && echo egl)
+ $(use gbm && echo gbm)
+ )
+
+ emesonargs+=(
+ -Dgl=enabled
+ -Dgl-graphene=enabled
+ -Dgl_api=$(IFS=, ; echo "${gl_api[*]}")
+ -Dgl_platform=$(IFS=, ; echo "${gl_platform[*]}")
+ -Dgl_winsys=$(IFS=, ; echo "${gl_winsys[*]}")
+ )
+ else
+ emesonargs+=(
+ -Dgl=disabled
+ -Dgl_api=
+ -Dgl_platform=
+ -Dgl_winsys=
+ )
+ fi
+
+ # Workaround EGL/eglplatform.h being built with X11 present
+ use X || export CFLAGS="${CFLAGS} -DEGL_NO_X11"
+
+ gstreamer_multilib_src_configure
+}
diff --git a/media-libs/gst-plugins-good/Manifest b/media-libs/gst-plugins-good/Manifest
index b667e56dab57..e86ebe008d16 100644
--- a/media-libs/gst-plugins-good/Manifest
+++ b/media-libs/gst-plugins-good/Manifest
@@ -1,7 +1,9 @@
DIST gst-plugins-good-1.22.11.tar.xz 2847708 BLAKE2B d61f834727719992e207ce3aa2e9b4ca779930f8bc0baf12bef7869f456ac86fad4a3874b50071d28724e414c5b134f7604af4b66c836da3388e584fbbe16dcf SHA512 e6105c90a66bfee8a69f621bf44f53fcbf832ec9290cee984354da91e57b61d2bbd548e3ad0c5d9f859d0c3f5ba3c313539f24b350e0a7acf29cb8983d4f40cb
DIST gst-plugins-good-1.22.12.tar.xz 2844924 BLAKE2B 5bc2f802a6abac4405642f9fe9a0ce4aacfdd1273a9e6224f7fa917ec3a654a2db97c6f74f8cbba93211bc7d41a10ea5394342ea9c902fddb723adfe8535cdec SHA512 06edbec1981681eef13852f21814666ccd9b664892795109d605015e0fe351d9cc3159af3e0ff92aa0d6bf085af8a749333d128544a2ce8b545067b95b7e09c0
DIST gst-plugins-good-1.24.10.tar.xz 2936480 BLAKE2B 7f860cebe757dccd46d3f37a6e88b20d616d2d754f00833d0805a81a07046a67e37b4c6a0b9ba12857142ad6f642db29eba795da4c7feabdf9ec836d13d95d9e SHA512 8c22f0502952677657716d52116101dd03d4b7af19f16bab6d5afbbc24fd9c920c3030bbe307cff19558b7a41d0347de0f5f28b4e15d9a26b482eb0c84d482f5
+DIST gst-plugins-good-1.24.11.tar.xz 2937828 BLAKE2B 66d2f4ff4564d34a0cb26c6bd00d7dd933d7674a08ea8119e94c32f2088c8f3aebc006e4288309bb3c2b5862f44806f74395609f4c58f2d563247dd8acf4f49d SHA512 7b15baf2aa0aa72f469d0c44cc13a892b85e7d4e08d04c44bfeb0ff475aa274474adcf652ed4fb9bca22155d04afa47898a423d3b5844a9b597337a3ab46faed
EBUILD gst-plugins-good-1.22.11.ebuild 950 BLAKE2B f4a364c4e446d1b2e9d67ba73c9a10a501d5bca659d6e5a72f9fee7d6ee88d697ef45899f539297f2e41b243b16350de98bd6535d7d62a109a3f2fba54b35402 SHA512 9ca6a3fd58bc339087ce2faa0f038da2cf6d7bbd2267f03a931eda78f5cc940fc912a12e1d64707d2d7a4d86d6c7da4cf60990b51f70e030262b3e9ae969caca
EBUILD gst-plugins-good-1.22.12.ebuild 950 BLAKE2B 0c6bd46423d447f5f984c4df1af1358d6833537eb684b3bb789b489c126d5878eeef7f2724e02eb4b1c5eee8fe4f7acbcce2ed27867cca0f59db93779258106c SHA512 b3de3c41c8b3cbfc0189847b6b5e9c3a184b72021c75037a87e8756c738d28f6954a2374a9841e88ddcb4f51954209ee05871db4ba29f234b7949385f543d542
EBUILD gst-plugins-good-1.24.10.ebuild 956 BLAKE2B 55f3f2ac104462e40c3a071c6630a71de9988b01e72e8291b0808b590c636299d1a424d8b583adeb00fcaa4c2d5be45f1524392cc1d187f111b89ba04aeecbb8 SHA512 4cda3c932919d5802376aa730e33ac50bbe3e871d15bc58d778a1bb7dacacca09d1bd073daca5bcefe8b74a39558c55b2d155ae2749168775a8a93a2b444ebbe
+EBUILD gst-plugins-good-1.24.11.ebuild 956 BLAKE2B a9cceb082cd86c87c5732ea9b6b4354f69c451ad68ac862d397c42ebc70c139e4e9a62ad7eb169187deb84c0a39b1d998532bdd59d71ceb3df12f2764816e41b SHA512 c3a3db233b81a3a119e98cfae8b6505d1c1871a6e75a545fb51c262a65b352e8aeb1e8bb81be7cd52b3decaa481c409ef6edede8fe718b571603afdb285af3e6
MISC metadata.xml 267 BLAKE2B 331be70b2fa90cce1bf91ded1dac141de6a9bec40c1736bcb90d280ac7fabf22cfd0a701c7fd5864f007d1159954f7ee55701d5e68b47a1a9a217ca34b7ee619 SHA512 4dcdd6bc6d148a0e02a0f1b766bd0c5712d373d898c06078d8630e0067e858b815117392a11332b257156e95da6337494d99c2724d24cadb97432089908644b5
diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.24.11.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.24.11.ebuild
new file mode 100644
index 000000000000..cd6d61138827
--- /dev/null
+++ b/media-libs/gst-plugins-good/gst-plugins-good-1.24.11.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+GST_ORG_MODULE="gst-plugins-good"
+
+inherit gstreamer-meson
+
+DESCRIPTION="Basepack of plugins for GStreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="LGPL-2.1+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+orc"
+
+# Old media-libs/gst-plugins-ugly blocker for xingmux moving from ugly->good
+RDEPEND="
+ !<media-libs/gst-plugins-ugly-1.22.3
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+ >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}]
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+ orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE )
+
+multilib_src_configure() {
+ # gst/matroska can use bzip2
+ GST_PLUGINS_NOAUTO="bz2"
+
+ local emesonargs=(
+ -Dbz2=enabled
+ )
+
+ gstreamer_multilib_src_configure
+}
diff --git a/media-libs/gst-plugins-ugly/Manifest b/media-libs/gst-plugins-ugly/Manifest
index 011fb2f39a62..545a4d517e15 100644
--- a/media-libs/gst-plugins-ugly/Manifest
+++ b/media-libs/gst-plugins-ugly/Manifest
@@ -1,7 +1,9 @@
DIST gst-plugins-ugly-1.22.11.tar.xz 256812 BLAKE2B 143fe16c92465be0c5bfb5b6c452be9e730501d372e49c26c6837eb2ff336b8098cda5afc61b3620f9ea9ed13eed6118e0deed8dcc9eab499b941e5e64157fd9 SHA512 767e80c1d15ec79ff196c4c4ad6128bc17502b490201c1a3799341a2784848f639392310de7dabc922d022acb5156bd25e4191ba2409c17b3a23a278f7722c5c
DIST gst-plugins-ugly-1.22.12.tar.xz 257464 BLAKE2B c7f89dda309712cb2380b2e29b67a40c02c561bbe49a83acb2beb84aac6ebaed895e1a27d5f6fb6787c803e2e94a0409d14a3206feb9797c5329bbaff5e4a61d SHA512 3ef5cb384578bcaff3bb45fa8fa8f97884acb2e09a1621c504fca4bd8744cb83e71c342372a7ddd06bc4077fdd2684d1f7f078278392361ed4e18afed374c659
DIST gst-plugins-ugly-1.24.10.tar.xz 231124 BLAKE2B d4e5d5a4abd3860d98ea9066d9eb13662ef639bd0ee8b8a1c5d5ffb155e0febc968019a151259cfd6592c8f27332bf6b4b6a3d74249b530c1a25eb31adf31b19 SHA512 87430ccf3e0382bae8f24e429734c38d9339ea95205e2a5fe5db8408ca9a369ee971b2e84b0717f918d65b2b91dec4baf032d8a01658512ec0af9ee9dfe397c5
+DIST gst-plugins-ugly-1.24.11.tar.xz 232056 BLAKE2B 849c34c099d062c81e7e008aee95d36ac6aae0c08eacec0e2ba3582b421d912f9dc0322031310eb459c76af30056ee38d5b5849d0400540656571c1a110f1c54 SHA512 461f3a07b4265bfe66b5b22f3a10bbf254068381f5634e970b3cb6d1c2d3ea401e0be43d188934a490e29658d8447a83de50253380cde371b0f5a55178f90e6a
EBUILD gst-plugins-ugly-1.22.11.ebuild 577 BLAKE2B cf4e9b5d16a0b846888a154dea54bbd0dd54d3543ee989634c6384dd93d49ea2b0c14a0f8d34e771c2ca71cb9e7d81492e95fd0caaddd463d3fce34bf4d27931 SHA512 30c9e906fde13205c4001c0fe84e80bfae67b87563f71b8d434cc5ea34fd7c135b4c19f8202bc2859e14593b27f3ce0febcb82d7e8e060e23ca8ab2bc5a7a145
EBUILD gst-plugins-ugly-1.22.12.ebuild 577 BLAKE2B aa0dfdb023cdcc75843b293ac086cb04b55b7f7f2dcd2cdc8fa85dc6d88b4109699f840538c655b714f2f227b1706e63366d45f34fa387f76140e63a887873b0 SHA512 d8ab82a7b340807eabd90c54c9dde2cc2cfc022cca5267d51a84e12bf2935553d9ca34d3f8114d4b56d012afd03bcb7682a7db1176b608952dde5c64e3909b3e
EBUILD gst-plugins-ugly-1.24.10.ebuild 583 BLAKE2B 7a318a7d6457e72a6644c048fef147439800e2fcbbcc398b53f825564f1d836001a858bc39d9edfa7683d6347018525760eca028b3c7b89cbb6c52531251e447 SHA512 596614f69c97070b16f4ba67815b8354c62f9919fe6fb1e525ab13a3eaf45d067914f664238c90ab041522b3754dc59f6e77459426f0d261d772c52b0bf879c2
+EBUILD gst-plugins-ugly-1.24.11.ebuild 583 BLAKE2B ff8018cde251f3c200eab10d0b54d9a7f058d9caa052acb152f44b6d34a4940a31d86e2d64a25ca40cb14d00bb761c15cf6783bd3cedfd6f7a85c5f656c33b9b SHA512 0dcf57eb23f3ce642b179601270002e6733d462d6e595ebfc3aaa6367bb8581c9c8d03cbd7544a92b4d537ec36daf58151ac948b7ece5b2bce36c878b7114162
MISC metadata.xml 346 BLAKE2B 940d96d0ed61860085f5f6ef81706c4bda670dd1b6bf4947e29e636d180a9bdf02c42e33fed50975f7da608f048dbe0d578f1b76c8e73b233bd7ac6d291dc653 SHA512 57dfe4552e5fa65043a0e5efba15df272f21d7c6838d705a83959991ff30a71ebf38526b5891cba93e4d1256f446258abd18cb368ec9782481f791e4815bd3b6
diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.24.11.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.24.11.ebuild
new file mode 100644
index 000000000000..fd540f3eb201
--- /dev/null
+++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.24.11.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+GST_ORG_MODULE="gst-plugins-ugly"
+inherit gstreamer-meson
+
+DESCRIPTION="Basepack of plugins for gstreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE )
diff --git a/media-libs/gst-rtsp-server/Manifest b/media-libs/gst-rtsp-server/Manifest
index 11f5dd0b74d7..5b1be6928aec 100644
--- a/media-libs/gst-rtsp-server/Manifest
+++ b/media-libs/gst-rtsp-server/Manifest
@@ -1,7 +1,9 @@
DIST gst-rtsp-server-1.22.11.tar.xz 281608 BLAKE2B 50c2fdaeb828b4f1d8f23cea4e4054ab07bd7be3b3fcf1c977852c13b18b3360603da62daa19bc1f71b6d138158bd2d51f0e048490c99b1dcfc5cf4dbf5bd52a SHA512 cf3c698dbbcaa790b6bb1b1df4bae88be5f54fb70ba4bce5a4a0f907d693616d52b1cf67e73f694dcd7c9588b63a6303949f9f36fde952011a2d2ff80f9b44de
DIST gst-rtsp-server-1.22.12.tar.xz 282316 BLAKE2B 0f7795271bf8943c322d65f490e1e100db7775f21cb853a39c199871dfa5cd4fcd1ee0169256a1b5bdf31d1c999c22ef355011d326086f13cdf92371b4ab29cc SHA512 fde52d8b08b58170bdf573e76c60aab8c46c857f3111504916d4901246567f4bf018e1c67913425fc1501e8b99723c19c9237297b1f84c2b489331d34199aa2c
DIST gst-rtsp-server-1.24.10.tar.xz 287084 BLAKE2B fc9da46980c740e256019e4bd461e7672c10f3f44517c80bd9007f344ffa9ce8bcc772fb62c6498e3eba55c05db5c6bf9207b9f4a64ee79049f73c244453a347 SHA512 e5baba79f98ecbc10c90d1e91d6709d20e3faf8bf7f8e166c383229337ec3e3986fc17ef554c5276d517153f380a82c83092261a324b47ae66aeebb9bc741cab
+DIST gst-rtsp-server-1.24.11.tar.xz 288008 BLAKE2B 717af25bd36a414bbe17d629f250d05db63828d6ff34dd27dbad5dc942cc06c85651e829d5770699e75a56a076d0c123db3bd1509640d34d2a4bc1c0b49fc76b SHA512 d1342a75154ff79f26447a14104cbdc6b8ebec46ff7588c3a1dad08ddb591e34401ad02c359e3f8fc3f018020f111573f5e38e9ebe1d3d0a73c142bb3affcf58
EBUILD gst-rtsp-server-1.22.11.ebuild 1189 BLAKE2B c3623383f4525171344573f6cdd7340595bce6dfc8ee38b4d5c15726732215df1d9a93efe09a1f8a64b2d5018c366bce818f5cfa7507ff44a308c460e6679a04 SHA512 2a7cf986364007c5e214e363471eec0ca2514bbd3fd94d99f34b681e36e65c19647756865c16dec3d019f2ffed14ce2c7599e6a9804950b8f3f75eed56495f41
EBUILD gst-rtsp-server-1.22.12.ebuild 1189 BLAKE2B 6d6591e66b2c68237ffc78ba13ba8549899ad8db25f471c28b898b20c054e1a4cab8b0d12e912216a7858a166479052381b631c74099e563d5e0d5901952077f SHA512 8625f46f1a8df574da863b4f60877ae22192ff7c47d38097b466aa2b8b6f2f38fbd5035612b8804cdaea1e5578c49a285b73b75926f796162ea3afcdc33cd92e
EBUILD gst-rtsp-server-1.24.10.ebuild 1191 BLAKE2B 60c1de695c7baf901798acb7a0247f9e90ac1c5780e3119b771b385241996d46d71dfe95ac9327bb9f349d669a18926805a2659c701ba18c8505cf9279cad332 SHA512 4b8feab912e2343ff08808d47b864d5e4b656beda5383e6f36c528c1ed89bf31bf3e4580b560c618a53e9f8982b238b43cf6d01067b2962711aab0077d22bdfa
+EBUILD gst-rtsp-server-1.24.11.ebuild 1191 BLAKE2B b1f75f73919e912f5a38f16bfe3ac480ddb68aa9638a1e0ad00c4497ec00e21d400eac5aa1e35a4633b875b36d9a2268dedb5445ca9ae5deffea684cd7ab3d0c SHA512 1533d8c1061291cb1c2f6b27fed2071abb8080920845fae51467319dd6d904c35e99d8bae23e24724ac4eb267ca15c0676a0a8e388086c702c7142b90309b9ea
MISC metadata.xml 263 BLAKE2B dd46173106e3b1509b54acb2e1688a98d89f8f1fe255db2f2db9fc82021410df1139ebb7fe913acf44e64bb8ca4b00e8f71801b92f0adf3d4110f4a7f9226900 SHA512 53d4401737d15aac01f0b0cf65fb159908ccf3611604b38c28baaf5a5f4a290931a6cbfd735421dadd8f1114367cf2d79bf3f4b5473ba958bd46e0c1ee666454
diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.24.11.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.24.11.ebuild
new file mode 100644
index 000000000000..36f6ac19eacd
--- /dev/null
+++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.24.11.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gstreamer-meson
+
+DESCRIPTION="A GStreamer based RTSP server"
+HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="examples +introspection static-libs"
+
+# gst-plugins-base for many used elements and API
+# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more
+# gst-plugins-srtp for srtpenc and srtpdec elements
+RDEPEND="
+ >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+ >=media-plugins/gst-plugins-srtp-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Dintrospection=$(multilib_native_usex introspection enabled disabled)
+ )
+
+ gstreamer_multilib_src_configure
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use examples ; then
+ docinto examples
+ dodoc "${S}"/examples/*.c
+ fi
+}
diff --git a/media-libs/gstreamer-editing-services/Manifest b/media-libs/gstreamer-editing-services/Manifest
index 62065303e4fb..37254d0bc85c 100644
--- a/media-libs/gstreamer-editing-services/Manifest
+++ b/media-libs/gstreamer-editing-services/Manifest
@@ -1,7 +1,9 @@
DIST gst-editing-services-1.22.11.tar.xz 836008 BLAKE2B 49ce48e45b956f9675f64f8da4ce2a8cd851ccba5573e722d8f823ff08a96053a4b8beca14fe5d32b4d8f71abf32feba2c2b80c10cf3825c32a5eaf52ce474a4 SHA512 87f1240c3c18d1530ace3f15ad50acef90dab2808198658b5f9da54a5cfe2ee2c040e7bdd766550e566c5e86a1509b12a473b6063f3a7e471ee18b163b40873d
DIST gst-editing-services-1.22.12.tar.xz 836768 BLAKE2B 252426269ab9b7893bf688335ec8920203846f3211a37ccbbd5256104bcee44d3897986e8787ecc138cfb97402c69f27e1622a774f7ada5d0ae6ea07e0495204 SHA512 34a888ca63c883c55e27b5b7270c6842f03d45544fd698c60e35a640f978c60667a23baec096e4be73a618beffdbf251bcc310437a1f1122aa98c2dc7a0b301c
DIST gst-editing-services-1.24.10.tar.xz 854400 BLAKE2B 85ac071a608e6d21c9c72328851b70d046eef58c9c029d92c0f8e78673a36cf8c6d5b4c00f8b8dec2f801da989edbd9645b20b1961a5cdcc107e30493707bebf SHA512 864c6f03470288bdad2ab9d9c712bc471ae313bad58c08b83aca4b7959d71f7e026b55a8c125fae8abecc89bfb9717e0eaae5bce7c681a82cbd96f1f66684e64
+DIST gst-editing-services-1.24.11.tar.xz 855536 BLAKE2B 3273bb65ddbd23a98f1046a34b1fee28d4187e817662603ecd6fd723e1b9feada4ed478eb9d921062bc2b7f75c3fc04de3c306297f63dd77c85b5cc57d6e6903 SHA512 04535b53aa6120d944ad10beec717fc10a5241d62d3277922750a6523dc0f2e939b2eb4e87b8d7bed615c1920b9cc97e1a40bc25b5b5b7427251541904e4eaa8
EBUILD gstreamer-editing-services-1.22.11.ebuild 1329 BLAKE2B 18daf949fa79267a3f5918fab85a40f5eac006331a8f5e95faf09b5eb6e442c068bc7a1553ccb7197e60f8f403402cf5a1618dd80fd0ec0f375401a54f0164ea SHA512 4332177b6f31bf981d796b88da59e4de4e3472eba7dab361b0d65a1646bfdb8fad87225a4c98a9ce5c1c28186aeb849b584909147de4a461433c1520f072597e
EBUILD gstreamer-editing-services-1.22.12.ebuild 1329 BLAKE2B 77d982b3e25997d89a31fc06c8e9a7d8d2e5d7b4a0b3c180f7265f1582f3db4ccc20b86c40201ee4323b56bfa0d5c9843f10572cbdf3f319b26b5e139c885f61 SHA512 a60545316f8151d7ac5108a67d1f427e95a4a3e0290754458e0e3be6f81a51bb6e24f78da8a2e157b326b0dcaa0439ca9f950cb2e653be0b561cce75e9cf6db6
EBUILD gstreamer-editing-services-1.24.10.ebuild 1331 BLAKE2B 6bd76b8656d2c6115cfec3bbbf9795632d7e0080207d786cd5d87585dcd8a2023e9cda1c9e81987ad0d4b93d4d4ffa5961823cd93daeac57b68158dd60e66c2d SHA512 1badb67b86b173fc2659744ab50167f5155bba1a3d8600765887ee34d755902b1d06ea20668303abfcfd550490f2b0776c0d53964e8765d1932824061294552a
+EBUILD gstreamer-editing-services-1.24.11.ebuild 1331 BLAKE2B c5ff629640a2369cf229f44580b0b749292fdaa690cc180c36b296ef0b6cfd414f627ef4c54e1a50301d60c5a06d7d398ba02f0258719cc63ff100f71bf17968 SHA512 def1a0c75ed3aa0388622db9685dc1d190ea31630acbeeb85320a5670e35d1382ba00d0d06fabfc8e701ae888e558f963b9fb348af895474bee7197008ec3ad6
MISC metadata.xml 263 BLAKE2B dd46173106e3b1509b54acb2e1688a98d89f8f1fe255db2f2db9fc82021410df1139ebb7fe913acf44e64bb8ca4b00e8f71801b92f0adf3d4110f4a7f9226900 SHA512 53d4401737d15aac01f0b0cf65fb159908ccf3611604b38c28baaf5a5f4a290931a6cbfd735421dadd8f1114367cf2d79bf3f4b5473ba958bd46e0c1ee666454
diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.24.11.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.24.11.ebuild
new file mode 100644
index 000000000000..e55b8864a59d
--- /dev/null
+++ b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.24.11.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit meson python-r1
+
+DESCRIPTION="SDK for making video editors and more"
+HOMEPAGE="http://wiki.pitivi.org/wiki/GES"
+SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P/gstreamer/gst}.tar.xz"
+S="${WORKDIR}"/${P/gstreamer/gst}
+
+LICENSE="LGPL-2+"
+SLOT="1.0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+IUSE="+introspection test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+# Some tests are failing
+RESTRICT="test"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-libs/glib-2.40.0:2
+ dev-libs/libxml2:2
+ >=media-libs/gstreamer-${PV}:1.0[introspection?]
+ >=media-libs/gst-plugins-base-${PV}:1.0[introspection?]
+ >=media-libs/gst-plugins-bad-${PV}:1.0[introspection?]
+ introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ python_setup
+
+ local emesonargs=(
+ -Ddoc=disabled # hotdoc not packaged
+ $(meson_feature introspection)
+ $(meson_feature test tests)
+ -Dbash-completion=disabled
+ -Dxptv=disabled
+ -Dpython=enabled
+ -Dvalidate=disabled
+ -Dexamples=disabled
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ python_moduleinto gi.overrides
+ python_foreach_impl python_domodule bindings/python/gi/overrides/GES.py
+}
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
index 236845ed49b7..5a3a779e8f1c 100644
--- a/media-libs/gstreamer/Manifest
+++ b/media-libs/gstreamer/Manifest
@@ -2,7 +2,9 @@ AUX gstreamer-1.24.10-disable-test-with-no-tools.patch 688 BLAKE2B 4e05dff9d7a61
DIST gstreamer-1.22.11.tar.xz 1801248 BLAKE2B 856342994bc8750598cb256313151355e7c58d751214c168c53ba831cfcdf3ab789a192473ba0e0645df8cb7cb9e625348b18cfe83d839f1f231f8f746877f49 SHA512 8976cebd2cbac3ef31ee6163d2c5264be7d10d54ab9fe6f0b2317d7d0380420ef2378e1b476af09f1e6b203e3eafcda88fc08bb2f550a6f411d8670dec04843e
DIST gstreamer-1.22.12.tar.xz 1803104 BLAKE2B c44d0b2a18f523c6e826f774255e0a6946ef6a8386f92dd611ee1f9d2e3bee6dc837654efd61017c7bc4784e6356a66698f9038e1747ed14ff3e468b4fcb8652 SHA512 2443a337a97ac805267d683d049b5023281db54d0d9c561510cff478b0a13256078eb08b1dd89440d2348c84e6e64c8137ce8e6e7c131440a7bd3a8975ebe722
DIST gstreamer-1.24.10.tar.xz 1870200 BLAKE2B 77fac310664aefbbd35889b6c502d5e1af5b220cb22952d43b3ea1e025990ae10b6fd0199eb19ef965207a0bee748cf58432c6da6df08716b586e5882fa4a6a2 SHA512 b8f4200ca073c1cdb3a94dba0d37d5a41fc16f5dae88e0350d647122a5bcaf7f3b65e2894ff87088eeea4f8bb834ba7b4d447a5e81cb73d647a9d04a569ca184
+DIST gstreamer-1.24.11.tar.xz 1870996 BLAKE2B 8d4a24a2c4ee7af8b30eed569f27125cafd8e77b0d93b210a87b2b442809e6bd4b3009b01e961f1c488b11f0c1e21b8d12702a4c32f4c76718d12a4df6dfed9e SHA512 980dcabb5481cc1c59060c0b9b396deb4bc5646f757bc6be6ac514847f046473b5a997ca2d5a394cbedd079403ac0ae84e6b1d94997761018d080fadf9e99af5
EBUILD gstreamer-1.22.11.ebuild 1506 BLAKE2B 4d880b1a4a44530caa0b7ea985ba2c69a311a1c081c00503ecc893407c3df071809862a62b3e6f676ff645c91f81380c02dc350329f6c12cfeb3c92df4cf5734 SHA512 9151aa7820777f43a87ecc824a84b937935886730e7cff9bdbee58a8231605997b72ce22e8cb984a7a437ba1ed04f730563df87d639dda109c6b45faaf61bbfc
EBUILD gstreamer-1.22.12.ebuild 1506 BLAKE2B 4fb13d13d6307cfe1f58216abfd920eb0a0b5320bc9b15682c0cbfb6266f2a71e9300d2f8519c3ae18a8a2649328e735fdc455e628e873d762b30d49d1561542 SHA512 c43e4de00f6d8410f202ac4783b9a193cbe672cfe62598700c07ed3f4949779bbc377a01e225f71cc823c6e0a002c9cc3223ec09ab74c78efb7817248f082fb2
-EBUILD gstreamer-1.24.10.ebuild 1801 BLAKE2B 37bba47958cce51c86cdda4d230e37b592fbfdf42dc328d6f92204ba1531fc8a2f858bd0265523ef7e6ae1b562f7162269c0920974ecc61d8469940ff0dac5f0 SHA512 c8bf4d4589264b78ea327b6d3534d83f33edd53bb927055f734b588cbf28ebb8704e1db436e54c3f90999576e1de54bfd1d7a9946b8ad654c0198c2b71c6e339
+EBUILD gstreamer-1.24.10.ebuild 1899 BLAKE2B ad50d38dc26cbac588b43cded4aa8842420fed67d527da83ae4bcecf1daa46fd65a3901f6caa123a821d8e104a21feff9723a166924dfc8315c8192e7ee2b86a SHA512 bfd28af62640b033d46fc4ee239674d7c288c5eeb3fbd234581422ff6cead64a608566feb45a93d87e15ec6e8ab1619ffaabd50ed3e66e96ff8d8848f882f243
+EBUILD gstreamer-1.24.11.ebuild 1899 BLAKE2B ad50d38dc26cbac588b43cded4aa8842420fed67d527da83ae4bcecf1daa46fd65a3901f6caa123a821d8e104a21feff9723a166924dfc8315c8192e7ee2b86a SHA512 bfd28af62640b033d46fc4ee239674d7c288c5eeb3fbd234581422ff6cead64a608566feb45a93d87e15ec6e8ab1619ffaabd50ed3e66e96ff8d8848f882f243
MISC metadata.xml 502 BLAKE2B d7ba251b049df6e28eb19c356c1ae87e0ee2f9f9b77d4d61a7cf6fa0d24c29e1c77dc7ab87d86fa6041b9bce83dc1127d5b0ac18f514a02bc4046c38d2ba66af SHA512 791be53a89c0140c6d8b160955dc706c2da71e1e2fbc742d7a8df9815bf0508fefd7ffc6c489183ed82ee035ffa8a0ca2a4cb9d5c518a673f15805b745912860
diff --git a/media-libs/gstreamer/gstreamer-1.24.10.ebuild b/media-libs/gstreamer/gstreamer-1.24.10.ebuild
index c9df01e1105c..fd802735e446 100644
--- a/media-libs/gstreamer/gstreamer-1.24.10.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.24.10.ebuild
@@ -43,13 +43,18 @@ PATCHES=(
# Rust
QA_FLAGS_IGNORED="usr/libexec/gstreamer-1.0/gst-ptp-helper"
+pkg_setup() {
+ gstreamer-meson_pkg_setup
+ use ptp && rust_pkg_setup
+}
+
multilib_src_configure() {
local emesonargs=(
-Dtools=$(multilib_is_native_abi && echo enabled || echo disabled)
-Dbenchmarks=disabled
-Dexamples=disabled
-Dcheck=enabled
- -Dptp-helper=$(multilib_is_native_abi && echo enabled || echo disabled)
+ -Dptp-helper=$(multilib_is_native_abi && echo $(usex 'ptp' 'enabled' 'disabled') || echo disabled)
$(meson_feature unwind libunwind)
$(meson_feature unwind libdw)
)
diff --git a/media-libs/gstreamer/gstreamer-1.24.11.ebuild b/media-libs/gstreamer/gstreamer-1.24.11.ebuild
new file mode 100644
index 000000000000..fd802735e446
--- /dev/null
+++ b/media-libs/gstreamer/gstreamer-1.24.11.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUST_OPTIONAL=1
+RUST_MIN_VER=1.48
+inherit gstreamer-meson rust
+
+DESCRIPTION="Open source multimedia framework"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2+"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+caps +introspection ptp unwind"
+
+# gstreamer-1.22.x requires 2.62, but 2.64 is strongly recommended
+RDEPEND="
+ >=dev-libs/glib-2.64.0:2[${MULTILIB_USEDEP}]
+ caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+ unwind? (
+ >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
+ dev-libs/elfutils[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/glib-utils
+ app-alternatives/yacc
+ app-alternatives/lex
+ ptp? ( ${RUST_DEPEND} )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS MAINTAINERS README.md RELEASE )
+
+PATCHES=(
+ "${FILESDIR}"/gstreamer-1.24.10-disable-test-with-no-tools.patch
+)
+
+# Rust
+QA_FLAGS_IGNORED="usr/libexec/gstreamer-1.0/gst-ptp-helper"
+
+pkg_setup() {
+ gstreamer-meson_pkg_setup
+ use ptp && rust_pkg_setup
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Dtools=$(multilib_is_native_abi && echo enabled || echo disabled)
+ -Dbenchmarks=disabled
+ -Dexamples=disabled
+ -Dcheck=enabled
+ -Dptp-helper=$(multilib_is_native_abi && echo $(usex 'ptp' 'enabled' 'disabled') || echo disabled)
+ $(meson_feature unwind libunwind)
+ $(meson_feature unwind libdw)
+ )
+
+ if use caps ; then
+ emesonargs+=( -Dptp-helper-permissions=capabilities )
+ else
+ emesonargs+=(
+ -Dptp-helper-permissions=setuid-root
+ -Dptp-helper-setuid-user=nobody
+ -Dptp-helper-setuid-group=nobody
+ )
+ fi
+
+ gstreamer_multilib_src_configure
+}
diff --git a/media-libs/lib3mf/Manifest b/media-libs/lib3mf/Manifest
index 3d242122f6fe..a70579ce7ba1 100644
--- a/media-libs/lib3mf/Manifest
+++ b/media-libs/lib3mf/Manifest
@@ -3,6 +3,11 @@ AUX lib3mf-2.2.0-0001-remove-std-and-opt-flags.patch 992 BLAKE2B e000fe00773010b
AUX lib3mf-2.2.0-0001-use-system-provided-act-binary.patch 5370 BLAKE2B c5d3cfe734311995f9fb98a4c7083267af04740e9cc94f6251ec01a837cce8e52587bae4f587a246317976eb60be931c44d1b6bb5f0d72599d07845cadd1a8c4 SHA512 4832d2661dab796e78a737f7aca2f7516e4f4b8c29d0897779ad82be91ec523941f51d39564ad61b01a158a5f313c365a26d5499ce2ccc85793fca8f81b75aee
AUX lib3mf-2.2.0-0002-Gentoo-specific-remove-add_dependencies.patch 936 BLAKE2B ac89b89c223eaa81334da6ae84d1c785beccea2687b883954a93ede0d7fa49d11afc91ff5a6d41e195d7feb959d4317986cc97ac58047328ce372e40e787cefa SHA512 42c9ede93e79c7548b5ed9bed2f5ec0e275441ab5daa5cf9eb72f31610da512b7a3f118a075a8cfc21d1244c96ba42efadaee8c26c1b1837295e8a2ce4a93255
AUX lib3mf-2.2.0-include-cstdint.patch 570 BLAKE2B d239701017d68d9dc1c9f8e97f49e74e6af13b93d4f89b97b64248b3b779fbda62a85d085abf66b41990e91085adde0c757089fd12740be8f3e200468dbc56ab SHA512 61be13edfa4c54ee11ff9c2dd11c3740fbaaaa3d07f5bad10bb48a2ce41eb0c090960c44834b0fb60109952dadfda3071c998e4e866d1acd13874106542e7a01
+AUX lib3mf-2.3.2-Gentoo-specific-remove-add_dependencies.patch 1007 BLAKE2B 8c36441c03abec85da08e08ca9e563d5c7aa04bad359e49208173ab5cfd0ad96419503bd988a79136d3474041c4a7478c9337e8b3adba3d1f9bb020573facdd3 SHA512 c3e7683fa50a3adeaa9285bbc03ee47e2564ba08bdd95e22f6d2e9ebbaf8be6099737f6ed169f83c924af0aae9e1e11a6d07c37b1003fc3f23113e8985c0ce15
+AUX lib3mf-2.3.2-include-cstdint.patch 323 BLAKE2B c2eb04f8ea0f2f60a028c54625bda8c1859fad9e5fc7592294103681a019b7e8d278eeb397ffddbf6163bdf8d73a6eeed8a565a871c18b5589385ce0ce27cdb6 SHA512 335f18348240371d1607c4eb8a56294ec9d57f12e80d7e16b90e84ad907d1e468f5ebc942d4a9d913bc1c0e527f5622e3ae719f7affebf2cb53ded4bdcdc2310
+AUX lib3mf-2.3.2-remove-std-and-opt-flags.patch 992 BLAKE2B 24cb13d5bbe128dafe933829510bf0db9ee45523a5aef9ea8285c18bc37d5ddaa7ee071ceb11899ce110812c66573cad022e18fb2bc9d8c79d1811201fbae216 SHA512 25cd5ed0fdccba847252d8809a55da4076708f618c5cd7047f77157c247a9037d37c6b95f71a5e5ce14d41ecda431bdd428d771f3c84fe0243e114c4460e12c7
DIST lib3mf-2.2.0.tar.gz 16439833 BLAKE2B c98f57ea99f90625f2bfbdbcde9df8dbd8aeccc655e1bd9be165c24b2d9fb74471e4b01c816d8f665e5793db77c7bcf52016f030ec1947f908d6647e9ad12745 SHA512 2a9ee92312396b8966967a7ed696c58c69a77438f94432ad071659adc8c9d12fba34a3cf3d8c8d3ad3b26c12c9a89f4d8645e6f396987dc05b04952b004a1f07
+DIST lib3mf-2.3.2.tar.gz 35247937 BLAKE2B 8e20e44d715a2942dea8b3d08cb18593162bfd12b9f09b82b182e901f6beb76e2c88d83860c39cdd4e4c239e18f6949e9f9fd5921bc8a9d257975c54a8777e26 SHA512 875529759aff6128b32291d0719b95a75a72a3b19f98711b12c9b1076727b231668b3b14604e69bb1fec79b4725fd098f030b7e965072e566bfb061f3086279c
EBUILD lib3mf-2.2.0-r1.ebuild 1788 BLAKE2B 8cdb876ca0d240fea3bc0c7103b41e6c0c4abbda665e3bf98904673f0bc9ed7937b0a62a73fee5cee880284d95cf7ca84b2e5be641c5bf09fe0297d6bc80cf8d SHA512 d78f4b07eaa4b0adabc1371169eed867c6c8498031e46056b0aedde955c5bf248bc23b5cacef8fff34601e50475a6613d54461ad3b5709d0f771afc7625c332b
+EBUILD lib3mf-2.3.2.ebuild 1439 BLAKE2B 250e870f2471f30466104fc21c015078be5bb7e3f66ca8990b3b88d8db40e332d1a613d50938689ecad96593ac98339131d04642f36dc8952c9b56580c59d1eb SHA512 0068c17c4da08dd6baf063a70feb500ab33bbcf7ab57a4394c6eb1e6d09724d35adc7fa2210817a18ce944e5948d8fc3bcc626bd21c153993ef1b3a3b5caece8
MISC metadata.xml 937 BLAKE2B 5794675d2197f8da85354f0dc542ac3ae65ea5124a26030a9fdb19e9fa78bbfa8298a13d2c7a4509d2782012ac157f09827afff00b5615e01b0580a71c2aacef SHA512 c62d56ccf3727f5bfa1a04b031ff44506332138c97258f4b3078eb6570a9dc048b4da1fbf1c495175ea169e2b21d11128437c16234f38df5d70fc3994462c0f4
diff --git a/media-libs/lib3mf/files/lib3mf-2.3.2-Gentoo-specific-remove-add_dependencies.patch b/media-libs/lib3mf/files/lib3mf-2.3.2-Gentoo-specific-remove-add_dependencies.patch
new file mode 100644
index 000000000000..c922fd577644
--- /dev/null
+++ b/media-libs/lib3mf/files/lib3mf-2.3.2-Gentoo-specific-remove-add_dependencies.patch
@@ -0,0 +1,29 @@
+From 03bebf3282b317c68c2b8991021d02c1572f97b2 Mon Sep 17 00:00:00 2001
+From: Paul Zander <negril.nx+gentoo@gmail.com>
+Date: Mon, 6 Jan 2025 01:00:13 +0100
+Subject: [PATCH] [PATCH] [Gentoo specific] remove add_dependencies
+
+Remove the add_dependencies commands on ssl and crypto.
+We use global openssl support instead of package libressl.
+
+Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
+---
+ Tests/CPP_Bindings/CMakeLists.txt | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/Tests/CPP_Bindings/CMakeLists.txt b/Tests/CPP_Bindings/CMakeLists.txt
+index 89aa33a..5f27d03 100644
+--- a/Tests/CPP_Bindings/CMakeLists.txt
++++ b/Tests/CPP_Bindings/CMakeLists.txt
+@@ -58,7 +58,7 @@ find_package(Threads REQUIRED)
+ target_link_libraries(${TESTNAME} PRIVATE Threads::Threads)
+ endif()
+
+-target_link_libraries(${TESTNAME} PRIVATE ${PROJECT_NAME} ssl crypto)
++target_link_libraries(${TESTNAME} PRIVATE ${PROJECT_NAME} ssl crypto)
+
+ if (WIN32)
+ target_link_libraries(${TESTNAME} PRIVATE ws2_32)
+--
+2.47.1
+
diff --git a/media-libs/lib3mf/files/lib3mf-2.3.2-include-cstdint.patch b/media-libs/lib3mf/files/lib3mf-2.3.2-include-cstdint.patch
new file mode 100644
index 000000000000..13df032b71fc
--- /dev/null
+++ b/media-libs/lib3mf/files/lib3mf-2.3.2-include-cstdint.patch
@@ -0,0 +1,13 @@
+--- a/Source/Common/Platform/NMR_EncryptionHeader.cpp
++++ b/Source/Common/Platform/NMR_EncryptionHeader.cpp
+@@ -8,6 +8,7 @@
+ #include "Common/Platform/NMR_ExportStream.h"
+
+ #include "Common/NMR_Architecture_Utils.h"
++#include <cstdint>
+ #include <cstring>
+
+ #define LIB3MF_MAXENCRYPTIONHEADERSIZE (1UL << 31)
+--
+2.47.1
+
diff --git a/media-libs/lib3mf/files/lib3mf-2.3.2-remove-std-and-opt-flags.patch b/media-libs/lib3mf/files/lib3mf-2.3.2-remove-std-and-opt-flags.patch
new file mode 100644
index 000000000000..0230335b87ec
--- /dev/null
+++ b/media-libs/lib3mf/files/lib3mf-2.3.2-remove-std-and-opt-flags.patch
@@ -0,0 +1,30 @@
+From 057ae273bf223573b7cdb6ec978e051220ffe401 Mon Sep 17 00:00:00 2001
+From: Peter Levine <plevine457@gmail.com>
+Date: Sat, 18 Feb 2023 13:21:29 -0500
+Subject: [PATCH] [Gentoo specific] remove optimization flags and C++ standard
+ flags
+
+Remove the lines in CMakeLists.txt that emit -std=c++11 (as wall as
+emitting -O2) to enable the compiler default, which builds against
+the latest GTest with both clang-16.0.0_pre20230107 and
+gcc-12.2.1_p20230121-r1.
+
+Signed-off-by: Peter Levine <plevine457@gmail.com>
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -32,12 +32,10 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
+ # using GCC
+ add_definitions(-DBUILD_DLL)
+ add_compile_options(-Wall)
+- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -O2")
+ elseif ("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
+ # using GCC
+ add_definitions(-DBUILD_DLL)
+ add_compile_options(-Wall)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -O2")
+ set(CMAKE_MACOSX_RPATH ON)
+ endif()
+
+--
+2.39.1
+
diff --git a/media-libs/lib3mf/lib3mf-2.3.2.ebuild b/media-libs/lib3mf/lib3mf-2.3.2.ebuild
new file mode 100644
index 000000000000..c13736d8833e
--- /dev/null
+++ b/media-libs/lib3mf/lib3mf-2.3.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Implementation of the 3D Manufacturing Format file standard"
+HOMEPAGE="https://3mf.io/ https://github.com/3MFConsortium/lib3mf"
+SRC_URI="https://github.com/3MFConsortium/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="+system-act test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libzip:=
+ sys-apps/util-linux
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-cpp/gtest
+ dev-libs/openssl
+ dev-debug/valgrind
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.3.2-remove-std-and-opt-flags.patch
+ "${FILESDIR}"/${PN}-2.2.0-include-cstdint.patch
+ "${FILESDIR}"/${PN}-2.3.2-include-cstdint.patch
+)
+
+src_prepare() {
+ cmake_src_prepare
+
+ # DO NOT WANT!
+ rm -r Libraries/libressl || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_INCLUDEDIR="include/${PN}"
+ -DLIB3MF_TESTS=$(usex test)
+ -DUSE_INCLUDED_LIBZIP=OFF
+ -DUSE_INCLUDED_ZLIB=OFF
+ -DSTRIP_BINARIES=OFF
+ )
+
+ if use test; then
+ mycmakeargs+=(
+ # code says it uses libressl, but works with openssl too
+ -DUSE_INCLUDED_SSL=OFF
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ for suf in abi types implicit; do
+ dosym -r /usr/include/${PN}/Bindings/Cpp/${PN}_${suf}.hpp /usr/include/${PN}/${PN}_${suf}.hpp
+ done
+}
diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest
index 1cc2a9b37d18..4317f8049a0a 100644
--- a/media-libs/libopenraw/Manifest
+++ b/media-libs/libopenraw/Manifest
@@ -1,4 +1,5 @@
+AUX libopenraw-0.3.7-fix-boost-detection.patch 558 BLAKE2B a2587de14ffd394f32b862aedda578a2d7ace3711a7b8355ba2640659666c044a16bbd84936550916a2f6e2a396235366e46186e24386f169bd24858096d5d17 SHA512 edeb38252c3cc32797a0a7a429d597d24791ed7c781d0a1af6f0aa40b64791710d159b568f21505fd6bbedae63214e442b65c3da801320cf8dfa39213ff7b7a1
AUX libopenraw-0.3.7-slibtool.patch 605 BLAKE2B 0369ca04439c0b69548079dc6ce69fd562bb3bcdb15ec2f76eafb76260846af16bbd33c60aed89967b1bd29b4cccd6ec7985b101b7af43c8dc0160569404c385 SHA512 7ee3505a2690777218b558b1016d19e00d63153cfa4a2fdb125327fb0a1f59224703b0af16329936e08e7fca65e615a840cd61e4d24f246dc89d329e1b0c5593
DIST libopenraw-0.3.7.tar.xz 2536380 BLAKE2B 22aacfb085c59fa4b763abc3454839812327d1b6506b2e531783b0529ca3a5e24605a010e6c510d942741d4f0afc208ca626bdef1a93ad42fbf0f5c1e347f5cb SHA512 0781e9377100e954f8a7f020da537ec2af033b23341a7944fc346a973fecb463ed29b375275ae8b4bd6f40721ee4f12480729df80337d57cac30627e084594d1
-EBUILD libopenraw-0.3.7-r1.ebuild 1329 BLAKE2B 0cfd6b81db164137cbbe5ecc645bd51c12b2150b8b545538b33b37507d1fa0f7a56196c2799f9c8edf07c402250f1e58a9d4abe2fb34a6125727b09e382c1354 SHA512 57f830dcaee0dc8a11287b4742cd3d156f35ae95bde833d191cbe3cb60303b63bcfa886299d7008ff72bcd1f25c9c34205d75fc4fbd9287b11b19354eae2add6
+EBUILD libopenraw-0.3.7-r1.ebuild 1390 BLAKE2B 4098567d4bac1faffbe2c2e4bead5b3a302240e96a7a3f4e132ea77897d3ee01aec6df22732f568c5215fb2ebe288a7c8e9988d7e722a152ee13831828c822b5 SHA512 c2a1e0d3fd0c638942147d84b8f401298ae773299e33075693e85653051632e78fccda9778fc8f4f2ce3e1ce809d658e7db26f19536dcd5b23276d8f14408584
MISC metadata.xml 327 BLAKE2B 535d53760f8b1440558a02aecb8ab27244d3583ded3843a38a8d418ae8a8a55859c08901a6fae91f8d63e7848a173e3e40b7ff168a0f86c710e53bcbe87f4161 SHA512 26f6a6a430380b878feabd5a692aed4cf6994701e935fda0f986b0b071702846389f8ada8f0c666f35a5107484879d7dce9f81b866081b0b06a1df1d02125cdb
diff --git a/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch b/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch
new file mode 100644
index 000000000000..1ca47ea5cc90
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch
@@ -0,0 +1,12 @@
+--- a/m4/boost.m4
++++ b/m4/boost.m4
+@@ -229,6 +229,9 @@ AC_LANG_POP([C++])dnl
+ [#include <boost/version.hpp>
+ boost-lib-version = BOOST_LIB_VERSION],
+ [boost_cv_lib_version=`cat conftest.i`])])
++ if test x"$boost_cv_lib_version" = x; then
++ boost_cv_lib_version=$(grep "#define BOOST_LIB_VERSION" /usr/include/boost/version.hpp | sed 's/.*"\(.*\)".*/\1/')
++ fi
+ # e.g. "134" for 1_34_1 or "135" for 1_35
+ boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
+ case $boost_major_version in #(
diff --git a/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild b/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild
index 4825810f5604..9d8e94968f46 100644
--- a/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -39,6 +39,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-0.3.7-slibtool.patch #913723
+ "${FILESDIR}"/${PN}-0.3.7-fix-boost-detection.patch #919349
)
src_prepare() {
diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest
index 785c44b9a267..1bd829be3da5 100644
--- a/media-libs/libtgvoip/Manifest
+++ b/media-libs/libtgvoip/Manifest
@@ -1,5 +1,3 @@
-DIST libtgvoip-2.4.4_p20221208.tar.gz 1098020 BLAKE2B 6f1eae38e4396ca3b88ab4337176a6076d5f9008b2a865cd286265a9b73d83d44c2cc6828b65dcb580a897a19badeab502395e2128a15c276ae796ac1ab0da68 SHA512 62243629890b1c13f1dbbffae4f82964a0fe23d2071852730674ccbef31126c6e205cfa526f07ba1549ef8eae31e371fb4335ce5f95fd649560bee2b3b530e64
DIST libtgvoip-2.4.4_p20240706.tar.gz 1089879 BLAKE2B 0b0b83d4c43b18ab6af0cfd2795887180c4cb89d2b4ca22680a472e61c4908a4d2634fcb14677702bc9dc10e0df8d61029e0d361aa53303940cfbec36516afee SHA512 80d09c3e2a02461a2e71855ef086d453c4a95829c8183c7768f390bef82ab2124a3059931a043704e010d5e9ca512ee3001eb054dd3903f84ab51970e52e2ef4
-EBUILD libtgvoip-2.4.4_p20221208-r1.ebuild 1590 BLAKE2B acd78346ce651d81b37c5aa9aebdef2fc0aa08d11279f948a28bad7488542c4e4911ef462a90e03f7064de3f27b7a42faf96d5a1be36154bfb74609efbc7535e SHA512 58dad0923ce053873c4a16e67871d4bd35ec1ae1833d1dc3792fbb480e7829c09ca8797c39e5b8e2e28513db42e82e9de51a1e4d7082b18806c622b9fb8f6a3a
EBUILD libtgvoip-2.4.4_p20240706.ebuild 1590 BLAKE2B 090db21bd07e7f4c3ded7f8d8d16ebbfeabbb584f28df8f1435dfecdea0f34e4980ce66830e57074c54933b3adfc146641aff7ab4a23c5bf5ab749b77e88964a SHA512 d8505e3e189fb892cde264c31b4db0db474f3c0423fb55de88c58d4652351bd34f360886aec641058662ba1372b766d421f9b3214233961c24d26fe35b6a7102
MISC metadata.xml 633 BLAKE2B 53413d3bf4124e2d415bd0851deac01649bdf5f44069805a8e8904b93a0ad731df46169813955670aafedb6630a6fe7102b5954339df59435aafa6a6a35bd954 SHA512 96a69dcfd9e0b615fefb8ea9a8715ad2a2d4c62ce59e725434de3fe42889bb93c2b4ac1fbd2d20a23be62c9a59ca70e93f883247a83f344ff9abde2970cd4e50
diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20221208-r1.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20221208-r1.ebuild
deleted file mode 100644
index 77f3eb6081f8..000000000000
--- a/media-libs/libtgvoip/libtgvoip-2.4.4_p20221208-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic autotools
-
-DESCRIPTION="VoIP library for Telegram clients"
-HOMEPAGE="https://github.com/telegramdesktop/libtgvoip"
-
-LIBTGVOIP_COMMIT="0ffe2e51bfe14b533b860002f1c2e87e5f8c00c0"
-SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${LIBTGVOIP_COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${LIBTGVOIP_COMMIT}"
-
-LICENSE="Unlicense"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv"
-IUSE="+dsp +alsa pulseaudio"
-
-DEPEND="
- dev-libs/openssl:=
- media-libs/opus
- alsa? ( media-libs/alsa-lib )
- dsp? ( media-libs/tg_owt:= )
- pulseaudio? ( media-libs/libpulse )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-REQUIRED_USE="
- || ( alsa pulseaudio )
-"
-
-src_prepare() {
- # Will be controlled by us
- sed -i -e '/^CFLAGS += -DTGVOIP_NO_DSP/d' Makefile.am || die
- # https://bugs.gentoo.org/717210
- echo 'libtgvoip_la_LIBTOOLFLAGS = --tag=CXX' >> Makefile.am || die
- default
- eautoreconf
-}
-
-src_configure() {
- # Not using the CMake build despite being the preferred one, because
- # it's lacking relevant configure options.
- local myconf=(
- --disable-dsp # WebRTC is linked from tg_owt
- $(use_with alsa)
- $(use_with pulseaudio pulse)
- )
- if use dsp; then
- append-cppflags "-I${ESYSROOT}/usr/include/tg_owt"
- append-cppflags "-I${ESYSROOT}/usr/include/tg_owt/third_party/abseil-cpp"
- append-libs '-ltg_owt'
- else
- append-cppflags '-DTGVOIP_NO_DSP'
- fi
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
-}
diff --git a/media-libs/oidn/Manifest b/media-libs/oidn/Manifest
index ea67ee70bf1d..3455fa0706b2 100644
--- a/media-libs/oidn/Manifest
+++ b/media-libs/oidn/Manifest
@@ -9,5 +9,5 @@ EBUILD oidn-1.4.2.ebuild 707 BLAKE2B c8c98d1a61c78ae0524100200c9eb02c5d700e6afe0
EBUILD oidn-1.4.3.ebuild 709 BLAKE2B 83d6551d7c82d920a8339ff43a7ec966e4cd0179b5c0077624b889b600e9123de4cbb690003fffceed311928c333059c22e8f5e397c20763bdfeac47a2f32843 SHA512 90bcc6567182303fc1d15aee57784538e784c5eaae4c80abbc6d0d195162ffb9dd0b0dcfdd05bacea5895df060cd3946d34de2d01ae3f76dfdcc6cc80476d5f3
EBUILD oidn-2.1.0.ebuild 1745 BLAKE2B 623facc91063e88b56fdc80546e9b1b233a9b245f2441ba20277d11a11959d27a2d5277848530231b26b5b91cd583a43ac3c3a26bc9434678192510ece924ba5 SHA512 42ce153e58919b7addc88adacc11c30c8b7de2813b9f5d6a15dbdfa9b31b2ac39b097077a598bd2f7b2bc693892d64e8111e93e5de30cea39a712fdea1c87a17
EBUILD oidn-2.2.2.ebuild 2277 BLAKE2B c9140389f08f3999910370bf7f9cd7565619d2700bfc85f057faa2c1cbe6d81c37c2344b9b8ec7ad52e342c3ff57e2d1e1e721fe75afc43918bdb2725e80254c SHA512 6f7262dcacdf3df56ce830a54d6e7b736bf4d92c2944c413fb60e09cd33bde52865d51ead411ce212eeb4e358b3b15b3d1e151c613a68c0070b4a91ae9cd57e6
-EBUILD oidn-2.3.0.ebuild 2278 BLAKE2B 3189679d919924ac6b97276a5743745b6873abce4e2e1ff9f96048eccfe03482c2fb6059e84010bcf95d3ec8743dfb9ef228c1e759d8279112c299bc3a97440a SHA512 722e022dfc52490e28b887daaaae797e0e5a1040464ffed12cc0bd2549a248cb03d3c1adb95a05c3149256ba22664782a53360a50b7efad6249a17e5775bbf35
+EBUILD oidn-2.3.0.ebuild 2277 BLAKE2B 6a27a507d881e6f6f33b0e8a8d4f9d2d9aa83a1e091675e7c1aa86749581dea4e0476b33b25431adc75e8ebd106456429190644a79dd70395b74c1d338ca3407 SHA512 db8527cec3d16e5e67b49e80d7ff0bfcd9f23223efa1e917e6b004e839f42ba80b307885243e14b43991bec42475f6ccc22e5b969078c1c9457d2901675293a1
MISC metadata.xml 995 BLAKE2B e4acf06e236b5d7497d7e19f20ccc961ea25da8dc3180d51ff76decd6f92cf4c927d6dbf96876ed47cb02e2ad7a42aa2571aa98d65e6b90afbe8a8142a3f090b SHA512 7f3b6cce23de7b0aade535b1fe1cb5af8bf622347731837e87cebcf28471a782825a599be79bf96bb69cd1ce5d36c9a9531d51cde1267cfc86453f94beb70d34
diff --git a/media-libs/oidn/oidn-2.3.0.ebuild b/media-libs/oidn/oidn-2.3.0.ebuild
index ab3c94b0c162..7df9eab58658 100644
--- a/media-libs/oidn/oidn-2.3.0.ebuild
+++ b/media-libs/oidn/oidn-2.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ if [[ ${PV} = *9999 ]]; then
inherit git-r3
else
SRC_URI="https://github.com/RenderKit/${PN}/releases/download/v${PV}/${P}.src.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
fi
LICENSE="Apache-2.0"
diff --git a/media-libs/opencolorio/Manifest b/media-libs/opencolorio/Manifest
index ef39f51a5aea..ed1269823de5 100644
--- a/media-libs/opencolorio/Manifest
+++ b/media-libs/opencolorio/Manifest
@@ -1,13 +1,7 @@
-AUX opencolorio-2.1.1-gcc12.patch 421 BLAKE2B 9a16bf4f0fbf1a2fc277a46b547339415de07c07093f45fd7f4f445735f2c7bda437f75b5f7b30e72fd522af97e4995887312b7828d954ff4bc8a179f476f2c3 SHA512 1738924260ee3abf556207f3323c8cc45e3e5f9210ff46b8b1e9ac1766c39ac06cc50a61d0c77bdf10a318405f6f5dda84d15f4c004be950dce40e2dd3087f2b
-AUX opencolorio-2.1.2-musl-strtol.patch 1041 BLAKE2B 58384b1a2a6e2778219909aaabe95061f0348ea7302cf97f85f417b709511b250cec578b8c3d85f2b0c1d35a469c4ddde932cc0ee1040daec8664141e9c1df4e SHA512 d268ac0c55ff6dcf5e1756a65c0593e39b2a7b86ccb913d5cbeaf6877465b537592bd903187a4183ae69c96b3c420ac1bcdf2175ff2071339eaaeed49bb6f52e
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.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.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
+DIST opencolorio-2.4.1.tar.gz 11386201 BLAKE2B b56df7d708dbd8e0b46e9e56ea779614b99412d052372d29b9e2b4c8188bc303f19f3f04ba3e40249fff08e1aa1d5924003757b2944cad3cc7c8b18ba33f8f98 SHA512 dfa616e79da13016d7c0f007a4ad77f793241a7eac18baf65272b5edf8c61f49423a8e0f9f29be170b396014f6b9f4f2789330a5a7608c7c78e858eab622fd4c
EBUILD opencolorio-2.3.2.ebuild 4876 BLAKE2B ba39476309537862701e5cc96d4a62ee2b4a02e42165fbe9865aabd94ef24b6de174e9b55f0b313e13757ba6f79fa63aefbdb785effc3daf8001c8d8680255c6 SHA512 fdbcd63ad2e0185a0b430c193b73b27df8b5ecc4628d939244d2e386afbc77121da1ffa274a71d06f19af8c74bb2df061607eb170e05eda36b5d44da4bffde83
+EBUILD opencolorio-2.4.1.ebuild 4877 BLAKE2B 593dc81e123a6e4dd2a70b714db5a45122f4fc77713267cb1069251e41a40ee29f547f4a6c48b0883c28e499c1ab5d55b906aebbcd2259674622b4b2c8b2ce25 SHA512 62e74a844d7b9a0941040bd1088e58592200e4ffcaa962c202f2031126b4b1c9ab0b5541b28e21b034aaaacd70126a24f239ea8e51bb21c80274a26e333c12f3
MISC metadata.xml 792 BLAKE2B 6b94c1223e756ef3179ab3442c134bf7881400434332691bc693a36c8bceb4db609dd143afb6a18192c7bfaa9ccb72015c215e08b3bd65fbdb3ccc2fb3ff713d SHA512 c1b3d44b5ce24813b3e07074ba2fe40c3af89033dfbe5a372b130be26fcfeba9fa9c2a0d9e6a695972dc402979aa732df27fd3c6128a8f3a51fe926ecb73cb25
diff --git a/media-libs/opencolorio/files/opencolorio-2.1.1-gcc12.patch b/media-libs/opencolorio/files/opencolorio-2.1.1-gcc12.patch
deleted file mode 100644
index 0bf00862e51b..000000000000
--- a/media-libs/opencolorio/files/opencolorio-2.1.1-gcc12.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://src.fedoraproject.org/rpms/OpenColorIO/raw/rawhide/f/OCIO-strlen.patch
-https://github.com/AcademySoftwareFoundation/OpenColorIO/commit/4fa94918c2cf572dcaf61ca07016f3b5c231c14c
-https://bugs.gentoo.org/841479
---- a/src/OpenColorIO/FileRules.cpp
-+++ b/src/OpenColorIO/FileRules.cpp
-@@ -3,6 +3,7 @@
-
- #include <algorithm>
- #include <cctype>
-+#include <cstring>
- #include <map>
- #include <regex>
- #include <sstream>
-
diff --git a/media-libs/opencolorio/files/opencolorio-2.1.2-musl-strtol.patch b/media-libs/opencolorio/files/opencolorio-2.1.2-musl-strtol.patch
deleted file mode 100644
index 87059614ff03..000000000000
--- a/media-libs/opencolorio/files/opencolorio-2.1.2-musl-strtol.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-# Fix strtol_l missing on musl. On musl libc use strtol
-# Taken from Alpine Linux, please refer:
-# https://git.alpinelinux.org/aports/tree/community/opencolorio/0002-fix-strtol.patch?id=dd7ba461824ab0618f0493cbb450b221fdc2513c
-# Please refer: https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1624
---- a/src/utils/NumberUtils.h
-+++ b/src/utils/NumberUtils.h
-@@ -68,7 +68,7 @@ really_inline from_chars_result from_chars(const char *first, const char *last,
- tempval = ::strtod_l(first, &endptr, loc.local);
- #endif
-
-- if (errno != 0)
-+ if (errno != 0 && errno != EINVAL)
- {
- return {first + (endptr - first), std::errc::result_out_of_range};
- }
-@@ -139,8 +139,10 @@ really_inline from_chars_result from_chars(const char *first, const char *last,
- long int
- #ifdef _WIN32
- tempval = _strtol_l(first, &endptr, 0, loc.local);
--#else
-+#elif defined(__GLIBC__)
- tempval = ::strtol_l(first, &endptr, 0, loc.local);
-+#else
-+ tempval = ::strtol(first, &endptr, 0);
- #endif
-
- if (errno != 0)
diff --git a/media-libs/opencolorio/files/opencolorio-2.2.1-support-doxygen-1.9.7.patch b/media-libs/opencolorio/files/opencolorio-2.2.1-support-doxygen-1.9.7.patch
deleted file mode 100644
index b3b4db802e96..000000000000
--- a/media-libs/opencolorio/files/opencolorio-2.2.1-support-doxygen-1.9.7.patch
+++ /dev/null
@@ -1,184 +0,0 @@
-https://github.com/AcademySoftwareFoundation/OpenColorIO/commit/94da59daeb4647faa9b134665ad156f37cfa021d
-
-From 94da59daeb4647faa9b134665ad156f37cfa021d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?R=C3=A9mi=20Achard?= <remiachard@gmail.com>
-Date: Tue, 30 May 2023 19:33:25 +0100
-Subject: [PATCH] Fix documentation build on Doxygen 1.9.7
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Rémi Achard <remiachard@gmail.com>
----
- include/OpenColorIO/OpenColorIO.h | 29 ++++++----------------------
- include/OpenColorIO/OpenColorTypes.h | 25 +++++-------------------
- 2 files changed, 11 insertions(+), 43 deletions(-)
-
-diff --git a/include/OpenColorIO/OpenColorIO.h b/include/OpenColorIO/OpenColorIO.h
-index 313b9c631..1352771ff 100644
---- a/include/OpenColorIO/OpenColorIO.h
-+++ b/include/OpenColorIO/OpenColorIO.h
-@@ -733,11 +733,8 @@ class OCIOEXPORT Config
- const char * getRoleColorSpace(const char * roleName) const noexcept;
-
- /**
-- * \defgroup Methods related to displays and views.
-- * @{
-- */
--
-- /**
-+ * Methods related to displays and views.
-+ *
- * The following methods only manipulate active displays and views. Active
- * displays and views are defined from an env. variable or from the config file.
- *
-@@ -854,11 +851,8 @@ class OCIOEXPORT Config
- /// Clear all the displays.
- void clearDisplays();
-
-- /** @} */
--
- /**
-- * \defgroup Methods related to the Virtual Display.
-- * @{
-+ * Methods related to the Virtual Display.
- *
- * ... (See descriptions for the non-virtual methods above.)
- *
-@@ -938,8 +932,6 @@ class OCIOEXPORT Config
- */
- int instantiateDisplayFromICCProfile(const char * ICCProfileFilepath);
-
-- /** @} */
--
- /**
- * \brief
- *
-@@ -1087,8 +1079,7 @@ class OCIOEXPORT Config
- void clearViewTransforms();
-
- /**
-- * \defgroup Methods related to named transforms.
-- * @{
-+ * Methods related to named transforms.
- */
-
- /**
-@@ -1131,8 +1122,6 @@ class OCIOEXPORT Config
- /// Clear all named transforms.
- void clearNamedTransforms();
-
-- /** @} */
--
- //
- // File Rules
- //
-@@ -2051,8 +2040,7 @@ class OCIOEXPORT ColorSpaceSet
- const Impl * getImpl() const { return m_impl; }
- };
-
--/** \defgroup ColorSpaceSetOperators
-- * @{
-+/** ColorSpaceSetOperators
- */
-
- /**
-@@ -2092,8 +2080,6 @@ extern OCIOEXPORT ConstColorSpaceSetRcPtr operator&&(const ConstColorSpaceSetRcP
- extern OCIOEXPORT ConstColorSpaceSetRcPtr operator-(const ConstColorSpaceSetRcPtr & lcss,
- const ConstColorSpaceSetRcPtr & rcss);
-
--/** @}*/
--
-
- //
- // Look
-@@ -3669,8 +3655,7 @@ class OCIOEXPORT SystemMonitors
- virtual bool isSupported() const noexcept = 0;
-
- /**
-- * \defgroup Methods to access some information of the attached and active monitors.
-- * @{
-+ * Methods to access some information of the attached and active monitors.
- */
-
- /// Get the number of active monitors reported by the operating system.
-@@ -3687,8 +3672,6 @@ class OCIOEXPORT SystemMonitors
- /// Get the ICC profile path associated to the monitor.
- virtual const char * getProfileFilepath(size_t idx) const = 0;
-
-- /** @} */
--
- protected:
- SystemMonitors() = default;
- virtual ~SystemMonitors() = default;
-diff --git a/include/OpenColorIO/OpenColorTypes.h b/include/OpenColorIO/OpenColorTypes.h
-index c400568ea..0df8310e9 100644
---- a/include/OpenColorIO/OpenColorTypes.h
-+++ b/include/OpenColorIO/OpenColorTypes.h
-@@ -726,8 +726,7 @@ extern OCIOEXPORT ExposureContrastStyle ExposureContrastStyleFromString(const ch
- extern OCIOEXPORT const char * NegativeStyleToString(NegativeStyle style);
- extern OCIOEXPORT NegativeStyle NegativeStyleFromString(const char * style);
-
--/** \defgroup Env. variables.
-- * @{
-+/** Env. variables.
- *
- * These environmental variables are used by the OpenColorIO library.
- * For variables that allow specifying more than one token, they should be separated by commas.
-@@ -776,10 +775,7 @@ extern OCIOEXPORT const char * OCIO_OPTIMIZATION_FLAGS_ENVVAR;
- */
- extern OCIOEXPORT const char * OCIO_USER_CATEGORIES_ENVVAR;
-
--/** @}*/
--
--/** \defgroup VarsRoles
-- * @{
-+/** VarsRoles
- */
-
- // TODO: Move to .rst
-@@ -852,10 +848,7 @@ extern OCIOEXPORT const char * ROLE_INTERCHANGE_SCENE;
- */
- extern OCIOEXPORT const char * ROLE_INTERCHANGE_DISPLAY;
-
--/** @}*/
--
--/** \defgroup VarsSharedView
-- * @{
-+/** VarsSharedView
- */
-
- /*!rst::
-@@ -870,10 +863,7 @@ Shared View
- */
- extern OCIOEXPORT const char * OCIO_VIEW_USE_DISPLAY_NAME;
-
--/** @}*/
--
--/** \defgroup VarsFormatMetadata
-- * @{
-+/** VarsFormatMetadata
- */
-
- // TODO: Move to .rst
-@@ -929,10 +919,7 @@ extern OCIOEXPORT const char * METADATA_NAME;
- */
- extern OCIOEXPORT const char * METADATA_ID;
-
--/** @}*/
--
--/** \defgroup VarsCaches
-- * @{
-+/** VarsCaches
- */
-
- /*!rst::
-@@ -963,8 +950,6 @@ extern OCIOEXPORT const char * OCIO_DISABLE_PROCESSOR_CACHES;
- // variable to disable the fallback.
- extern OCIOEXPORT const char * OCIO_DISABLE_CACHE_FALLBACK;
-
--/** @}*/
--
-
- // Archive config feature
- // Default filename (with extension) of an config.
diff --git a/media-libs/opencolorio/files/opencolorio-2.2.1-support-minizip-ng-4.patch b/media-libs/opencolorio/files/opencolorio-2.2.1-support-minizip-ng-4.patch
deleted file mode 100644
index 8ee4ceaf9970..000000000000
--- a/media-libs/opencolorio/files/opencolorio-2.2.1-support-minizip-ng-4.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-# From https://github.com/AcademySoftwareFoundation/OpenColorIO/pull/1806
-From d15ccddd4d20d66749577d7444de861112f6864c Mon Sep 17 00:00:00 2001
-From: Brad Smith <brad@comstyle.com>
-Date: Thu, 29 Jun 2023 09:57:28 -0400
-Subject: [PATCH] Add support for minizip-ng 4 API
-
-Signed-off-by: Brad Smith <brad@comstyle.com>
----
- src/OpenColorIO/OCIOZArchive.cpp | 22 +++++++++++++++++++++-
- src/apps/ocioarchive/main.cpp | 4 ++++
- 2 files changed, 25 insertions(+), 1 deletion(-)
-
-diff --git a/src/OpenColorIO/OCIOZArchive.cpp b/src/OpenColorIO/OCIOZArchive.cpp
-index 85fc7bb76..24d836e95 100644
---- a/src/OpenColorIO/OCIOZArchive.cpp
-+++ b/src/OpenColorIO/OCIOZArchive.cpp
-@@ -225,7 +225,11 @@ void archiveConfig(std::ostream & ostream, const Config & config, const char * c
- std::string configStr = ss.str();
-
- // Write zip to memory stream.
-+#if MZ_VERSION_BUILD >= 040000
-+ write_mem_stream = mz_stream_mem_create();
-+#else
- mz_stream_mem_create(&write_mem_stream);
-+#endif
- mz_stream_mem_set_grow_size(write_mem_stream, 128 * 1024);
- mz_stream_open(write_mem_stream, NULL, MZ_OPEN_MODE_CREATE);
-
-@@ -237,7 +241,11 @@ void archiveConfig(std::ostream & ostream, const Config & config, const char * c
- options.compress_level = ArchiveCompressionLevels::BEST;
-
- // Create the writer handle.
-+#if MZ_VERSION_BUILD >= 040000
-+ archiver = mz_zip_writer_create();
-+#else
- mz_zip_writer_create(&archiver);
-+#endif
-
- // Archive options.
- // Compression method
-@@ -332,7 +340,11 @@ void ExtractOCIOZArchive(const char * archivePath, const char * destination)
- std::string outputDestination = pystring::os::path::normpath(destination);
-
- // Create zip reader.
-+#if MZ_VERSION_BUILD >= 040000
-+ extracter = mz_zip_reader_create();
-+#else
- mz_zip_reader_create(&extracter);
-+#endif
-
- MinizipNgHandlerGuard extracterGuard(extracter, false, false);
-
-@@ -450,7 +462,11 @@ std::vector<uint8_t> getFileStringFromArchiveFile(const std::string & filepath,
- std::vector<uint8_t> buffer;
-
- // Create the reader object.
-+#if MZ_VERSION_BUILD >= 040000
-+ reader = mz_zip_reader_create();
-+#else
- mz_zip_reader_create(&reader);
-+#endif
-
- MinizipNgHandlerGuard extracterGuard(reader, false, true);
-
-@@ -510,7 +526,11 @@ void getEntriesMappingFromArchiveFile(const std::string & archivePath,
- void *reader = NULL;
-
- // Create the reader object.
-+#if MZ_VERSION_BUILD >= 040000
-+ reader = mz_zip_reader_create();
-+#else
- mz_zip_reader_create(&reader);
-+#endif
-
- MinizipNgHandlerGuard extracterGuard(reader, false, false);
-
-diff --git a/src/apps/ocioarchive/main.cpp b/src/apps/ocioarchive/main.cpp
-index 190cadee5..68054a6da 100644
---- a/src/apps/ocioarchive/main.cpp
-+++ b/src/apps/ocioarchive/main.cpp
-@@ -235,7 +235,11 @@ int main(int argc, const char **argv)
- }
-
- std::string path = args[0];
-+#if MZ_VERSION_BUILD >= 040000
-+ reader = mz_zip_reader_create();
-+#else
- mz_zip_reader_create(&reader);
-+#endif
- struct tm tmu_date;
-
- err = mz_zip_reader_open_file(reader, path.c_str());
diff --git a/media-libs/opencolorio/opencolorio-2.1.3.ebuild b/media-libs/opencolorio/opencolorio-2.1.3.ebuild
deleted file mode 100644
index 93f7922f06b6..000000000000
--- a/media-libs/opencolorio/opencolorio-2.1.3.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit cmake flag-o-matic python-single-r1
-
-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"
-# TODO: drop .1 on next SONAME bump (2.1 -> 2.2?) as we needed to nudge it
-# to force rebuild of consumers due to changing to openexr 3 changing API.
-SLOT="0/$(ver_cut 1-2).1"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv"
-IUSE="cpu_flags_x86_sse2 doc opengl python test"
-REQUIRED_USE="
- doc? ( python )
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-# Restricting tests, bugs #439790 and #447908
-RESTRICT="test"
-
-# Works with older OIIO but need to force a version w/ OpenEXR 3
-RDEPEND="
- dev-cpp/pystring
- dev-python/pybind11
- <dev-cpp/yaml-cpp-0.8.0:=
- >=dev-libs/imath-3.1.4-r2:=
- dev-libs/tinyxml
- opengl? (
- media-libs/lcms:2
- >=media-libs/openimageio-2.3.12.0-r3:=
- media-libs/glew:=
- media-libs/freeglut
- virtual/opengl
- )
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- doc? (
- $(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/testresources[${PYTHON_USEDEP}]
- ')
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.1.1-gcc12.patch
- "${FILESDIR}"/${PN}-2.1.2-musl-strtol.patch
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- sed -i -e "s|LIBRARY DESTINATION lib|LIBRARY DESTINATION $(get_libdir)|g" {,src/bindings/python/,src/OpenColorIO/,src/libutils/oiiohelpers/,src/libutils/oglapphelpers/}CMakeLists.txt || die
- sed -i -e "s|ARCHIVE DESTINATION lib|ARCHIVE DESTINATION $(get_libdir)|g" {,src/bindings/python/,src/OpenColorIO/,src/libutils/oiiohelpers/,src/libutils/oglapphelpers/}CMakeLists.txt || die
-
- # 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 is required for building ociodisplay and ocioconvert (USE opengl)
- # - OpenGL, GLUT and GLEW is required for building ociodisplay (USE opengl)
- local mycmakeargs=(
- -DOCIO_USE_OPENEXR_HALF=OFF
- -DOCIO_BUILD_DOCS=$(usex doc)
- -DOCIO_BUILD_APPS=$(usex opengl)
- -DOCIO_BUILD_PYTHON=$(usex python)
- -DOCIO_PYTHON_VERSION="${EPYTHON/python/}"
- -DOCIO_BUILD_JAVA=OFF
- -DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2)
- -DOCIO_BUILD_TESTS=$(usex test)
- -DOCIO_BUILD_GPU_TESTS=$(usex test)
- -DOCIO_BUILD_FROZEN_DOCS=$(usex doc)
- -DOCIO_INSTALL_EXT_PACKAGES=NONE
- )
-
- # We need this to work around asserts that can trigger even in proper use cases.
- # See https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1235
- append-flags -DNDEBUG
-
- cmake_src_configure
-}
diff --git a/media-libs/opencolorio/opencolorio-2.2.1.ebuild b/media-libs/opencolorio/opencolorio-2.4.1.ebuild
index df00e5138051..86d1cc4b9e7f 100644
--- a/media-libs/opencolorio/opencolorio-2.2.1.ebuild
+++ b/media-libs/opencolorio/opencolorio-2.4.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit cmake python-single-r1 virtualx
@@ -17,7 +17,12 @@ SLOT="0/$(ver_cut 1-2)"
# minizip-ng: ~arm ~arm64 ~ppc64 ~riscv
# osl: ~riscv
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="apps cpu_flags_x86_sse2 doc opengl python test"
+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 )
@@ -28,7 +33,7 @@ REQUIRED_USE="
RDEPEND="
dev-cpp/pystring
- <dev-cpp/yaml-cpp-0.8.0:=
+ >=dev-cpp/yaml-cpp-0.7.0:=
dev-libs/expat
>=dev-libs/imath-3.1.5:=
sys-libs/minizip-ng
@@ -77,12 +82,15 @@ BDEPEND="
# "
# Restricting tests, bugs #439790 and #447908
-RESTRICT="!test? ( test )"
+# compares floating point numbers for bit equality
+# compares floating point number string representations for equality
+# https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1361 Apr 4, 2021
+# https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1784 Apr 3, 2023
+RESTRICT="test" #"!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-2.2.1-adjust-python-installation.patch"
- "${FILESDIR}/${PN}-2.2.1-support-minizip-ng-4.patch"
- "${FILESDIR}/${PN}-${PV}-support-doxygen-1.9.7.patch"
+ "${FILESDIR}/${PN}-2.3.2-include-cstdint.patch"
)
pkg_setup() {
@@ -106,26 +114,57 @@ src_configure() {
# 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
- -DOCIO_USE_OIIO_CMAKE_CONFIG=ON
- -DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2)
+ "-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)
+ "-DOCIO_PYTHON_VERSION=${EPYTHON/python/}"
+ "-DPython_EXECUTABLE=${PYTHON}"
+ "-DPYTHON_VARIANT_PATH=$(python_get_sitedir)"
)
cmake_src_configure
}
+src_test() {
+ local myctestargs=(
+ -j1
+ )
+ virtx cmake_src_test
+}
+
src_install() {
cmake_src_install
@@ -135,7 +174,3 @@ src_install() {
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 bed46283f0c0..5e2cf57970e6 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,5 +1,7 @@
AUX openexr-3.2.1-bintests-iff-utils.patch 399 BLAKE2B b2ba76b0fe8430cb6275bd7520ce307b8f44f642efaa90c36cea03c34b0b5d6e93cc4bc81cc30b662c3d58941696f87c76604dfd614742051e8a6be7af3115e7 SHA512 58deaacc1e81c46cccfa4190498cfbf964e1fcfef384d73f86b8b18e8348886579385f292317588f64f0f6fd1ef062465ed6253d7c7d672bdb49b1e43f8addc7
DIST openexr-3.2.4.tar.gz 18856440 BLAKE2B f29910b2e36808b741860bf603571f607ca929672b3c5b9de7c7c16242f2a38d02627614c10e7b01a8cfd8804923636eb0dfe2c798ec3ff63252dd20e3f8e535 SHA512 ecc3d8b206bda5e5897ac9cd797a8432b76981de10d49cbb107af2b4108c22186de0dda25a9a43b07e18d641ef71508445d95f659a4ca932e029d48ee029a492
+DIST openexr-3.3.2.tar.gz 21324765 BLAKE2B 82e67953b75da0d27347260099ccae249f5b1946b78eccc383e9278f57565ed5cb9f0fa17385f0c5cdb3815d647197be3661372f9896e10596a8723ea3d8414b SHA512 0c43337fda2979b328202488a43711afb5d680781c933aa0d74970a3dcda1135fbd01228cb10e81e4628c0d19da2d3e5b781e147d609cdc8a796d2a51a90932f
DIST openexr-images-1.0.tar.gz 252222962 BLAKE2B d57c458dfbd1b08c964429022b6e08a3309bf11cbd43c64e271ebc620dae6dbe70636e5221f47dabd7fe2aa0806f2cf3f3c9b3f55fd7f45b0a34f3e62b6029e7 SHA512 c1c83a26cd326d0fcda824daccb0044abad46f29e1bd2ceb1c38bc62b3e71f0aeef126dddc4517eb1cb9f7c9d0fe234276a48a754bdb7c7823e9aee459d8670a
EBUILD openexr-3.2.4-r2.ebuild 3582 BLAKE2B 9bfe1420f27548dce47a3fe3ba7b98694fcaf07b541277bc4542954ed2416550335fa9d1c6c3dc3c89ee016b6e9da9943ebe9a1b258c91bd25537bdc07a2b971 SHA512 1d76eb16ec764bc579008a3568d7292fa317f8753ed439856c126232e268f7b2b72334686f3b4e8b6298ff6e5e4fa0fa9e4873d5854b4aadd14dac9be47ffab2
+EBUILD openexr-3.3.2.ebuild 3585 BLAKE2B 3d02f1d220628aed099a65dc32e6081b04e4d17c1500c07bb7a6a32add2bba0d86e4a4712f3e8e795316b8048909845c0e1ce5c4494f17a81c5755eccbf9a750 SHA512 960760c5866b8dbf5fa2a1b27a6a3055f547c77f7d08a0e4385a1631b866bf7722920e8ecdc45daa0d3b2b306ac2ef6f9a3ef6b01d12201e93c600900d1eeddc
MISC metadata.xml 798 BLAKE2B d780a0ead28144e6031fedeed720d1cd79bfa8ab54a1f9d2a99324ac6db4948cf25ebf73abd630d7e697b8578ef5b6442679ce05d1949784fb8a17ed2a6fb9a1 SHA512 5c9d837a72b41c0d8463ffadd639fde0c9dc620abf4b51ef7718efed5d94a12a336d85f10d65e2fbffd3d4c59fe12a09e71f42f68d081917f4d7f1aba24de893
diff --git a/media-libs/openexr/openexr-3.3.2.ebuild b/media-libs/openexr/openexr-3.3.2.ebuild
new file mode 100644
index 000000000000..d6ecc839d9a0
--- /dev/null
+++ b/media-libs/openexr/openexr-3.3.2.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2025 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/openimageio/Manifest b/media-libs/openimageio/Manifest
index 58d6928ac2a8..c95dabf0dd07 100644
--- a/media-libs/openimageio/Manifest
+++ b/media-libs/openimageio/Manifest
@@ -1,6 +1,7 @@
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.18.0-tests-optional.patch 1324 BLAKE2B 8a311b25f132c811ae2448cae356576a6a471ac21ca0f1fa3b96dbb00a3b0be7ca577176c43b8958cb9242e7cab069089bb20d688365bf30df0ee3042ead39e6 SHA512 bd9f2b19f23ba258d6d0f8daca9cf113fd4582cb776898acd1e7a056e57f57d71917c6e0fad187a345fc2c660a650a2c815e6355fdc12ff10bcbe871c0abd592
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,8 +11,11 @@ DIST file003.fits 581760 BLAKE2B 35d77c64ff9e25f34593ea41839a4f7712dc344d12ab2c0
DIST file009.fits 25920 BLAKE2B 594061eba4d48da8cbfee58ab592a0adb5a22d681228330e84f60304e5146a8856e9c65b763d6d8e2136217ebe85d92128318cccfcf6358c7bc767232c6382c9 SHA512 57d53622854399aed96efbeff78e700990b2fc63c4dbd1bc9ac58c7670af98d528db2f1a3e9de4e74b977f8318109b465b46423bbac36bf2bf34a1e33e7dcdb8
DIST file012.fits 1019520 BLAKE2B e86d9e0004ca159d9a5ae0585776db65c7dd49162cb5dbd8b511686244950e33746d8a41f60b5ba8fcea220194fa87e16235adb7ccc0b4fb4b0a61e6c5c376a8 SHA512 45439544da478b24ccbcf14dc9a651aa8ecbce29b9992204d85c1eee42bc88b68802ec57bc148510da1e062de95ee53dd5c64c9bfa2e0b6cdfd945a78d1fc76a
DIST openimageio-2.5.13.1.tar.gz 52538869 BLAKE2B ceba0bde73cbf2b5b7b243fa1dc4806aece881c37775418c3305d5e5665e1c249219cad2c7b0d9d4acd5955897dc13dfb94e4627e9ae866e6400559b99e7021a SHA512 3c9eb9a361464e73fae518b704438bbf409c846031f05026d8b9ace91431819ac80674130ccd2300deb9756ae26e150bf5c0a866be3f3fb65bdfba0ba60395ab
+DIST openimageio-2.5.18.0.tar.gz 52549475 BLAKE2B 8a3f61f6089b304202e829a28946ec8c0bc84e05e61b84dd39f1e036614faab005619962c0217248208e133595f55fa8ffea1d931710a88eff8208b8c36fa2ae SHA512 ab6ef20fe099c19ec8cce1308890e76ec82c4bcdc1d5a2ead8c44f04593c060e819fededb958b7f36ccd0118b1aae9b1c5e12b442f7e066e940b4e32d378f7d9
+DIST openimageio-oexr-test-image-d45a2d5a890d6963b94479c7a644440068c37dd2.tar.gz 263237088 BLAKE2B 9445464b6d75d4800b843bd4a4f88404f587ca4ed384a0c1d428d5a249c04af0c610a95660aac5edff22c003c067e3a907d4a0896d7cfb20731cb486e436f17d SHA512 bbfd8e40eedd26955bc97789bfdfd556ee9ed652babc1c9c60c3cda6e5cab05a0a813323f25bc536132498a2bf3185a07020cd1170c047b72973e2be3e10fe19
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-7e6d875542b5bc1b2974b7cbecee115365a36527.tar.gz 143496336 BLAKE2B b08d42834f60abd14a64b442e30ec4f80f4bb8095177ffd1ba94240a4c9a3947cdd36f98cd967667e8a5d52fe490a214ad4cd58a836a4acd39bbe1a744eacb8b SHA512 f4f0612b4b3600fbb1ef30b4f196139a300f36e6a8290ee6a49fe0fa86072e2becf3d9e5f32c060b2ed04c0946848976bead62b352996fb8286f9969daf764d1
DIST tst0001.fits 43200 BLAKE2B 7d9d82fde64c3b21f8f86be6feaf9187d48c2c504c9afc0e652015512fb3d9e04c0f78596cdc9d7cc54815175549bfdf01d2d80f894cd36f4e6284aaf065dcc8 SHA512 b401accd51b56a493e2ec52fe4441e05cbefa3d03fe0e1c6834327094ab9f8e0c69a0f2cff26007ed7c7f8686a78a3a7e043d945f3a93c1b68e03668b8cbdc5c
DIST tst0003.fits 152640 BLAKE2B 74c38c9f6cd65a46eff865589bd319111187d123c90bedc80f934caf6625f20120ecb30e8f5210c7d5d6609964e63fc2c2fc59f60bf609a07f2440421f44356e SHA512 4cd9c9a96fd3a5b8daae7d6b34af4c68c965abc4cc825aaaf9f3587a43328f468595ff1cd210e9fbca365bd52bf31a70abf39b2b3966d3087dd3af40ba0781a4
DIST tst0005.fits 48960 BLAKE2B ef8bb62702f579c8500721835100e150b2ca73272866a88457589d6f14b407efb41d106be2d454089dae00c04b903bb874132d5b44852245e6d4372ed20c7b6f SHA512 515a4dbca51e5b7fa0139b369066c02fcfa96eeffb471c6f5073343ab50da527ee610d9b677e6fabdaad1b7f9f9c68bd65eb71c5b944e5ffacf429d01fe14a39
@@ -20,4 +24,5 @@ DIST tst0007.fits 8640 BLAKE2B cf6eaff174e88bbd27f642964e6b3e5502cb08742d465a7ca
DIST tst0008.fits 8640 BLAKE2B 7b4213cef2106cf0e298fce1ba3b28e74ba6ed26a2441650af297384b46c22910af8a36c2693c1c0e5aed6196561a8e4b4c75cde54541ea7a1a9d684a41f2f40 SHA512 c2dc77eb54cfc48bc97228a06e25cc5b4b2a8f32f417d5a34bb6794b020b277e144b1d5c71f09a44c94e05797c99f318de3f8705eabd22b44ac1b47fe601f918
DIST tst0013.fits 72000 BLAKE2B 6ca11cd033782adc8f359217e30752b47623c317aa155dc1bae43a0a019f7d5f9d4ba9c7349e99ee14f2d6498d5d166597606721b251b1b2dc039fbe400d00a3 SHA512 c816642e89e3bfdce38a4f755e84a12af35c9da48916abb66bcabf2f899201dfba3c988f929395092921a53a6d94922d84d325334e9bd8d348cdb305878ccb6a
EBUILD openimageio-2.5.13.1.ebuild 7975 BLAKE2B c345d6ec84a5be80facf3f659e781e262349d5f72bc21f36a527e625954de6a810b1cec328bd14076c11cd6b94149c69342a8937961d2b830500ec5e83a93708 SHA512 02394f5a5e9f81a8513ff1f6a4d70df64255183f5d27251206e8fc3b9fed1954f62d87dc03ba7827603c513396e3f0ebbe798d1d8a00b45aaf9a859440d9cf95
+EBUILD openimageio-2.5.18.0.ebuild 8146 BLAKE2B 1373fbd551dbffb0fd046d553dd111d322d9f591dfa29f1deebad43dd92f650bdc741780955cdaadf521d503c58fcdf6905258445676b5a8f3f539049d694e20 SHA512 3793af09b069f853be97a0f9aa0c4f66c1527df07a2b69086618317a37c084e82e8ab1010d44b3bfa12f3d6a38d1833db979c8d770a3409edd9885b53fd8aeec
MISC metadata.xml 956 BLAKE2B 952d23327253a49b38478eac7d1b5f14e63f0b2a25464f6b4eec8196581d1163518acd1b2bc9b9472eaa6ed41f3cc0ed806568e0fba4723697a06c82d77747b3 SHA512 d71ae07afeee0c7ba59ee0034b58150c1097050de9fca491b00b7f7031aef464efda94df9fa86b272f432b30f8d3403999a7478fef1cd47001e607f1faefeae5
diff --git a/media-libs/openimageio/files/openimageio-2.5.18.0-tests-optional.patch b/media-libs/openimageio/files/openimageio-2.5.18.0-tests-optional.patch
new file mode 100644
index 000000000000..e9fb9a4b1911
--- /dev/null
+++ b/media-libs/openimageio/files/openimageio-2.5.18.0-tests-optional.patch
@@ -0,0 +1,31 @@
+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
+@@ -271,9 +271,11 @@ macro (oiio_add_all_tests)
+ IMAGEDIR oiio-images URL "Recent checkout of OpenImageIO-images")
+ oiio_add_tests (jpeg2000
+ FOUNDVAR OPENJPEG_FOUND
++ ENABLEVAR ENABLE_OPENJPEG
+ IMAGEDIR oiio-images URL "Recent checkout of OpenImageIO-images")
+ oiio_add_tests (jpeg2000-j2kp4files
+ FOUNDVAR OPENJPEG_FOUND
++ ENABLEVAR ENABLE_OPENJPEG
+ IMAGEDIR j2kp4files_v1_5
+ URL http://www.itu.int/net/ITU-T/sigdb/speimage/ImageForm-s.aspx?val=10100803)
+ set (all_openexr_tests
+@@ -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(ENABLE_OPENJPEG)
+ oiio_get_test_data (j2kp4files_v1_5)
++ endif()
+ endfunction ()
diff --git a/media-libs/openimageio/openimageio-2.5.18.0.ebuild b/media-libs/openimageio/openimageio-2.5.18.0.ebuild
new file mode 100644
index 000000000000..a036d8cbe26c
--- /dev/null
+++ b/media-libs/openimageio/openimageio-2.5.18.0.ebuild
@@ -0,0 +1,302 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+TEST_OIIO_IMAGE_COMMIT="7e6d875542b5bc1b2974b7cbecee115365a36527"
+TEST_OEXR_IMAGE_COMMIT="d45a2d5a890d6963b94479c7a644440068c37dd2"
+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 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
+ 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-tests.patch"
+ "${FILESDIR}/${PN}-2.5.12.0-heif-find-fix.patch"
+ "${FILESDIR}/${PN}-2.5.18.0-tests-optional.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
+ ln -s "${WORKDIR}/OpenImageIO-images-${TEST_OIIO_IMAGE_COMMIT}" "${WORKDIR}/oiio-images" || die
+ ln -s "${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
+ ln -s "${DISTDIR}/${a}" "${WORKDIR}/fits-images/ftt4b/" || die
+ fi
+ if [[ "${a}" == tst*.fits ]]; then
+ ln -s "${DISTDIR}/${a}" "${WORKDIR}/fits-images/pg93/" || die
+ fi
+ done
+ fi
+
+ if use jpeg2k; then
+ ln -s "${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
+
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118077
+ if tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]]; then
+ append-flags -fno-early-inlining
+ fi
+
+ 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"
+ )
+ 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$"
+ "texture-levels-stochaniso.batch"
+ "unit_simd"
+ )
+
+ 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/openpgl/Manifest b/media-libs/openpgl/Manifest
index afe103ba0690..4b0a263b68c3 100644
--- a/media-libs/openpgl/Manifest
+++ b/media-libs/openpgl/Manifest
@@ -1,5 +1,5 @@
DIST openpgl-0.5.0.tar.gz 10767365 BLAKE2B 051b26c17300506dd20989ba9dc1aa83b0baf77c5f24650c74518ae56081b5a0ecca88c13d5d79a71cb0b6fa4a5b4841ee03e5223ec91ab16bb5655f2e52a9d7 SHA512 9b992ffa17ad6f9fcde48add5d9cc1e58be2daacd40478fb1babe0741a6c7a64f12f36c9c1f7d5ec6f79cdd847c082d39e03e58cfd9af1a903adca56f1ac19e1
DIST openpgl-0.6.0.tar.gz 10824550 BLAKE2B a08f5469cce808c51eb64a619621de31923318a230e49ababad2140d00b53d3ad688e095c4f7aba1ac6ebfd874ed1357e4a501bee5f45a826c39cddbab4fa3cd SHA512 a40161d79e9f340e631eda9dedbabd9c71fb0184c65f45e0abcb64ce53289a65b7434c11678f845f76006a0ce579c4458a39200dc8caca1c455f18739488e173
EBUILD openpgl-0.5.0-r1.ebuild 1428 BLAKE2B 35bc4d1216efd67f1d0fcbfb65f099542baae2aebc3b68615cb1c25ced4bcf2831444d20dc6df940e4202fa7291342012a19f7000335414e9ed44e2b4518bc19 SHA512 876dffd656fcf4e2b4686bcaab1e2d48b8338b8ef75c6a685ad09791d78dcac1af8718bd7a3e84fe0a2da0d4cb14c54954c3c53e28bbf624b2d336905e6ec2b3
-EBUILD openpgl-0.6.0.ebuild 1457 BLAKE2B d6cfc0f3b5a876d5323255b03e2d71cbd6dfc09b3a8fbd1adf49798e7ee6f543bfc915d85a6aa5db5a0c15aa78e6c68a0986ac3635e962705634b068c0c16932 SHA512 adeeb797e070270ceac7e0a701d6716d4b2c979377dbb5622c9fae70ea70ba7ce035b013ec89af145577dfec03bd86006160dd5a644f94c3e9e48fbe5a3d6823
+EBUILD openpgl-0.6.0.ebuild 1456 BLAKE2B a0198e9f961c12ced1edd1cb413e9978fcb1e0ac23969f8a9c821c695a4a515c338346117384fbf0849cdedc98fa4e163d0217ed2b8855fa5495cb9ebb3137d9 SHA512 10de96b11028f169147c914b911bccbe078c6352a628c340e94ab65df94636378b81486955f55870f969198202030f3e010471ff96b5a0f8ffee049ca66e1ff3
MISC metadata.xml 998 BLAKE2B 3798ad132e1b33a5414b125e0087c14acc1809c53542b4d07a5a0c070293c2768198ed5e9859e3141dbd022e96657faf42582d96dfc56f416671d590547458b5 SHA512 17d24bf0a2221f8f0b6b35cb9d29ae9ba1ce915e3ed3f9508b62f7b806aceaec7e1919fbbc5c4db0a8e95a71d4d117b7b2d36366c02bc5c86701a35076184ef6
diff --git a/media-libs/openpgl/openpgl-0.6.0.ebuild b/media-libs/openpgl/openpgl-0.6.0.ebuild
index a3ebfbe61803..a0552f20c28b 100644
--- a/media-libs/openpgl/openpgl-0.6.0.ebuild
+++ b/media-libs/openpgl/openpgl-0.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/RenderKit/openpgl/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="Apache-2.0"
SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="-* ~amd64 ~arm64"
+KEYWORDS="-* amd64 ~arm64"
X86_CPU_FLAGS=( sse4_2 avx2 avx512dq )
CPU_FLAGS=( "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" )
diff --git a/media-libs/osl/Manifest b/media-libs/osl/Manifest
index 2d2e12536e47..94ca76a342f9 100644
--- a/media-libs/osl/Manifest
+++ b/media-libs/osl/Manifest
@@ -1,7 +1,9 @@
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
-EBUILD osl-1.12.14.0-r1.ebuild 9915 BLAKE2B c95259a1d5bac311f49ab0c4bbac05d913d7bd01431975f4c5e8b8bc1c41e58ddc0539a577c8712a178dfac00c2567b3c5e5d974d5fecde536ea35f1702cec30 SHA512 cf5216cbfd6a3d4f33f240f3c817612fbd47e1699ad49791aeae4f13071d99b255867cc366cc3a92330d5957a10e27c0ad9963fff9410056788c6343b0cfd89f
+DIST osl-1.13.12.0.tar.gz 21824352 BLAKE2B 0d5c1d166afc347a515187c34d60c0a2be99e8a1b7078a388190f2232ee545654e3c1fea829dfabb7b0a105d69d3d98cc5dae4fa8f4db1a2228f9f258b34e76b SHA512 152a1b085c4ea88c86bc0ccbd694b848b9f50bd91f1a165899c2c3999042e413e54cdfb83dd90ea23daeeb2a3b65f794b8b2c19e9629bbda266971dcd6e3b5e7
+EBUILD osl-1.12.14.0-r2.ebuild 9647 BLAKE2B 2fa1118e970336fcbbdf499c4c584bd7edff4d7e2978f2368a70323bd11f64834a1a5d43fe6b4399bafe6b6b59f00e8ad1a5746204e9bff0b7bd724858d44385 SHA512 6becb0eb838e9dad30fb1644fd0578a190364a6d3f6812437f94c4cbfaf3c7e6059021d0255ac6c885ac9494e4cde0e08cc929c392687283f4b54b27c846d167
EBUILD osl-1.12.14.0.ebuild 3906 BLAKE2B 59228846da135c84663ff3d4a12f3370de16f281bf7f03dbd14668581c2b8fd010de16129f1e1957c51da5d83a0c1d9541ad1713ff5b938c22021ff9b84eb74b SHA512 e557e55accb7b1a5b5b07c1198fe92547d067d6687100f4ef54be38e20488bdda2cb7809e218aa7f207358ab6a1dc157d1bf5581a7db42180ed2fd4927f42c22
-EBUILD osl-1.13.10.0.ebuild 7681 BLAKE2B 52a7216fce0e543a85c07f40adc9777cc8e619d691ed50247db20d77976bd524bd194e4d33112faf125568e3bced119bd7a225f4e0bdf4174ceb365e34ca21b1 SHA512 9bcc7aea721f050971f327d04c0402478fa85d6d9ddad4e5437bcff6ab1c2c276f7f7fb264ef4c5ce3b3c932dcf0580d30df8d0d3f5f174157dd0d219012427a
-EBUILD osl-9999.ebuild 7682 BLAKE2B 645b27d0eb9c87aff57dfcb41b36fa500e7d1e2c59cad3066d64d35f81f8c16f25586d2d80834db707c06d4cbf7ef25a20e38078f515c4a6b1b7fb57c3c98ad3 SHA512 0b43980802be12e478a0bec279c20ba50051f3228db6432abba6096c0ec95d5d678d9e34e3ef5b011c411b7337db6d40fa2b0c93b95528090c561cc3d7abe7b1
-MISC metadata.xml 1167 BLAKE2B c6931d08976c0bf03bfe8138f4babe2f04b61ab486868d31bd37ed20433c5199d5c5e06f63845bb734ad8be017098afdc5c4e94388d56acb5b87727aed4ded61 SHA512 f55dfc1e4e4d8a5b25a04e2bb45a60320f4d472b523a4d3bbce2c47df9974178081db2e7ce8756d5f7116d8e433b2e1ea24faf0d58e2d4ef75d2ae51c97333a6
+EBUILD osl-1.13.10.0.ebuild 7413 BLAKE2B 41e145d8e5667e4d806d5866d6c0290f19acbe708b016defd8135d95789d4f90fbe1aa3752df7f0f77f44e74a0b48854529a0a54cf11f3c1304d7963de06ed9f SHA512 4705b288b171509af1e6ac213c3b1efeeffb57f82773dcbd60ff67fb91f13d955d0d271027e2028229bb4decdd0af40d55a7eacdc604c37bd3189c7485a5ad32
+EBUILD osl-1.13.12.0.ebuild 7414 BLAKE2B 9c6bb8ac71cfa7be1515560a996ac6a67ce92a7b6b984774a32eaa8019f536a02b2488cb9c66da3d21cfd61a5403a1e899be7280c2877f06ddc99c7e082c5811 SHA512 1301357bcfd76558740d00fc8fda5de4e49449155e27d014c243a8f3ee6561f3a01efac4dca4067187852b94f54bf89e5384fbf158c042be3a338519b86e46b9
+EBUILD osl-9999.ebuild 7414 BLAKE2B 9c6bb8ac71cfa7be1515560a996ac6a67ce92a7b6b984774a32eaa8019f536a02b2488cb9c66da3d21cfd61a5403a1e899be7280c2877f06ddc99c7e082c5811 SHA512 1301357bcfd76558740d00fc8fda5de4e49449155e27d014c243a8f3ee6561f3a01efac4dca4067187852b94f54bf89e5384fbf158c042be3a338519b86e46b9
+MISC metadata.xml 1095 BLAKE2B d9d1b720bceb0f61f6841ef3a2d7b222a952f4c96c6ab1ee61f8e28ddae0d470b49fce998d60afedc527c8776d3514268ba0f135fcba881252c512f26e2f3c74 SHA512 b4a36e79e830cf648e0de7fdd3f360cd41834de8ac491972609990386380960b34263fde6d3cd129d07d8032a7741b399880c3f24684ba5ea8beb6498da0189f
diff --git a/media-libs/osl/metadata.xml b/media-libs/osl/metadata.xml
index a0f31940cbeb..a62fb425a42a 100644
--- a/media-libs/osl/metadata.xml
+++ b/media-libs/osl/metadata.xml
@@ -15,12 +15,11 @@
lights, displacement, and pattern generation.
</longdescription>
<use>
- <flag name="gui">Build the osltoy binary (with Qt5)</flag>
+ <flag name="gui">Build the osltoy binary</flag>
<flag name="libcxx">Build against <pkg>llvm-runtimes/libcxx</pkg> when using clang</flag>
<flag name="nofma">Do not use Fuse-Multiply-Add operations</flag>
<flag name="optix">Add support for NVIDIA's OptiX Raytracing Engine</flag>
<flag name="partio">Use <pkg>media-libs/partio</pkg></flag>
- <flag name="qt6">Build the osltoy binary (with Qt6)</flag>
</use>
<upstream>
<remote-id type="github">AcademySoftwareFoundation/OpenShadingLanguage</remote-id>
diff --git a/media-libs/osl/osl-1.12.14.0-r1.ebuild b/media-libs/osl/osl-1.12.14.0-r2.ebuild
index a5bef473888b..104c0702a449 100644
--- a/media-libs/osl/osl-1.12.14.0-r1.ebuild
+++ b/media-libs/osl/osl-1.12.14.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -32,7 +32,7 @@ X86_CPU_FEATURES=(
)
CPU_FEATURES=( "${X86_CPU_FEATURES[@]/#/cpu_flags_x86_}" )
-IUSE="debug doc gui libcxx nofma partio qt6 test ${CPU_FEATURES[*]%:*} python"
+IUSE="debug doc gui libcxx nofma partio test ${CPU_FEATURES[*]%:*} python"
RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -55,15 +55,7 @@ RDEPEND="
)
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]
- )
+ dev-qt/qtbase:6[gui,widgets,opengl]
)
"
@@ -177,6 +169,7 @@ src_configure() {
-DUSE_BATCHED="$(IFS=","; echo "${mybatched[*]}")"
-DUSE_LIBCPLUSPLUS="$(usex libcxx)"
-DUSE_OPTIX="no"
+ -DUSE_QT="$(usex gui)"
-DOpenImageIO_ROOT="${EPREFIX}/usr"
)
@@ -187,15 +180,6 @@ src_configure() {
)
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 partio; then
mycmakeargs+=(
-Dpartio_ROOT="${EPREFIX}/usr"
diff --git a/media-libs/osl/osl-1.13.10.0.ebuild b/media-libs/osl/osl-1.13.10.0.ebuild
index 1ab9bcdd3d56..bd2b569e7e9c 100644
--- a/media-libs/osl/osl-1.13.10.0.ebuild
+++ b/media-libs/osl/osl-1.13.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -32,7 +32,7 @@ X86_CPU_FEATURES=(
)
CPU_FEATURES=( "${X86_CPU_FEATURES[@]/#/cpu_flags_x86_}" )
-IUSE="debug doc gui libcxx nofma optix partio qt6 test ${CPU_FEATURES[*]%:*} python"
+IUSE="debug doc gui libcxx nofma optix partio test ${CPU_FEATURES[*]%:*} python"
RESTRICT="!test? ( test )"
@@ -59,15 +59,7 @@ RDEPEND="
)
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]
- )
+ dev-qt/qtbase:6[gui,widgets,opengl]
)
"
@@ -189,6 +181,7 @@ src_configure() {
-DUSE_BATCHED="$(IFS=","; echo "${mybatched[*]}")"
-DUSE_LIBCPLUSPLUS="$(usex libcxx)"
-DOSL_USE_OPTIX="$(usex optix)"
+ -DUSE_QT="$(usex gui)"
-DOpenImageIO_ROOT="${EPREFIX}/usr"
)
@@ -199,15 +192,6 @@ src_configure() {
)
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"
diff --git a/media-libs/osl/osl-1.13.12.0.ebuild b/media-libs/osl/osl-1.13.12.0.ebuild
new file mode 100644
index 000000000000..267c8484ce23
--- /dev/null
+++ b/media-libs/osl/osl-1.13.12.0.ebuild
@@ -0,0 +1,321 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+# Check this on updates
+LLVM_COMPAT=( {15..19} )
+
+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-2)" # based on SONAME
+
+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 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 '
+ llvm-core/clang:${LLVM_SLOT}
+ llvm-core/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? (
+ dev-qt/qtbase:6[gui,widgets,opengl]
+ )
+"
+
+DEPEND="${RDEPEND}
+ dev-util/patchelf
+ test? (
+ media-fonts/droid
+ )
+"
+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"
+ )
+ fi
+ mybatched+=(
+ "b8_AVX512"
+ "b16_AVX512"
+ )
+ fi
+ if use cpu_flags_x86_avx2 ; then
+ if use nofma; then
+ mybatched+=(
+ "b8_AVX2_noFMA"
+ )
+ fi
+ mybatched+=(
+ "b8_AVX2"
+ )
+ fi
+ fi
+ if 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
+
+ # 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)"
+ -DUSE_SIMD="$(IFS=","; echo "${mysimd[*]}")"
+ -DUSE_BATCHED="$(IFS=","; echo "${mybatched[*]}")"
+ -DUSE_LIBCPLUSPLUS="$(usex libcxx)"
+ -DOSL_USE_OPTIX="$(usex optix)"
+ -DUSE_QT="$(usex gui)"
+
+ -DOpenImageIO_ROOT="${EPREFIX}/usr"
+ )
+
+ if use debug; then
+ mycmakeargs+=(
+ -DVEC_REPORT="yes"
+ )
+ 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
+
+ if use python; then
+ mycmakeargs+=(
+ "-DPYTHON_VERSION=${EPYTHON#python}"
+ "-DPYTHON_SITE_DIR=$(python_get_sitedir)"
+ )
+ 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
+ "^testoptix.optix.opt$"
+ "^testoptix-noise.optix.opt$"
+ "^testoptix-reparam.optix.opt$"
+ "^transform-reg.regress.batched.opt$"
+ "^spline-reg.regress.batched.opt$"
+
+ # doesn't handle parameters
+ "^osl-imageio$"
+ "^osl-imageio.opt$"
+ "^osl-imageio.opt.rs_bitcode$"
+ )
+
+ 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 so we avoid FMA related issues
+ 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
+
+ einfo ""
+ einfo "testing render tests in isolation"
+ einfo ""
+
+ 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
+}
+
+src_install() {
+ cmake_src_install
+
+ if [[ -d "${ED}/usr/build-scripts" ]]; then
+ rm -rf "${ED}/usr/build-scripts" || die
+ fi
+
+ for batched_lib in "${ED}/usr/$(get_libdir)/lib_"*"_oslexec.so"; do
+ patchelf --set-soname "$(basename "${batched_lib}")" "${batched_lib}" || die
+ done
+}
diff --git a/media-libs/osl/osl-9999.ebuild b/media-libs/osl/osl-9999.ebuild
index 40728570e380..267c8484ce23 100644
--- a/media-libs/osl/osl-9999.ebuild
+++ b/media-libs/osl/osl-9999.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
# Check this on updates
-LLVM_COMPAT=( {15..18} )
+LLVM_COMPAT=( {15..19} )
inherit cmake cuda flag-o-matic llvm-r1 toolchain-funcs python-single-r1
@@ -32,7 +32,7 @@ X86_CPU_FEATURES=(
)
CPU_FEATURES=( "${X86_CPU_FEATURES[@]/#/cpu_flags_x86_}" )
-IUSE="debug doc gui libcxx nofma optix partio qt6 test ${CPU_FEATURES[*]%:*} python"
+IUSE="debug doc gui libcxx nofma optix partio test ${CPU_FEATURES[*]%:*} python"
RESTRICT="!test? ( test )"
@@ -59,15 +59,7 @@ RDEPEND="
)
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]
- )
+ dev-qt/qtbase:6[gui,widgets,opengl]
)
"
@@ -189,6 +181,7 @@ src_configure() {
-DUSE_BATCHED="$(IFS=","; echo "${mybatched[*]}")"
-DUSE_LIBCPLUSPLUS="$(usex libcxx)"
-DOSL_USE_OPTIX="$(usex optix)"
+ -DUSE_QT="$(usex gui)"
-DOpenImageIO_ROOT="${EPREFIX}/usr"
)
@@ -199,15 +192,6 @@ src_configure() {
)
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"
diff --git a/media-libs/partio/Manifest b/media-libs/partio/Manifest
index 435dfd952573..6fd100f8d289 100644
--- a/media-libs/partio/Manifest
+++ b/media-libs/partio/Manifest
@@ -1,5 +1,5 @@
-DIST partio-1.14.6.tar.gz 336527 BLAKE2B 60c9c6ad9d5a7b58967e7633180d4f8d399bd129cc7b76fc4329b3d191ce0d381df7f977d5ec11ccedbdbcd8afa0fde2f946960f08a242338c2f674b4c94343e SHA512 5479d00b3124e8e06abbc65b1cdc01cdac37b9207c0615029e488baa0835e4ad545be2fb07dda5b4541dd846115059aaca5950ff904bddec6bb1fd72180ebcc0
DIST partio-1.17.1.tar.gz 338461 BLAKE2B 6c08d5b74db34ce114206ab92332e42e827d537d83e65597ba777344e1b9dc69f9b57153f716e87df6955b9898cedcd7e6da353db111463d7c8bd47f648cca6a SHA512 5dbbd988c76a26ac6f3024e29ed12f37f7995daf211e065b9ffaf185c6203be7d9de48bd62b5955d2f5444af72fb3306ea5a0f3501cb0a49a26f157bb09ec6bc
-EBUILD partio-1.14.6.ebuild 1002 BLAKE2B c040a28986216592d5fd933ce503e08872a02e6018d4f1c37e2f339dc936e191882dceb576690bb993770935e16511190d3e8bc2100bd7f6ecfd4bece7459cc7 SHA512 0ac5b3c02c427b6003cc416e342cd8d06388fee39b7e23f5b4024a443b647d3a8e6f835591450954531b5fa896d107cf5774ac20d737c6e1a2467723db2629fb
+DIST partio-1.17.3.tar.gz 338044 BLAKE2B 5842c5e1ee728d5e3ea77258293b1cd0a72147ac1229e2156741cfe9a55971e2dd30d2b8e239b0a3cde8e055f564d98cd7c29cf649d33eb9f1891158ba69c1c7 SHA512 b110d29b9d4226c773adf8b98f0bcb78a877d5bf944b09500d81d2810dc2e4cc1386cbe29aa724fc256c00f6df34e171a091b2ddc60aedc9fa2576eb00a3fefa
EBUILD partio-1.17.1.ebuild 1004 BLAKE2B d87febed2e75c8d55a4aa81809a5097974256c9620ddf52df9b7e2a6b6f299518dfdd3fb250290003bf8ccd45c8b66a35404687096dcf378b07e1d6f48082727 SHA512 bc6c9386e50ecd86e61fa1df3bdee805785722e73de3905642705000abe99ce686dbf491e48bcfd21560b25d3d4d59785c73c802276e07438dd0852e6869b05a
+EBUILD partio-1.17.3.ebuild 1482 BLAKE2B 7501fcbf44d9da5bc1ac93c5f45c1a4b270f7810037b63a73afd260cbd76692a3a3074b0f052420bf82806e9777d7ee323ce5bcc0f27f861367d9852d20bd1e5 SHA512 2fe1cb94144de6db598f69861440669e757f2ecd83e3b7f070c9cd78ee1d4bb43e74d30b3930376d1222b6b566d840902ccf62fadd27d9725f2e783eb60ed1df
MISC metadata.xml 477 BLAKE2B db04e4cf381caad226dc2d4ff99870ff9628b29b4bab50eed56a9d51ddbfcfc3b9c45858f5ef011c49c0a5994c48f8af72e5857f8c9a818ba0a8ed89efc5a80d SHA512 f7c292f403330a235b7c477ed8ac7f3e200cc4cbd76ebb95ad2f9dce35cc8fef0c0bd67500a9ad81045f6322e01520d524eaa12ef09c0fa7e495666d4b44cdb3
diff --git a/media-libs/partio/partio-1.14.6.ebuild b/media-libs/partio/partio-1.17.3.ebuild
index 1f7714410e59..49cd9a61e83f 100644
--- a/media-libs/partio/partio-1.14.6.ebuild
+++ b/media-libs/partio/partio-1.17.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit cmake python-single-r1
if [[ ${PV} == *9999 ]]; then
@@ -11,15 +11,17 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/wdas/partio.git"
else
SRC_URI="https://github.com/wdas/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
fi
DESCRIPTION="Library for particle IO and manipulation"
-HOMEPAGE="http://partio.us/"
+HOMEPAGE="https://partio.us/"
LICENSE="BSD"
SLOT="0"
-IUSE="doc"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
@@ -29,7 +31,11 @@ RDEPEND="${PYTHON_DEPS}
virtual/opengl
"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/gtest
+ )
+"
BDEPEND="
dev-lang/swig
@@ -45,7 +51,26 @@ BDEPEND="
src_configure() {
local mycmakeargs=(
- $(cmake_use_find_package doc Doxygen)
+ "$(cmake_use_find_package doc Doxygen)"
+
+ -DPARTIO_GTEST_ENABLED="$(usex test)" # "Enable GTest for tests"
+ -DPARTIO_ORIGIN_RPATH="no" # "Enable ORIGIN rpath in the installed libraries"
+
+ -DPARTIO_USE_GLVND="yes" # "Use GLVND for OpenGL"
+ -DPARTIO_BUILD_SHARED_LIBS="yes" # "Enabled shared libraries"
+
+ -DWDAS_CXX_STANDARD=17
)
+
cmake_src_configure
}
+
+src_test() {
+ CMAKE_SKIP_TESTS=(
+ # fail on import partjson, partio
+ testpartjson
+ testpartio
+ )
+
+ cmake_src_test
+}
diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 60b269ca6044..27872ced8476 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,7 +1,5 @@
DIST libsrtp-a566a9cfcd619e8327784aa7cff4a1276dc1e895.tar.gz 636836 BLAKE2B 496afcb80f67a8f76104e338408d4930475daadaf3f7cd2d673336aef938986876995e475a4d932424d7f99f6a339bad360f566d6fd3719316eaf8241970cf8d SHA512 930e665434e80e8a26d81b785563c915619b546a9a0af0455a14278816997074add852fae107027f4899415cb0ab47ffbf9492bea76b94b10f558b52098bbf92
DIST libyuv-04821d1e7d60845525e8db55c7bcd41ef5be9406.tar.bz2 418856 BLAKE2B a72e1f75491785b272b0ded46368a67aadb643278e5764d16dcd902ab7e4139d8664ffbacd940f30113ce3171e0b0846fe0d6111ced17c5b08f326cd61b2af14 SHA512 ff9cfbb61a1361e959740d00c741dc6fbe71ca7c61770abc35f70aada402df3884d7d5992ae79472dfe3d7641154d4f13065593fee41bf8eae924e26cc654117
-DIST tg_owt-0_pre20240804.tar.gz 11722734 BLAKE2B 084bedf7ae20ba173244851e82749dba31ba1320d83d021876f12350ecaa2fb03e47857fdc8013c87df6cae6e9250ec78548b498f35a92d305a28070475f36e4 SHA512 12bc17f39569f8b09c793d0e65b82926325c8d9046454e385ef7c82ab26f4e39e8f44f7491c80be71743abd78565bca50023b62365437fc8e43fc23d1b64840b
DIST tg_owt-0_pre20241202.tar.gz 11722610 BLAKE2B effe7b833db593bdbf5d923b362cbc8839853e068d22ac1efd39ae8287eac0aeb71e74bf4476fa2a1a1b67c4e7370c6bc3b28d97e510c50b9621761b9b7be219 SHA512 10b7d0686fabc289694c659bcd138737b33375d0aad936e0cf8dcdebeebf30e7c0e1af7a9196c4275bcbb88b5867bcefa8179564980941895a6b7d9bfae822b2
-EBUILD tg_owt-0_pre20240804-r2.ebuild 3581 BLAKE2B 77babba55539e2b8c8118ab1c11771c2bb133b1fea277a3040e0a5b156767676ef7cb10d37e2a7b14c96660b0e11d32893350be245504744af918d621c7a8990 SHA512 1c8f002eb18473c53aa740a1e423e627c291e862bcaa5e83c6274b1c7e9e7cd1e032f87a27348bcdd7f7180a1ff7add48e4c66498d1707887ce89cc9b70f106f
EBUILD tg_owt-0_pre20241202.ebuild 3581 BLAKE2B 9ccd59b1fe448b95bd3ffc810e49395fa09f54287d512e8a20d61bc3d71de75d31e7e7fd78b2e52f6bf433e1db8fd4a20627ff2cddc765ca3e1a20d8eda402b9 SHA512 7d49cb2f92c402bf84c28258bee9bbc672875c83e58687e10e256c75e8ec25b88aa25ca2489e645dee6f3bc8938ca4dff4b28f30341fb0ef040d0fb94ff2fc74
MISC metadata.xml 493 BLAKE2B ce75939609c6fdef8bce490ca81ba5a011c0a44746e9d813651c2dad5e29e66cc529789b90a61e484c1b13c4d51f0a6cc18988bc7992f9a68e532b6bec9906f2 SHA512 d7aa16d810350f42fb07d47a020363fa77f2a2bab07bd78b49f22afd1ddffc51bf0b55b9ac84ebd208dfc85779494144a75f33e209032c0db15567eb8ba4ebf1
diff --git a/media-libs/tg_owt/tg_owt-0_pre20240804-r2.ebuild b/media-libs/tg_owt/tg_owt-0_pre20240804-r2.ebuild
deleted file mode 100644
index 0c0d80f929dc..000000000000
--- a/media-libs/tg_owt/tg_owt-0_pre20240804-r2.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-DESCRIPTION="WebRTC build for Telegram"
-HOMEPAGE="https://github.com/desktop-app/tg_owt"
-
-TG_OWT_COMMIT="dc17143230b5519f3c1a8da0079e00566bd4c5a8"
-LIBYUV_COMMIT="04821d1e7d60845525e8db55c7bcd41ef5be9406"
-LIBSRTP_COMMIT="a566a9cfcd619e8327784aa7cff4a1276dc1e895"
-SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz
- https://gitlab.com/chromiumsrc/libyuv/-/archive/${LIBYUV_COMMIT}/libyuv-${LIBYUV_COMMIT}.tar.bz2
- https://github.com/cisco/libsrtp/archive/${LIBSRTP_COMMIT}.tar.gz -> libsrtp-${LIBSRTP_COMMIT}.tar.gz"
-S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
-# Upstream libyuv: https://chromium.googlesource.com/libyuv/libyuv
-
-LICENSE="BSD"
-SLOT="0/${PV##*pre}"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv"
-IUSE="screencast +X"
-
-# This package's USE flags may change the ABI and require a rebuild of
-# dependent pacakges. As such, one should make sure to depend on
-# media-libs/tg_owt[x=,y=,z=] for any package that uses this.
-# Furthermore, the -DNDEBUG preprocessor flag should be defined by any
-# dependent package, failure to do so will change the ABI in the header files.
-
-# Bundled libs:
-# - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it)
-# - libsrtp (project uses private APIs)
-# - pffft (no stable versioning, patched)
-RDEPEND="
- >=dev-cpp/abseil-cpp-20240722.0:=
- dev-libs/openssl:=
- dev-libs/protobuf:=
- media-libs/libjpeg-turbo:=
- >=media-libs/libvpx-1.10.0:=
- media-libs/openh264:=
- media-libs/opus
- media-video/ffmpeg:=
- dev-libs/crc32c
- screencast? (
- dev-libs/glib:2
- >=media-video/pipewire-1.0.7:=
- )
- X? (
- x11-libs/libX11
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXrender
- x11-libs/libXrandr
- x11-libs/libXtst
- )
-"
-DEPEND="${RDEPEND}
- screencast? (
- media-libs/libglvnd[X]
- media-libs/mesa
- x11-libs/libdrm
- )
-"
-BDEPEND="
- virtual/pkgconfig
- X? ( x11-base/xorg-proto )
-"
-
-src_unpack() {
- default
-
- mv -T "libyuv-${LIBYUV_COMMIT}" "${S}/src/third_party/libyuv" || die
- mv -T "libsrtp-${LIBSRTP_COMMIT}" "${S}/src/third_party/libsrtp" || die
-}
-
-src_prepare() {
- # The sources for these aren't available, avoid needing them
- sed -e '/include(cmake\/libcrc32c.cmake)/d' \
- -e '/include(cmake\/libabsl.cmake)/d' -i CMakeLists.txt || die
-
- # "lol" said the scorpion, "lmao"
- sed -i '/if (BUILD_SHARED_LIBS)/{n;n;s/WARNING/DEBUG/}' CMakeLists.txt || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- # Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes
- # See https://bugs.gentoo.org/754012
- # EAPI 8 still wipes this flag.
- append-cppflags '-DNDEBUG'
-
- local mycmakeargs=(
- -DTG_OWT_USE_X11=$(usex X)
- -DTG_OWT_USE_PIPEWIRE=$(usex screencast)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- # Save about 15MB of useless headers
- rm -r "${ED}/usr/include/tg_owt/rtc_base/third_party" || die
- rm -r "${ED}/usr/include/tg_owt/common_audio/third_party" || die
- rm -r "${ED}/usr/include/tg_owt/modules/third_party" || die
- rm -r "${ED}/usr/include/tg_owt/third_party" || die
-
- # Install a few headers anyway, as required by net-im/telegram-desktop...
- local headers=(
- third_party/libyuv/include
- rtc_base/third_party/sigslot
- rtc_base/third_party/base64
- )
- for dir in "${headers[@]}"; do
- pushd "${S}/src/${dir}" > /dev/null || die
- find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/${dir}/{}" \; || die
- popd > /dev/null || die
- done
-}