commit:     743ead1b3f124b66d9161a2a4a54454cdbacc572
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 24 10:16:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 24 10:20:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=743ead1b

media-plugins/gst-plugins-webrtc: add 1.22.12

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-plugins/gst-plugins-webrtc/Manifest          |  1 +
 .../gst-plugins-webrtc-1.22.12.ebuild              | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/media-plugins/gst-plugins-webrtc/Manifest 
b/media-plugins/gst-plugins-webrtc/Manifest
index 94ba53d60500..3a7efee38684 100644
--- a/media-plugins/gst-plugins-webrtc/Manifest
+++ b/media-plugins/gst-plugins-webrtc/Manifest
@@ -1 +1,2 @@
 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

diff --git a/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.22.12.ebuild 
b/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.22.12.ebuild
new file mode 100644
index 000000000000..1b372148ef7c
--- /dev/null
+++ b/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.22.12.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 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-0.2:0[${MULTILIB_USEDEP}]
+       <media-libs/webrtc-audio-processing-0.4:0
+       >=net-libs/libnice-0.1.21[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+GST_PLUGINS_ENABLED="webrtc webrtcdsp"
+GST_PLUGINS_BUILD_DIR="webrtc webrtcdsp"
+
+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
+}

Reply via email to