aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Priouzeau <christophe.priouzeau@linaro.org>2015-10-20 15:17:47 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-04-22 15:42:05 +0100
commitdf8f0c4263a8161323eee99113813f22b7c60ecf (patch)
tree4de2b2acbebd292e98614d0d09534a37dff4c5c6
parentb79ae39794613abc2a1f1120ef824067a52202e3 (diff)
downloadmeta-qcom-df8f0c4263a8161323eee99113813f22b7c60ecf.tar.gz
meta-qcom-df8f0c4263a8161323eee99113813f22b7c60ecf.tar.bz2
meta-qcom-df8f0c4263a8161323eee99113813f22b7c60ecf.zip
gstreamer: add qcom v4l2 gstreamer plugins
To use it: gst-launch-1.0 filesrc localtion=<mp4 file> ! qtdemux ! h264parse ! v4l2dec ! videoconvert ! waylandsink [Nicolas Dechesne] * added common as a git tree managed by SRC_URI to avoid git operation during configure Signed-off-by: Christophe Priouzeau <christophe.priouzeau@linaro.org> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb43
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2/remove-git-from-autogen.patch19
2 files changed, 62 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb
new file mode 100644
index 0000000..b5b165a
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb
@@ -0,0 +1,43 @@
+require recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
+
+SUMMARY = "QCOM V4l2 Plugins for the GStreamer multimedia framework 1.x "
+HOMEPAGE = ""
+BUGTRACKER = ""
+SECTION = "multimedia"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
+LICENSE = "GPLv2+ & LGPLv2.1+"
+
+SRCREV_FORMAT = "plugin-common"
+
+SRC_URI = " git://git.linaro.org/landing-teams/working/qualcomm/pkg/gst-plugins-v4l2.git;protocol=https;branch=debian;name=plugin \
+ git://anongit.freedesktop.org/gstreamer/common;name=common;branch=master;destsuffix=git/common \
+ file://remove-git-from-autogen.patch \
+"
+
+SRCREV_plugin = "0d051f538fe00c8a79fcf12a05a6dac3a9af7dd7"
+SRCREV_common = "12af105243823fc73581db4fd79a46f6d0268dc5"
+
+COMPATIBLE_MACHINE = "(dragonboard-410c)"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += "gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
+
+inherit gettext
+
+# For using v4l2dec gstreamer plugins with MSM_VIDC driver
+# you MUST force the option "--without-libv4l"
+PACKAGECONFIG ??= ""
+
+PACKAGECONFIG[v4l2] = "--with-libv4l2,--without-libv4l2,v4l-utils"
+
+EXTRA_OECONF += " \
+ ${GSTREAMER_1_0_ORC} \
+"
+
+FILES_${PN} += " ${libdir}/gstreamer-1.0/*.so "
+
+do_configure_prepend() {
+ srcdir=${S} NOCONFIGURE=1 ${S}/autogen.sh
+}
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2/remove-git-from-autogen.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2/remove-git-from-autogen.patch
new file mode 100644
index 0000000..073b4f4
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2/remove-git-from-autogen.patch
@@ -0,0 +1,19 @@
+diff --git a/autogen.sh b/autogen.sh
+index c927914..5841244 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -10,14 +10,6 @@ cd "$srcdir"
+ DIE=0
+ package=gst-plugins-st
+
+-# Make sure we have common
+-if test ! -f common/gst-autogen.sh;
+-then
+- echo "+ Setting up common submodule"
+- git submodule init
+-fi
+-git submodule update
+-
+ # source helper functions
+ if test ! -f common/gst-autogen.sh;
+ then