diff options
Diffstat (limited to 'meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb')
-rw-r--r-- | meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb | 40 |
1 files changed, 13 insertions, 27 deletions
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb index c63de9a..3900abb 100644 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb | |||
@@ -28,7 +28,7 @@ | |||
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | DESCRIPTION = "Boot to Qt Demos" | 30 | DESCRIPTION = "Boot to Qt Demos" |
31 | LICENSE = "BSD | The-Qt-Company-DCLA-2.1" | 31 | LICENSE = "BSD | The-Qt-Company-Commercial" |
32 | LIC_FILES_CHKSUM = "file://about-b2qt/AboutBoot2Qt.qml;md5=b0a1a6eef4a172b0a8cb4dad9a167d91;beginline=1;endline=49" | 32 | LIC_FILES_CHKSUM = "file://about-b2qt/AboutBoot2Qt.qml;md5=b0a1a6eef4a172b0a8cb4dad9a167d91;beginline=1;endline=49" |
33 | 33 | ||
34 | inherit qmake5 | 34 | inherit qmake5 |
@@ -37,21 +37,23 @@ QT_GIT_PROJECT="" | |||
37 | 37 | ||
38 | SRC_URI = " \ | 38 | SRC_URI = " \ |
39 | ${QT_GIT}qt-apps/boot2qt-demos.git;branch=${BRANCH};name=demos \ | 39 | ${QT_GIT}qt-apps/boot2qt-demos.git;branch=${BRANCH};name=demos \ |
40 | https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt_video_720p.webm;name=video1 \ | 40 | https://qt-files.s3.amazonaws.com/examples/Videos/Qt+for+Designers+and+Developers.mp4;name=video1 \ |
41 | https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt+World+Summit+2015+Recap.mp4;name=video2 \ | 41 | https://qt-files.s3.amazonaws.com/examples/Videos/Qt+for+Device+Creation.mp4;name=video2 \ |
42 | https://qt-files.s3.amazonaws.com/examples/Videos/The+Future+is+Written+with+Qt.mp4;name=video3 \ | ||
42 | " | 43 | " |
43 | 44 | ||
44 | PV = "5.11.1+git${SRCPV}" | 45 | PV = "5.11.2+git${SRCPV}" |
45 | 46 | ||
46 | BRANCH = "5.11" | 47 | BRANCH = "5.11" |
47 | BROWSER_BRANCH = "dev" | ||
48 | 48 | ||
49 | SRCREV = "a60eb6782491ca42dd9139ad0a14866cdf064d40" | 49 | SRCREV = "ca03367f33d6430d3ddbbd70edf832bced59ff74" |
50 | 50 | ||
51 | SRC_URI[video1.md5sum] = "56de4dcfd5201952dce9af9c69fcec9b" | 51 | SRC_URI[video1.md5sum] = "25d9e963a02675a4f3ba83abeebb32da" |
52 | SRC_URI[video1.sha256sum] = "809123419acac99353439e52c870e2e497dfa8f434ef0777e6c7303e6ad27f89" | 52 | SRC_URI[video1.sha256sum] = "33125518c2eb7848f378ddb6bebaf39f3327c92f1e33daa7fc09e4260e54d54a" |
53 | SRC_URI[video2.md5sum] = "e03422de1dba27189872e7d579e7da1b" | 53 | SRC_URI[video2.md5sum] = "828f4babda370b5d73688ff833e95583" |
54 | SRC_URI[video2.sha256sum] = "651e0b4d2b3272dc10bfc9edba4f0c1a7084cd087c75e8a098f7ba3454c7e485" | 54 | SRC_URI[video2.sha256sum] = "eba7d3322e63ce47c3433e920f423febfc3533ab05d13ca2f09a4af7d8c6bc44" |
55 | SRC_URI[video3.md5sum] = "00966663950a8e7ddcfd6def2a87d57a" | ||
56 | SRC_URI[video3.sha256sum] = "b20ba98464e85cb979f1c505387b0407c4fbec2eaa2170d1360a77ec4c1c2700" | ||
55 | 57 | ||
56 | S = "${WORKDIR}/git/basicsuite" | 58 | S = "${WORKDIR}/git/basicsuite" |
57 | 59 | ||
@@ -86,23 +88,7 @@ do_install_append() { | |||
86 | rm -rf ${D}/data/user/qt/qtwebbrowser/qmldir | 88 | rm -rf ${D}/data/user/qt/qtwebbrowser/qmldir |
87 | 89 | ||
88 | install -d -m 0755 ${D}/data/videos | 90 | install -d -m 0755 ${D}/data/videos |
89 | install -m 0644 ${WORKDIR}/Qt_video_720p.webm ${D}/data/videos | 91 | install -m 0644 ${WORKDIR}/*.mp4 ${D}/data/videos |
90 | install -m 0644 ${WORKDIR}/Qt+World+Summit+2015+Recap.mp4 ${D}/data/videos | ||
91 | |||
92 | # Common settings | ||
93 | cp ${D}/data/user/qt/shared/settings.js ${D}/data/user/qt/enterprise-charts/ | ||
94 | cp ${D}/data/user/qt/shared/settings.js ${D}/data/user/qt/graphicaleffects/ | ||
95 | cp ${D}/data/user/qt/shared/settings.js ${D}/data/user/qt/mediaplayer/ | ||
96 | |||
97 | # Image paths | ||
98 | sed -i 's#arrow.png#images/arrow.png#' ${D}/data/user/qt/qtquickcontrols2/*.qml | ||
99 | sed -i 's#qt-logo.png#images/qt-logo.png#' ${D}/data/user/qt/qtquickcontrols2/*.qml | ||
100 | sed -i 's#back.png#icons/gallery/20x20/back.png#' ${D}/data/user/qt/qtquickcontrols2/*.qml | ||
101 | sed -i 's#drawer.png#icons/gallery/20x20/drawer.png#' ${D}/data/user/qt/qtquickcontrols2/*.qml | ||
102 | sed -i 's#menu.png#icons/gallery/20x20/menu.png#' ${D}/data/user/qt/qtquickcontrols2/*.qml | ||
103 | |||
104 | # Page references (source: "SomePage.qml" -> source: "pages/SomePage.qml") | ||
105 | sed -i 's#source: \"\(.*\)Page.qml#source: \"pages/\1Page.qml#' ${D}/data/user/qt/qtquickcontrols2/main.qml | ||
106 | } | 92 | } |
107 | 93 | ||
108 | FILES_${PN} += " \ | 94 | FILES_${PN} += " \ |