summaryrefslogtreecommitdiffstats
path: root/recipes-qt
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2016-08-22 10:32:11 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2016-08-22 11:08:42 +0000
commitcec708c11e6c83891ad33910633cc9119d523b32 (patch)
tree2143f91b3796191316ea5c0356705c70081a3f6d /recipes-qt
parent90bf1f50f69b9cbf0fcc709c53f617e8b68533d0 (diff)
downloadmeta-boot2qt-cec708c11e6c83891ad33910633cc9119d523b32.tar.gz
Reuse qt5-git.inc to define git repo location
Instead of using codereview.qt-project.org directly, reuse qt5-git.inc from meta-qt5 that defines git url to be used which simplyfies the recipes. Also cleanup unnecessary use of sdk-sources for opened repos. Change-Id: Iec18e7d7d0b1a2da6ec5ed03ab6599af8d539fea Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'recipes-qt')
-rw-r--r--recipes-qt/b2qt-addons/b2qt-demos.bb6
-rw-r--r--recipes-qt/b2qt-addons/b2qt-launcher.bb10
-rw-r--r--recipes-qt/b2qt-addons/democompositor_git.bb9
3 files changed, 10 insertions, 15 deletions
diff --git a/recipes-qt/b2qt-addons/b2qt-demos.bb b/recipes-qt/b2qt-addons/b2qt-demos.bb
index 6a59871..c8423e1 100644
--- a/recipes-qt/b2qt-addons/b2qt-demos.bb
+++ b/recipes-qt/b2qt-addons/b2qt-demos.bb
@@ -23,13 +23,13 @@ DESCRIPTION = "Boot to Qt Demos"
23LICENSE = "QtEnterprise" 23LICENSE = "QtEnterprise"
24LIC_FILES_CHKSUM = "file://about-b2qt/AboutBoot2Qt.qml;md5=1bf19846314f7b0fa81dc4db92338713;beginline=1;endline=40" 24LIC_FILES_CHKSUM = "file://about-b2qt/AboutBoot2Qt.qml;md5=1bf19846314f7b0fa81dc4db92338713;beginline=1;endline=40"
25 25
26inherit qmake5 sdk-sources 26inherit qmake5
27 27
28SRC_URI = " \ 28SRC_URI = " \
29 git://codereview.qt-project.org/qt-apps/boot2qt-demos.git;branch=${BRANCH};protocol=http;name=demos \ 29 ${QT_GIT}/qt-apps-boot2qt-demos.git;branch=${BRANCH};name=demos \
30 ${QT_GIT}/qtcanvas3d.git;branch=${QT_BRANCH};name=qtcanvas3d;destsuffix=qtcanvas3d \ 30 ${QT_GIT}/qtcanvas3d.git;branch=${QT_BRANCH};name=qtcanvas3d;destsuffix=qtcanvas3d \
31 ${QT_GIT}/qtquickcontrols.git;branch=${QT_BRANCH};name=qtquickcontrols;destsuffix=qtquickcontrols \ 31 ${QT_GIT}/qtquickcontrols.git;branch=${QT_BRANCH};name=qtquickcontrols;destsuffix=qtquickcontrols \
32 git://codereview.qt-project.org/qt-apps/tqtc-qtwebbrowser.git;branch=${BROWSER_BRANCH};protocol=http;name=qtwebbrowser;destsuffix=git/basicsuite/qtwebbrowser/tqtc-qtwebbrowser;sdk-uri=5.6/Boot2Qt/sources/b2qt-demos/basicsuite/qtwebbrowser/tqtc-qtwebbrowser \ 32 ${QT_GIT}/qt-apps-qtwebbrowser.git;branch=${BROWSER_BRANCH};name=qtwebbrowser;destsuffix=git/basicsuite/qtwebbrowser/tqtc-qtwebbrowser \
33 https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt_video_720p.webm;name=video1 \ 33 https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt_video_720p.webm;name=video1 \
34 https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt+World+Summit+2015+Recap.mp4;name=video2 \ 34 https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt+World+Summit+2015+Recap.mp4;name=video2 \
35 " 35 "
diff --git a/recipes-qt/b2qt-addons/b2qt-launcher.bb b/recipes-qt/b2qt-addons/b2qt-launcher.bb
index 7283cac..bdcb293 100644
--- a/recipes-qt/b2qt-addons/b2qt-launcher.bb
+++ b/recipes-qt/b2qt-addons/b2qt-launcher.bb
@@ -24,19 +24,17 @@ LICENSE = "QtEnterprise"
24LIC_FILES_CHKSUM = "file://src/main.cpp;md5=1fcdf6b49fbbf2bc9c831893cca1b279;beginline=1;endline=17" 24LIC_FILES_CHKSUM = "file://src/main.cpp;md5=1fcdf6b49fbbf2bc9c831893cca1b279;beginline=1;endline=17"
25 25
26inherit qmake5 26inherit qmake5
27require recipes-qt/qt5/qt5-git.inc
27 28
28SRC_URI = " \ 29QT_MODULE = "qt-apps-boot2qt-launcher"
29 git://codereview.qt-project.org/qt-apps/boot2qt-launcher;branch=${BRANCH};protocol=http \ 30
31SRC_URI += " \
30 file://b2qt-startup.sh \ 32 file://b2qt-startup.sh \
31 file://qtlauncher.service \ 33 file://qtlauncher.service \
32 file://b2qt.service \ 34 file://b2qt.service \
33 " 35 "
34 36
35SRCREV = "f5aaf9297648b397ee8fecb0a494b4774e130422" 37SRCREV = "f5aaf9297648b397ee8fecb0a494b4774e130422"
36BRANCH = "5.6"
37PV = "5.6+git${SRCPV}"
38
39S = "${WORKDIR}/git"
40 38
41DEPENDS = "qtbase qtdeclarative \ 39DEPENDS = "qtbase qtdeclarative \
42 ${@base_contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}" 40 ${@base_contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}"
diff --git a/recipes-qt/b2qt-addons/democompositor_git.bb b/recipes-qt/b2qt-addons/democompositor_git.bb
index 314e491..e3ca81c 100644
--- a/recipes-qt/b2qt-addons/democompositor_git.bb
+++ b/recipes-qt/b2qt-addons/democompositor_git.bb
@@ -23,15 +23,12 @@ DESCRIPTION = "Boot to Qt Wayland Demo Compositor"
23LICENSE = "QtEnterprise" 23LICENSE = "QtEnterprise"
24LIC_FILES_CHKSUM = "file://main.cpp;md5=56e7f80d726792929d5d089852de7cde;beginline=1;endline=39" 24LIC_FILES_CHKSUM = "file://main.cpp;md5=56e7f80d726792929d5d089852de7cde;beginline=1;endline=39"
25 25
26inherit qmake5 sdk-sources 26inherit qmake5
27require recipes-qt/qt5/qt5-git.inc
27 28
28SRC_URI = " \ 29QT_MODULE = "qt-apps-boot2qt-demos"
29 git://codereview.qt-project.org/tqtc-boot2qt/demos;branch=${BRANCH};protocol=ssh;sdk-uri=5.6/Boot2Qt/sources/b2qt-demos \
30 "
31 30
32SRCREV = "b6217fb2bb7702324da2a9f3f45be4a60e6ffe6c" 31SRCREV = "b6217fb2bb7702324da2a9f3f45be4a60e6ffe6c"
33BRANCH = "5.6"
34PV = "5.6+git${SRCPV}"
35 32
36S = "${WORKDIR}/git/wayland/democompositor/" 33S = "${WORKDIR}/git/wayland/democompositor/"
37 34