Skip to contentSkip to conversation

qt5-git.inc: Ensure we export the SRCREV as the module name

PATCH New Otavio Salvador 1 participant 1 message Feb 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5-git.inc: Ensure we export the SRCREV as the module name

For components which use multiple Git repositories (e.g QtWebEngine) it is important to have the module name exported so it can be referred in SRCREV_FORMAT.

---

 recipes-qt/qt5/qt5-git.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-qt/qt5/qt5-git.inc +2 -2
index f8fb38b..bf0be7e 100644
@@ -1,4 +1,4 @@
-# Copyright (C) 2012 O.S. Systems Software LTDA.
+# Copyright (C) 2012-2016 O.S. Systems Software LTDA.
 # Copyright (C) 2013-2014 Martin Jansa <[email protected]>
 
 QT_MODULE ?= "${BPN}"
@@ -6,7 +6,7 @@ QT_MODULE_BRANCH ?= "5.6"
 
 # each module needs to define valid SRCREV
 SRC_URI = " \
-    ${QT_GIT}/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH};protocol=${QT_GIT_PROTOCOL} \
+    ${QT_GIT}/${QT_MODULE}.git;name=${QT_MODULE};branch=${QT_MODULE_BRANCH};protocol=${QT_GIT_PROTOCOL} \
 "
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.0