Added plugin

This commit is contained in:
Gerben Jan Dijkman 2021-03-04 07:47:56 +01:00
parent 3b0f918113
commit 7c99704c09
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST gst-plugins-bad-1.16.3.tar.xz 4900188 BLAKE2B 7d8280a434adb1cb65b065dcdabdb37aad000802c011bb27779c109978d8b75aa4e2fa47043dde95464bb0c34a0d7466dc1f6216f29f0f4911f7a6fe1fb04b25 SHA512 378d8813ba2fd61ea2cab512d5c1fa81e0a4ac4f4ca756547d9b8742e56024c1bc5d6cd332798de66ecfe2b69485c860e181a6c2090398b0e2ad8c4b3fe95d04

View File

@ -0,0 +1,41 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer
DESCRIPTION="HTTP live streaming plugin for GStreamer"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
IUSE=""
RDEPEND="
dev-libs/nettle:0=[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}"
src_prepare() {
default
# FIXME: gsturidownloader does not have a .pc
# gstreamer_system_link \
# gst-libs/gst/uridownloader:gsturidownloader \
# gst-libs/gst/adaptativedemux:gstadaptivedemux
local directory libs
directory="gst-libs/gst/uridownloader"
libs="-lgobject-2.0 -lglib-2.0 -lgstreamer-1.0 -lgstbase-1.0 -lgsturidownloader-1.0"
sed -e "s:\$(top_builddir)/${directory}/.*\.la:${libs}:" \
-i ext/hls/Makefile.{am,in} || die
directory="gst-libs/gst/adaptivedemux"
libs="-lgobject-2.0 -lglib-2.0 -lgstreamer-1.0 -lgstbase-1.0 -lgstapp-1.0 -lgsturidownloader-1.0 -lgstadaptivedemux-1.0"
sed -e "s:\$(top_builddir)/${directory}/.*\.la:${libs}:" \
-i ext/hls/Makefile.{am,in} || die
}
multilib_src_configure() {
gstreamer_multilib_src_configure \
--with-hls-crypto=nettle
}