commit:     5b5077592ef7b22f898782f32fced5d99a4b6b09
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 11 07:57:53 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Thu Jun 11 07:57:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b507759

media-plugins/gst-plugins-webrtc: new package for gstreamer WebRTC elements

Ships the webrtcdsp plugins (echo cancellation) and webrtcbin.

Closes: https://bugs.gentoo.org/673282
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 media-plugins/gst-plugins-webrtc/Manifest          |  1 +
 .../gst-plugins-webrtc-1.16.2.ebuild               | 30 ++++++++++++++++++++++
 media-plugins/gst-plugins-webrtc/metadata.xml      |  8 ++++++
 3 files changed, 39 insertions(+)

diff --git a/media-plugins/gst-plugins-webrtc/Manifest 
b/media-plugins/gst-plugins-webrtc/Manifest
new file mode 100644
index 00000000000..fe307b250fa
--- /dev/null
+++ b/media-plugins/gst-plugins-webrtc/Manifest
@@ -0,0 +1 @@
+DIST gst-plugins-bad-1.16.2.tar.xz 4887812 BLAKE2B 
edf10aeb365d9a7cf4b5172af29b46cff4c7a49a3e4dde881469f5738b5a525eb51a6f70bb1dd6f680e4e48977d65769ac8e8f41d914b7ce7719b9fa260a7bd4
 SHA512 
aeaf3388156fe7317e193a3f940d391a6d8a1187f93e6925cee4cb02c4e78d9b456c22c27c318f0f9b2212ca68887c5cdcc256adaf068bfab8ec5c091a1e8805

diff --git a/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.16.2.ebuild 
b/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.16.2.ebuild
new file mode 100644
index 00000000000..991e373498e
--- /dev/null
+++ b/media-plugins/gst-plugins-webrtc/gst-plugins-webrtc-1.16.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GST_ORG_MODULE=gst-plugins-bad
+
+inherit gstreamer
+
+DESCRIPTION="WebRTC plugins for GStreamer"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+       >=media-libs/gst-plugins-base-${PV}:1.0[${MULTILIB_USEDEP}]
+       >=media-libs/gst-plugins-bad-${PV}:1.0[${MULTILIB_USEDEP}]
+       >=media-libs/webrtc-audio-processing-0.2[${MULTILIB_USEDEP}]
+       <media-libs/webrtc-audio-processing-0.4
+       >=net-libs/libnice-0.1.14[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+GST_PLUGINS_BUILD="webrtc webrtcdsp"
+GST_PLUGINS_BUILD_DIR="webrtc webrtcdsp"
+
+src_prepare() {
+       default
+       gstreamer_system_link gst-libs/gst/webrtc:gstreamer-webrtc
+       gstreamer_system_link gst-libs/gst/sctp:gstreamer-sctp
+       gstreamer_system_link gst-libs/gst/audio:gstreamer-bad-audio
+}

diff --git a/media-plugins/gst-plugins-webrtc/metadata.xml 
b/media-plugins/gst-plugins-webrtc/metadata.xml
new file mode 100644
index 00000000000..fb1ea7216a8
--- /dev/null
+++ b/media-plugins/gst-plugins-webrtc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="project">
+       <email>[email protected]</email>
+       <name>GStreamer package maintainers</name>
+</maintainer>
+</pkgmetadata>

Reply via email to