summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-qt5/conf/layer.conf2
-rw-r--r--meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb2
-rw-r--r--meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb2
-rw-r--r--meta-qt5/recipes-qt/qt5/qt5-git.inc2
-rw-r--r--meta-qt5/recipes-qt/qt5/qtbase-native_git.bb2
-rw-r--r--meta-qt5/recipes-qt/qt5/qtbase_git.bb2
6 files changed, 7 insertions, 5 deletions
diff --git a/meta-qt5/conf/layer.conf b/meta-qt5/conf/layer.conf
index aacfd7843d..92558b3343 100644
--- a/meta-qt5/conf/layer.conf
+++ b/meta-qt5/conf/layer.conf
@@ -26,3 +26,5 @@ BBFILE_PRIORITY_qt5-layer = "7"
LICENSE_PATH += "${LAYERDIR}/licenses"
IMAGE_FEATURES[validitems] += "qtcreator-debug"
+
+QT_GIT ?= "git://code.qt.io"
diff --git a/meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb b/meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb
index db5bbe6a70..0546b00cf3 100644
--- a/meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb
+++ b/meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb
@@ -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"
diff --git a/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb b/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb
index df80407ee9..9832eee43a 100644
--- a/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -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
diff --git a/meta-qt5/recipes-qt/qt5/qt5-git.inc b/meta-qt5/recipes-qt/qt5/qt5-git.inc
index 84ddf49693..c87899807d 100644
--- a/meta-qt5/recipes-qt/qt5/qt5-git.inc
+++ b/meta-qt5/recipes-qt/qt5/qt5-git.inc
@@ -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"
diff --git a/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb b/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb
index 5a308d4b9e..e558ee6d53 100644
--- a/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb
+++ b/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb
@@ -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
diff --git a/meta-qt5/recipes-qt/qt5/qtbase_git.bb b/meta-qt5/recipes-qt/qt5/qtbase_git.bb
index 549c92af4e..1be31ea570 100644
--- a/meta-qt5/recipes-qt/qt5/qtbase_git.bb
+++ b/meta-qt5/recipes-qt/qt5/qtbase_git.bb
@@ -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