mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-06-21 08:52:35 +02:00
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:
committed by
Martin Jansa
parent
22c431e7a1
commit
8723582545
@@ -26,3 +26,5 @@ BBFILE_PRIORITY_qt5-layer = "7"
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
IMAGE_FEATURES[validitems] += "qtcreator-debug"
|
||||
|
||||
QT_GIT ?= "git://code.qt.io"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user