summaryrefslogtreecommitdiffstats
path: root/recipes-qt/b2qt-addons
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2016-01-15 11:24:38 +0200
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2016-01-20 14:19:31 +0000
commit036853fad371a90d3aea83de1cc5c3152dfb615c (patch)
treef402d96ab552ad060a91c8ee3c7dc722a578e890 /recipes-qt/b2qt-addons
parent7dace93a31689e3698b4eb86a824690966842fe0 (diff)
downloadmeta-boot2qt-036853fad371a90d3aea83de1cc5c3152dfb615c.tar.gz
b2qt-demos: update to latest demos
QtWebBrowser included, download new videos from web, update qtlauncher Task-number: QTRD-3785 Task-number: QTRD-3794 Change-Id: Iaeca03851066346aa1cee0b2e76b6995a83c8e50 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'recipes-qt/b2qt-addons')
-rw-r--r--recipes-qt/b2qt-addons/b2qt-demos.bb49
-rw-r--r--recipes-qt/b2qt-addons/b2qt-launcher.bb6
2 files changed, 36 insertions, 19 deletions
diff --git a/recipes-qt/b2qt-addons/b2qt-demos.bb b/recipes-qt/b2qt-addons/b2qt-demos.bb
index cdea63d..dff8f61 100644
--- a/recipes-qt/b2qt-addons/b2qt-demos.bb
+++ b/recipes-qt/b2qt-addons/b2qt-demos.bb
@@ -27,19 +27,28 @@ LIC_FILES_CHKSUM = "file://sensors/Accelbubble.qml;md5=1bf19846314f7b0fa81dc4db9
27inherit qmake5 sdk-sources 27inherit qmake5 sdk-sources
28 28
29SRC_URI = " \ 29SRC_URI = " \
30 git://codereview.qt-project.org/tqtc-boot2qt/demos;branch=${BRANCH};protocol=ssh;name=demos;sdk-uri=5.5/Boot2Qt/sources/b2qt-demos \ 30 git://codereview.qt-project.org/tqtc-boot2qt/demos.git;branch=${BRANCH};protocol=ssh;name=demos;sdk-uri=5.6/Boot2Qt/sources/b2qt-demos \
31 git://code.qt.io/qt-labs/qt5-everywhere-demo.git;protocol=git;name=everywhere;destsuffix=qt5-everywhere-demo \ 31 ${QT_GIT}/qt-labs-qt5-everywhere-demo.git;protocol=git;name=everywhere;destsuffix=qt5-everywhere-demo \
32 git://code.qt.io/qt/qtcanvas3d.git;branch=${QT_BRANCH};protocol=git;name=qtcanvas3d;destsuffix=qtcanvas3d \ 32 ${QT_GIT}/qtcanvas3d.git;branch=${QT_BRANCH};name=qtcanvas3d;destsuffix=qtcanvas3d \
33 git://code.qt.io/qt/qtquickcontrols.git;branch=${QT_BRANCH};protocol=git;name=qtquickcontrols;destsuffix=qtquickcontrols \ 33 ${QT_GIT}/qtquickcontrols.git;branch=${QT_BRANCH};name=qtquickcontrols;destsuffix=qtquickcontrols \
34 git://codereview.qt-project.org/qt-apps/tqtc-qtwebbrowser.git;branch=${BROWSER_BRANCH};protocol=ssh;name=qtwebbrowser;destsuffix=git/basicsuite/qtwebbrowser/tqtc-qtwebbrowser;sdk-uri=5.6/Boot2Qt/sources/b2qt-demos/basicsuite/qtwebbrowser/tqtc-qtwebbrowser \
35 https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt_video_720p.webm;name=video1 \
36 https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt+World+Summit+2015+Recap.mp4;name=video2 \
34 " 37 "
35 38
36BRANCH = "5.5" 39BRANCH = "dev"
37QT_BRANCH = "5.5" 40BROWSER_BRANCH = "dev"
38SRCREV_demos = "017d5d428688ca78220e073c393df27936545f14" 41QT_BRANCH = "5.6"
42SRCREV_demos = "d40942e1d31dc38c101217dc3a0bc18d88bf0c99"
39SRCREV_everywhere = "6178748a6ea34df40a8e3c9ce67137e33383bb0e" 43SRCREV_everywhere = "6178748a6ea34df40a8e3c9ce67137e33383bb0e"
40SRCREV_qtcanvas3d = "e372a67c1bbdf695f8e550950a3dbf3106389479" 44SRCREV_qtcanvas3d = "bb1504c271e18a26ad6ac20d55485c167671b1c2"
41SRCREV_qtquickcontrols = "f770dbe9d38214a37e12adb591498dcd1ad0293e" 45SRCREV_qtquickcontrols = "5a992a14da4334364d81ad8d9e0b270ad0bb370d"
46SRCREV_qtwebbrowser = "60a8ef724c11c35413d42ef1ccd118e9c4f6c3c9"
42 47
48SRC_URI[video1.md5sum] = "56de4dcfd5201952dce9af9c69fcec9b"
49SRC_URI[video1.sha256sum] = "809123419acac99353439e52c870e2e497dfa8f434ef0777e6c7303e6ad27f89"
50SRC_URI[video2.md5sum] = "e03422de1dba27189872e7d579e7da1b"
51SRC_URI[video2.sha256sum] = "651e0b4d2b3272dc10bfc9edba4f0c1a7084cd087c75e8a098f7ba3454c7e485"
43 52
44S = "${WORKDIR}/git/basicsuite" 53S = "${WORKDIR}/git/basicsuite"
45 54
@@ -51,14 +60,23 @@ do_install_append() {
51 rm -rf ${D}/data/user/camera 60 rm -rf ${D}/data/user/camera
52 rm -rf ${D}/data/user/sensorexplorer 61 rm -rf ${D}/data/user/sensorexplorer
53 62
63 # we need all qml and content files
54 cp -r ${S}/* ${D}/data/user/qt/ 64 cp -r ${S}/* ${D}/data/user/qt/
55 if [ -d ${S}/../images ]; then 65
56 cp -r ${S}/../images ${D}/data/ 66 # but none of the source files
57 fi 67 find ${D}/data/user/qt/ \( -name '*.cpp' -or -name '*.h' -or -name '*.pro' \) -delete
58 if [ -d ${S}/../videos ]; then 68 rm -rf ${D}/data/user/qt/qtwebbrowser/tqtc-qtwebbrowser/.git
59 cp -r ${S}/../videos ${D}/data/ 69 rm -rf ${D}/data/user/qt/qtwebbrowser/tqtc-qtwebbrowser/mockups
70
71 if [ -d ${WORKDIR}/git/images ]; then
72 install -d 0755 ${D}/data/images
73 install -m 0644 ${WORKDIR}/git/images/* ${D}/data/images/
60 fi 74 fi
61 75
76 install -d -m 0755 ${D}/data/videos
77 install -m 0644 ${WORKDIR}/Qt_video_720p.webm ${D}/data/videos
78 install -m 0644 ${WORKDIR}/Qt+World+Summit+2015+Recap.mp4 ${D}/data/videos
79
62 cp -r ${WORKDIR}/qt5-everywhere-demo/QtDemo/qml ${D}/data/user/qt/qt5-everywhere/ 80 cp -r ${WORKDIR}/qt5-everywhere-demo/QtDemo/qml ${D}/data/user/qt/qt5-everywhere/
63 81
64 # we can't have several top-level windows in b2qt, replace Window -> Rectangle 82 # we can't have several top-level windows in b2qt, replace Window -> Rectangle
@@ -107,6 +125,5 @@ FILES_${PN} += " \
107 " 125 "
108 126
109FILES_${PN}-dbg += " \ 127FILES_${PN}-dbg += " \
110 /data/user/*/.debug/ \ 128 /data/user/qt/qmlplugins/*/.debug/ \
111 /data/user/qt/*/*/.debug/ \
112 " 129 "
diff --git a/recipes-qt/b2qt-addons/b2qt-launcher.bb b/recipes-qt/b2qt-addons/b2qt-launcher.bb
index ab02d97..66d17a8 100644
--- a/recipes-qt/b2qt-addons/b2qt-launcher.bb
+++ b/recipes-qt/b2qt-addons/b2qt-launcher.bb
@@ -27,14 +27,14 @@ LIC_FILES_CHKSUM = "file://src/main.cpp;md5=1fcdf6b49fbbf2bc9c831893cca1b279;beg
27inherit qmake5 sdk-sources 27inherit qmake5 sdk-sources
28 28
29SRC_URI = " \ 29SRC_URI = " \
30 git://codereview.qt-project.org/tqtc-boot2qt/launcher;branch=${BRANCH};protocol=ssh;sdk-uri=5.5/Boot2Qt/sources/b2qt-launcher \ 30 git://codereview.qt-project.org/tqtc-boot2qt/launcher;branch=${BRANCH};protocol=ssh;sdk-uri=5.6/Boot2Qt/sources/b2qt-launcher \
31 file://b2qt-startup.sh \ 31 file://b2qt-startup.sh \
32 file://qtlauncher.service \ 32 file://qtlauncher.service \
33 file://b2qt.service \ 33 file://b2qt.service \
34 " 34 "
35 35
36SRCREV = "e824e206f28eb20bcb6f1d9064990f5e927261f4" 36SRCREV = "81c95946aec152090810da6218ef8d33963368a6"
37BRANCH = "5.5" 37BRANCH = "dev"
38 38
39S = "${WORKDIR}/git" 39S = "${WORKDIR}/git"
40 40