30 lines
823 B
Bash
30 lines
823 B
Bash
# Copyright 1999-2021 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"
|
|
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_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
|
|
}
|