summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/gst-plugins-uvch264/gst-plugins-uvch264-1.12.3.ebuild')
-rw-r--r--media-plugins/gst-plugins-uvch264/gst-plugins-uvch264-1.12.3.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-uvch264/gst-plugins-uvch264-1.12.3.ebuild b/media-plugins/gst-plugins-uvch264/gst-plugins-uvch264-1.12.3.ebuild
new file mode 100644
index 000000000000..7faf6af2b96f
--- /dev/null
+++ b/media-plugins/gst-plugins-uvch264/gst-plugins-uvch264-1.12.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GST_ORG_MODULE=gst-plugins-bad
+
+inherit gstreamer
+
+DESCRIPTION="UVC compliant H264 encoding cameras plugin for GStreamer"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ virtual/libgudev:=[${MULTILIB_USEDEP}]
+ virtual/libusb:1[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+
+ # FIXME: gstbasecamerabin does not have a .pc
+ # gstreamer_system_link \
+ # gst-libs/gst/basecamerabinsrc:gstbasecamerabinsrc
+
+ local directory libs
+ directory="gst-libs/gst/basecamerabinsrc"
+ libs="-lgobject-2.0 -lglib-2.0 -lgstreamer-1.0 -lgstbase-1.0 -lgstapp-1.0 -lgstbasecamerabinsrc-1.0"
+ sed -e "s:\$(top_builddir)/${directory}/.*\.la:${libs}:" \
+ -i sys/uvch264/Makefile.{am,in} || die
+}