From 94ef180b7a281bb71cdeea906fcee7d7d152e821 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 17 Mar 2026 22:11:04 +0200 Subject: [PATCH] media-plugins/gst-plugins-webrtc: add 1.26.11 Signed-off-by: Alfred Wingate Part-of: https://codeberg.org/gentoo/gentoo/pulls/527 Signed-off-by: Sam James --- media-plugins/gst-plugins-webrtc/Manifest | 1 + .../gst-plugins-webrtc-1.26.11.ebuild | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.26.11.ebuild diff --git a/media-plugins/gst-plugins-webrtc/Manifest b/media-plugins/gst-plugins-webrtc/Manifest index 5f3f06f9c276f..8cb2dd8198fa9 100644 --- a/media-plugins/gst-plugins-webrtc/Manifest +++ b/media-plugins/gst-plugins-webrtc/Manifest @@ -1 +1,2 @@ DIST gst-plugins-bad-1.24.13.tar.xz 7095312 BLAKE2B abf42723ed08f5525b965ccfbc07533cb9b42c575b67235751b0ffa83a7462d5833678080a7e75849fcce41f2f4bc4dd9c26f7780836184a385ce5e0f07f9f87 SHA512 c2a43861c04b89e5ad01f38394f3fa29bdb106eedcf1e066f69e5a6719d7e7bbb7f3b2da1cde68541a3928e68239adbe88573a59c89b5dc3aae621c8c822bd7f +DIST gst-plugins-bad-1.26.11.tar.xz 7798064 BLAKE2B b8ac607339cfb081fb2b13135365f234951311c21974a2c9eb4cc86a270d1405efbccddeec7249d19cb2c3c85b26a897a6d043a92bc424a043d69134b51df1bb SHA512 6a105d1b9f0d51c7c157b259e408b2f23aa44b74f3c60708c8024d7790e2fb2ee65884ae709a9dbb31a84d6b16447b127bc85153a3fe33082c0cc9a73eb950ef diff --git a/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.26.11.ebuild b/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.26.11.ebuild new file mode 100644 index 0000000000000..fdc860437acff --- /dev/null +++ b/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.26.11.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2026 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="WebRTC plugins for GStreamer" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=media-plugins/gst-plugins-sctp-${PV}:1.0[${MULTILIB_USEDEP}] + >=media-libs/webrtc-audio-processing-1.0:1[${MULTILIB_USEDEP}] + >=net-libs/libnice-0.1.21[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +GST_PLUGINS_ENABLED="webrtc webrtcdsp" +GST_PLUGINS_BUILD_DIR="webrtc webrtcdsp" + +PATCHES=( + "${FILESDIR}/${PN}-1.24.10-disable-srtp-sctp-dtls-options.patch" +) + +src_prepare() { + default + gstreamer_system_package \ + gstwebrtc_dep:gstreamer-webrtc \ + gstsctp_dep:gstreamer-sctp \ + gstbadaudio_dep:gstreamer-bad-audio +} + +multilib_src_install() { + # TODO: Fix this properly, see bug #907470 and bug #909079. + insinto /usr/$(get_libdir) + doins "${BUILD_DIR}"/ext/webrtc/libgstwebrtc.so + doins "${BUILD_DIR}"/gst-libs/gst/webrtc/nice/libgstwebrtcnice-1.0.so* + insinto /usr/include/gstreamer-1.0/gst/webrtc/nice + doins "${S}"/gst-libs/gst/webrtc/nice/*.h + gstreamer_multilib_src_install +}