[OE-core] [PATCH] gstreamer1.0-plugins: Fix method of specifying URI of the package source to SRC_URI
Nobuhiro Iwamatsu
nobuhiro.iwamatsu.yj at renesas.com
Fri Jul 5 07:40:30 UTC 2013
The present method overwrites all the data included in SRC_URL by URI of package source.
This adds URI of package source to original SRC_URI.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
---
.../gstreamer/gstreamer1.0-plugins.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
index 9484b20..89c21c4 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
@@ -43,9 +43,9 @@ python __anonymous () {
branch = d.getVar("GSTREAMER_1_0_GIT_BRANCH", True)
if pv == "git":
- d.setVar("SRC_URI", "git://anongit.freedesktop.org/gstreamer/%s;branch=%s;protocol=git" % (gstpkg_basename, branch))
+ d.setVar("SRC_URI", d.getVar("SRC_URI") + " git://anongit.freedesktop.org/gstreamer/%s;branch=%s;protocol=git" % (gstpkg_basename, branch))
else:
- d.setVar("SRC_URI", "http://gstreamer.freedesktop.org/src/%s/%s-%s.tar.xz" % (gstpkg_basename, gstpkg_basename, pv))
+ d.setVar("SRC_URI", d.getVar("SRC_URI") + " http://gstreamer.freedesktop.org/src/%s/%s-%s.tar.xz" % (gstpkg_basename, gstpkg_basename, pv))
}
delete_liblink_m4_file() {
--
1.7.9.5
More information about the Openembedded-core
mailing list