summaryrefslogtreecommitdiff
path: root/media-libs/gstreamer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-05 06:31:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-05 06:31:58 +0000
commite4d9d6796d5018e338f0b27a3bc97716195bf0b8 (patch)
tree38d56da69a3b5d5ccc7d73796d38469f5d4e610c /media-libs/gstreamer
parent38efae7f3eb932ed41510139679efd5c1e2f5eda (diff)
gentoo auto-resync : 05:01:2025 - 06:31:57edge
Diffstat (limited to 'media-libs/gstreamer')
-rw-r--r--media-libs/gstreamer/Manifest7
-rw-r--r--media-libs/gstreamer/files/gstreamer-1.24.10-disable-test-with-no-tools.patch18
-rw-r--r--media-libs/gstreamer/gstreamer-1.22.12.ebuild4
-rw-r--r--media-libs/gstreamer/gstreamer-1.24.10.ebuild68
-rw-r--r--media-libs/gstreamer/metadata.xml2
5 files changed, 95 insertions, 4 deletions
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
index c70ec22704d7..236845ed49b7 100644
--- a/media-libs/gstreamer/Manifest
+++ b/media-libs/gstreamer/Manifest
@@ -1,5 +1,8 @@
+AUX gstreamer-1.24.10-disable-test-with-no-tools.patch 688 BLAKE2B 4e05dff9d7a61a7258cf1669d75a8b9c1689ae66ad119937c96b3efbfcf8576b3dad340274bfeb8dde56482466eb473961f475cfddbd1a4fe24afb1440a1af92 SHA512 606b4285281e82941b1b47f5c11460e535c664d9b9c8c890f5075a7425c744fb68eb228a4967de230483264cc6340ba3ef9dadfb35cd32ffda2b0756ea7b4380
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
EBUILD gstreamer-1.22.11.ebuild 1506 BLAKE2B 4d880b1a4a44530caa0b7ea985ba2c69a311a1c081c00503ecc893407c3df071809862a62b3e6f676ff645c91f81380c02dc350329f6c12cfeb3c92df4cf5734 SHA512 9151aa7820777f43a87ecc824a84b937935886730e7cff9bdbee58a8231605997b72ce22e8cb984a7a437ba1ed04f730563df87d639dda109c6b45faaf61bbfc
-EBUILD gstreamer-1.22.12.ebuild 1512 BLAKE2B c07d08e69e01e2ebf48c413981c3554bcaae506e567fff9cc3299537ff3ada7df9b692f7b2acc3a779973d53d9138a811d1c50daea7ba0207ad7b72422a8d4d8 SHA512 0fae5e7a3070462dc0a03c0abb1668b34ef12e31256e895f0ac46573fdd516a1f5bf94a883bee415d77ba8beec99e925c5cc17580615487ee5db173e713c3807
-MISC metadata.xml 409 BLAKE2B e41182f7d47ba9c1d47c6ddb81eaa69d37fe0554862ef2a88630667c968097864253be2d303e16bd359f9ee32fd911a7f8b0b06c0c9a12b11716018210511d96 SHA512 453445ba5b3b15602e1da776bb55fff9b43fcf08698b48c5154708387b7503394db2519043b245c4b64d51b5967ea9c55b3b23f3fc77b483f64fc47a07f7c164
+EBUILD gstreamer-1.22.12.ebuild 1506 BLAKE2B 4fb13d13d6307cfe1f58216abfd920eb0a0b5320bc9b15682c0cbfb6266f2a71e9300d2f8519c3ae18a8a2649328e735fdc455e628e873d762b30d49d1561542 SHA512 c43e4de00f6d8410f202ac4783b9a193cbe672cfe62598700c07ed3f4949779bbc377a01e225f71cc823c6e0a002c9cc3223ec09ab74c78efb7817248f082fb2
+EBUILD gstreamer-1.24.10.ebuild 1801 BLAKE2B 37bba47958cce51c86cdda4d230e37b592fbfdf42dc328d6f92204ba1531fc8a2f858bd0265523ef7e6ae1b562f7162269c0920974ecc61d8469940ff0dac5f0 SHA512 c8bf4d4589264b78ea327b6d3534d83f33edd53bb927055f734b588cbf28ebb8704e1db436e54c3f90999576e1de54bfd1d7a9946b8ad654c0198c2b71c6e339
+MISC metadata.xml 502 BLAKE2B d7ba251b049df6e28eb19c356c1ae87e0ee2f9f9b77d4d61a7cf6fa0d24c29e1c77dc7ab87d86fa6041b9bce83dc1127d5b0ac18f514a02bc4046c38d2ba66af SHA512 791be53a89c0140c6d8b160955dc706c2da71e1e2fbc742d7a8df9815bf0508fefd7ffc6c489183ed82ee035ffa8a0ca2a4cb9d5c518a673f15805b745912860
diff --git a/media-libs/gstreamer/files/gstreamer-1.24.10-disable-test-with-no-tools.patch b/media-libs/gstreamer/files/gstreamer-1.24.10-disable-test-with-no-tools.patch
new file mode 100644
index 000000000000..bf751b0ce086
--- /dev/null
+++ b/media-libs/gstreamer/files/gstreamer-1.24.10-disable-test-with-no-tools.patch
@@ -0,0 +1,18 @@
+gstregistry needs to be able to find gst-plugin-scanner which doesn't
+exist if tools are disabled, as we do for multilib.
+
+But really, this seems to be papering over a bigger, longer-standing
+problem:
+* https://bugs.gentoo.org/870361
+* https://bugzilla.redhat.com/show_bug.cgi?id=1472160
+--- a/tests/check/meson.build
++++ b/tests/check/meson.build
+@@ -36,7 +36,7 @@ core_tests = [
+ [ 'gst/gstpreset.c' ],
+ [ 'gst/gstprotection.c' ],
+ [ 'gst/gstquery.c', not gst_registry ],
+- [ 'gst/gstregistry.c', not gst_registry ],
++ [ 'gst/gstregistry.c', not gst_registry or not get_option('tools').enabled() ],
+ [ 'gst/gstpromise.c'],
+ [ 'gst/gstsegment.c' ],
+ [ 'gst/gststream.c' ],
diff --git a/media-libs/gstreamer/gstreamer-1.22.12.ebuild b/media-libs/gstreamer/gstreamer-1.22.12.ebuild
index a83ad6671357..3c23bc3b78ab 100644
--- a/media-libs/gstreamer/gstreamer-1.22.12.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.22.12.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://${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"
+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 unwind"
# gstreamer-1.22.x requires 2.62, but 2.64 is strongly recommended
diff --git a/media-libs/gstreamer/gstreamer-1.24.10.ebuild b/media-libs/gstreamer/gstreamer-1.24.10.ebuild
new file mode 100644
index 000000000000..c9df01e1105c
--- /dev/null
+++ b/media-libs/gstreamer/gstreamer-1.24.10.ebuild
@@ -0,0 +1,68 @@
+# 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"
+
+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)
+ $(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/gstreamer/metadata.xml b/media-libs/gstreamer/metadata.xml
index 3484eebda129..46db1e6af323 100644
--- a/media-libs/gstreamer/metadata.xml
+++ b/media-libs/gstreamer/metadata.xml
@@ -8,5 +8,7 @@
<use>
<flag name="unwind">Enable <pkg>sys-libs/libunwind</pkg> usage for better
backtrace support in leaks tracer module</flag>
+ <flag name="ptp">Controls Precision Time Protocol (PTP) helper.
+ Written in Rust.</flag>
</use>
</pkgmetadata>