summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.20.1.ebuild')
-rw-r--r--media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.20.1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.20.1.ebuild b/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.20.1.ebuild
new file mode 100644
index 000000000000..c3f6d58eef3a
--- /dev/null
+++ b/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.20.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GST_ORG_MODULE=gst-plugins-bad
+
+inherit gstreamer-meson
+
+DESCRIPTION="WebRTC plugins for GStreamer"
+KEYWORDS="~amd64"
+
+# == ext/webrtc/meson.build
+# dev-libs/glib (eclass): gio_dep
+# net-libs/libnice: libnice_dep
+# media-libs/gst-plugins-base: gstbase_dep, gstsdp_dep, gstapp_dep, gstrtp_dep
+# media-plugins/gst-plugins-sctp: gstsctp_dep
+# == ext/webrtcdsp/meson.build
+# media-libs/gst-plugins-base: gstbase_dep, gstaudio_dep
+# media-libs/gst-plugins-bad: gstbadaudio_dep
+# media-libs/webrtc-audio-processing: webrtc_dep
+# (android): gnustl_dep
+# == gst-libs/gst/webrtc/meson.build
+# media-libs/gst-plugins-base: gstbase_dep, gstsdp_dep
+RDEPEND="
+ >=media-libs/gst-plugins-base-${PV}:1.0[${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-bad-${PV}:1.0[${MULTILIB_USEDEP}]
+ >=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.17[${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
+ gstreamer_system_package gstsctp_dep:gstreamer-sctp
+ gstreamer_system_package gstbadaudio_dep:gstreamer-bad-audio
+}