qt5: add QT_GIT to define git repo for Qt core components

Replace duplicated git URIs with a single definition in layer.conf.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andre McCurdy
2015-03-13 12:59:48 -07:00
committed by Martin Jansa
parent 22c431e7a1
commit 8723582545
6 changed files with 7 additions and 5 deletions

View File

@@ -26,3 +26,5 @@ BBFILE_PRIORITY_qt5-layer = "7"
LICENSE_PATH += "${LAYERDIR}/licenses"
IMAGE_FEATURES[validitems] += "qtcreator-debug"
QT_GIT ?= "git://code.qt.io"

View File

@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://main.cpp;md5=1187cb795a0f96bce64e63dd1a67dc2b"
DEPENDS = "qtdeclarative qtgraphicaleffects"
SRCREV = "c17fe9e0ec0882ac4c4dc1168095f569acab5d09"
SRC_URI = "git://code.qt.io/qt-labs/qt5-everywhere-demo.git"
SRC_URI = "${QT_GIT}/qt-labs/qt5-everywhere-demo.git"
S = "${WORKDIR}/git/QtDemo"

View File

@@ -5,7 +5,7 @@ require ${PN}.inc
FILESEXTRAPATHS =. "${FILE_DIRNAME}/${BPN}-git:"
SRC_URI = "\
git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
${QT_GIT}/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
"
# common for qtbase-native, qtbase-nativesdk and qtbase

View File

@@ -5,7 +5,7 @@ QT_MODULE_BRANCH ?= "5.4"
# each module needs to define valid SRCREV
SRC_URI += " \
git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
${QT_GIT}/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
"
S = "${WORKDIR}/git"

View File

@@ -2,7 +2,7 @@ require qt5-git.inc
require ${PN}.inc
SRC_URI = "\
git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
${QT_GIT}/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
"
# common for qtbase-native, qtbase-nativesdk and qtbase

View File

@@ -2,7 +2,7 @@ require qt5-git.inc
require ${PN}.inc
SRC_URI = "\
git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
${QT_GIT}/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
"
# common for qtbase-native, qtbase-nativesdk and qtbase