diff options
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb | 43 | ||||
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2/remove-git-from-autogen.patch | 19 |
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 |