diff options
Diffstat (limited to 'media-plugins/gst-plugins-dash/gst-plugins-dash-1.14.5.ebuild')
-rw-r--r-- | media-plugins/gst-plugins-dash/gst-plugins-dash-1.14.5.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-dash/gst-plugins-dash-1.14.5.ebuild b/media-plugins/gst-plugins-dash/gst-plugins-dash-1.14.5.ebuild new file mode 100644 index 000000000000..10b6999fa76d --- /dev/null +++ b/media-plugins/gst-plugins-dash/gst-plugins-dash-1.14.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="MPEG-DASH plugin for GStreamer" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/libxml2-2.9.1-r4[${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/adaptivedemux:gstadaptivedemux \ + # gst-libs/gst/isoff:gstisoff + + local directory libs + directory="gst-libs/gst/uridownloader" + libs="-lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgsturidownloader-1.0" + sed -e "s:\$(top_builddir)/${directory}/.*\.la:${libs}:" \ + -i ext/dash/Makefile.{am,in} || die + + directory="gst-libs/gst/adaptivedemux" + libs="-lgsturidownloader-1.0 -lgstapp-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstadaptivedemux-1.0" + sed -e "s:\$(top_builddir)/${directory}/.*\.la:${libs}:" \ + -i ext/dash/Makefile.{am,in} || die + + directory="gst-libs/gst/isoff" + libs="-lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstisoff-1.0" + sed -e "s:\$(top_builddir)/${directory}/.*\.la:${libs}:" \ + -i ext/dash/Makefile.{am,in} || die +} |