summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2018-06-15 20:47:29 +0300
committerMart Raudsepp <leio@gentoo.org>2018-06-16 21:25:56 +0300
commit669a2b3c944ce1179a3561d336e71c0ba92d20a0 (patch)
treeeec8c5522bcd8c4a833b98d435adfeaa8abaaf2d /media-plugins/gst-plugins-hls/gst-plugins-hls-1.14.1.ebuild
parentmedia-plugins/gst-plugins-dts: bump to 1.14.1 (diff)
downloadgentoo-669a2b3c944ce1179a3561d336e71c0ba92d20a0.tar.gz
gentoo-669a2b3c944ce1179a3561d336e71c0ba92d20a0.tar.bz2
gentoo-669a2b3c944ce1179a3561d336e71c0ba92d20a0.zip
media-plugins/gst-plugins-hls: bump to 1.14.1
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-plugins/gst-plugins-hls/gst-plugins-hls-1.14.1.ebuild')
-rw-r--r--media-plugins/gst-plugins-hls/gst-plugins-hls-1.14.1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-hls/gst-plugins-hls-1.14.1.ebuild b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.14.1.ebuild
new file mode 100644
index 000000000000..058ae72347cb
--- /dev/null
+++ b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.14.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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"
+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
+}