diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2016-08-22 10:32:11 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2016-08-22 11:08:42 +0000 |
commit | cec708c11e6c83891ad33910633cc9119d523b32 (patch) | |
tree | 2143f91b3796191316ea5c0356705c70081a3f6d /recipes-qt | |
parent | 90bf1f50f69b9cbf0fcc709c53f617e8b68533d0 (diff) | |
download | meta-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.bb | 6 | ||||
-rw-r--r-- | recipes-qt/b2qt-addons/b2qt-launcher.bb | 10 | ||||
-rw-r--r-- | recipes-qt/b2qt-addons/democompositor_git.bb | 9 |
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" | |||
23 | LICENSE = "QtEnterprise" | 23 | LICENSE = "QtEnterprise" |
24 | LIC_FILES_CHKSUM = "file://about-b2qt/AboutBoot2Qt.qml;md5=1bf19846314f7b0fa81dc4db92338713;beginline=1;endline=40" | 24 | LIC_FILES_CHKSUM = "file://about-b2qt/AboutBoot2Qt.qml;md5=1bf19846314f7b0fa81dc4db92338713;beginline=1;endline=40" |
25 | 25 | ||
26 | inherit qmake5 sdk-sources | 26 | inherit qmake5 |
27 | 27 | ||
28 | SRC_URI = " \ | 28 | SRC_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" | |||
24 | LIC_FILES_CHKSUM = "file://src/main.cpp;md5=1fcdf6b49fbbf2bc9c831893cca1b279;beginline=1;endline=17" | 24 | LIC_FILES_CHKSUM = "file://src/main.cpp;md5=1fcdf6b49fbbf2bc9c831893cca1b279;beginline=1;endline=17" |
25 | 25 | ||
26 | inherit qmake5 | 26 | inherit qmake5 |
27 | require recipes-qt/qt5/qt5-git.inc | ||
27 | 28 | ||
28 | SRC_URI = " \ | 29 | QT_MODULE = "qt-apps-boot2qt-launcher" |
29 | git://codereview.qt-project.org/qt-apps/boot2qt-launcher;branch=${BRANCH};protocol=http \ | 30 | |
31 | SRC_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 | ||
35 | SRCREV = "f5aaf9297648b397ee8fecb0a494b4774e130422" | 37 | SRCREV = "f5aaf9297648b397ee8fecb0a494b4774e130422" |
36 | BRANCH = "5.6" | ||
37 | PV = "5.6+git${SRCPV}" | ||
38 | |||
39 | S = "${WORKDIR}/git" | ||
40 | 38 | ||
41 | DEPENDS = "qtbase qtdeclarative \ | 39 | DEPENDS = "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" | |||
23 | LICENSE = "QtEnterprise" | 23 | LICENSE = "QtEnterprise" |
24 | LIC_FILES_CHKSUM = "file://main.cpp;md5=56e7f80d726792929d5d089852de7cde;beginline=1;endline=39" | 24 | LIC_FILES_CHKSUM = "file://main.cpp;md5=56e7f80d726792929d5d089852de7cde;beginline=1;endline=39" |
25 | 25 | ||
26 | inherit qmake5 sdk-sources | 26 | inherit qmake5 |
27 | require recipes-qt/qt5/qt5-git.inc | ||
27 | 28 | ||
28 | SRC_URI = " \ | 29 | QT_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 | ||
32 | SRCREV = "b6217fb2bb7702324da2a9f3f45be4a60e6ffe6c" | 31 | SRCREV = "b6217fb2bb7702324da2a9f3f45be4a60e6ffe6c" |
33 | BRANCH = "5.6" | ||
34 | PV = "5.6+git${SRCPV}" | ||
35 | 32 | ||
36 | S = "${WORKDIR}/git/wayland/democompositor/" | 33 | S = "${WORKDIR}/git/wayland/democompositor/" |
37 | 34 | ||