summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2014-12-29 14:46:48 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 08:22:53 +0000
commit24f19fedb40d0af84beb8e9a6595ea06f09d4615 (patch)
treec75b4cad1a2dd0cbf43b6bcbb68fe4a910fc3bbf
parenta7191a7018c1fe43fe35a894a09d2a165af1a4d2 (diff)
downloadopenembedded-core-contrib-24f19fedb40d0af84beb8e9a6595ea06f09d4615.tar.gz
openembedded-core-contrib-24f19fedb40d0af84beb8e9a6595ea06f09d4615.tar.bz2
openembedded-core-contrib-24f19fedb40d0af84beb8e9a6595ea06f09d4615.zip
gstreamer1.0-omx: use mulitple SCMs to fetch submodules
The gstreamer omx package uses a submodule 'common' which is fetched by the configure script. This approach fails on non-network builds as the fetcher tries to look upstream for the submodule. We now use multiple SCMs, one for the main omx package and the other for the 'common' submodule so it is available in the downloads_dir for later use. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb11
1 files changed, 8 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb
index 931a7fcc96..99c84668ef 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb
@@ -6,12 +6,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f"
SRC_URI = " \
- git://anongit.freedesktop.org/gstreamer/gst-omx;branch=master \
- file://0001-omx-fixed-type-error-in-printf-call.patch \
+ git://anongit.freedesktop.org/gstreamer/gst-omx;branch=master;name=gst-omx \
+ git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;branch=master;name=common \
+ file://0001-omx-fixed-type-error-in-printf-call.patch \
"
+
S = "${WORKDIR}/git"
-SRCREV = "a2db76b048db278ef0aa798e106b7594264e06c0"
+SRCREV_gst-omx = "a2db76b048db278ef0aa798e106b7594264e06c0"
+SRCREV_common = "5edcd857b2107cd8b78c16232dd10877513ec157"
+
+SRCREV_FORMAT = "gst-omx"
do_configure_prepend() {
cd ${S}