diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-03-31 11:01:04 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-05-12 14:47:11 +0300 |
commit | ae4b6421c0bb4771e2cedfcdadd44c04dc8e93f5 (patch) | |
tree | acaecd3b089b341f87dd27384bb800c9b497148d | |
parent | 5fcb893d078d718318ca94bf7f284ef35355c152 (diff) | |
download | meta-boot2qt-ae4b6421c0bb4771e2cedfcdadd44c04dc8e93f5.tar.gz |
Build Qt5 and all addons
Use meta-qt5 layer to build Qt5, commercial addons and b2qt addons.
Create new image and toolchain recipes with Qt5 content, so that the
existing image and toolchain remain as-is without Qt5.
Currently support only for imx6 targets.
Change-Id: I398750dd1a62c6ff8ea216cfe364da273d8e9a77
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
35 files changed, 1065 insertions, 4 deletions
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf index f4771f2..08bebd4 100644 --- a/conf/distro/b2qt.conf +++ b/conf/distro/b2qt.conf | |||
@@ -57,4 +57,7 @@ IMAGE_FSTYPES = "tar.gz" | |||
57 | LICENSE_CREATE_PACKAGE = "1" | 57 | LICENSE_CREATE_PACKAGE = "1" |
58 | COPY_LIC_MANIFEST = "1" | 58 | COPY_LIC_MANIFEST = "1" |
59 | 59 | ||
60 | QT5_VERSION = "5.4.1" | ||
61 | include conf/distro/include/qt5-versions.inc | ||
62 | |||
60 | include conf/distro/include/${MACHINE}.conf | 63 | include conf/distro/include/${MACHINE}.conf |
diff --git a/conf/distro/include/am335x-evm.conf b/conf/distro/include/am335x-evm.conf index dffbe94..3c32f49 100644 --- a/conf/distro/include/am335x-evm.conf +++ b/conf/distro/include/am335x-evm.conf | |||
@@ -26,6 +26,9 @@ BOOTFS_CONTENT = "\ | |||
26 | " | 26 | " |
27 | BOOTFS_DEPENDS = "u-boot:do_deploy" | 27 | BOOTFS_DEPENDS = "u-boot:do_deploy" |
28 | 28 | ||
29 | PREFERRED_PROVIDER_virtual/egl = "libgles-omap3" | ||
30 | PREFERRED_PROVIDER_virtual/libgles2 = "libgles-omap3" | ||
31 | |||
29 | PREFERRED_VERSION_libgles-omap3 = "5.01.01.01" | 32 | PREFERRED_VERSION_libgles-omap3 = "5.01.01.01" |
30 | PREFERRED_VERSION_omap3-sgx-modules = "5.01.01.01" | 33 | PREFERRED_VERSION_omap3-sgx-modules = "5.01.01.01" |
31 | 34 | ||
diff --git a/conf/distro/include/beagleboard.conf b/conf/distro/include/beagleboard.conf index 87c986c..b597481 100644 --- a/conf/distro/include/beagleboard.conf +++ b/conf/distro/include/beagleboard.conf | |||
@@ -26,6 +26,9 @@ BOOTFS_CONTENT = "\ | |||
26 | " | 26 | " |
27 | BOOTFS_DEPENDS = "u-boot:do_deploy" | 27 | BOOTFS_DEPENDS = "u-boot:do_deploy" |
28 | 28 | ||
29 | PREFERRED_PROVIDER_virtual/egl = "libgles-omap3" | ||
30 | PREFERRED_PROVIDER_virtual/libgles2 = "libgles-omap3" | ||
31 | |||
29 | PREFERRED_VERSION_libgles-omap3 = "4.09.00.01" | 32 | PREFERRED_VERSION_libgles-omap3 = "4.09.00.01" |
30 | PREFERRED_VERSION_omap3-sgx-modules = "4.09.00.01" | 33 | PREFERRED_VERSION_omap3-sgx-modules = "4.09.00.01" |
31 | 34 | ||
diff --git a/conf/distro/include/beaglebone.conf b/conf/distro/include/beaglebone.conf index 96662d6..dea5330 100644 --- a/conf/distro/include/beaglebone.conf +++ b/conf/distro/include/beaglebone.conf | |||
@@ -27,6 +27,9 @@ EXTRA_IMAGEDEPENDS += "u-boot-uenv-script" | |||
27 | PREFERRED_VERSION_libgles-omap3 = "4.10.00.01" | 27 | PREFERRED_VERSION_libgles-omap3 = "4.10.00.01" |
28 | PREFERRED_VERSION_omap3-sgx-modules = "4.10.00.01" | 28 | PREFERRED_VERSION_omap3-sgx-modules = "4.10.00.01" |
29 | 29 | ||
30 | PREFERRED_PROVIDER_virtual/egl = "libgles-omap3" | ||
31 | PREFERRED_PROVIDER_virtual/libgles2 = "libgles-omap3" | ||
32 | |||
30 | PREFERRED_PROVIDER_u-boot = "u-boot" | 33 | PREFERRED_PROVIDER_u-boot = "u-boot" |
31 | EXTRA_IMAGEDEPENDS_remove = "u-boot-denx" | 34 | EXTRA_IMAGEDEPENDS_remove = "u-boot-denx" |
32 | UBOOT_MACHINE = "am335x_boneblack_config" | 35 | UBOOT_MACHINE = "am335x_boneblack_config" |
diff --git a/conf/distro/include/colibri-vf.conf b/conf/distro/include/colibri-vf.conf index 483511c..715bd62 100644 --- a/conf/distro/include/colibri-vf.conf +++ b/conf/distro/include/colibri-vf.conf | |||
@@ -30,6 +30,9 @@ BOOTFS_CONTENT = "\ | |||
30 | " | 30 | " |
31 | BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy" | 31 | BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy" |
32 | 32 | ||
33 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" | ||
34 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | ||
35 | |||
33 | MACHINE_EXTRA_INSTALL = "\ | 36 | MACHINE_EXTRA_INSTALL = "\ |
34 | opengldummy \ | 37 | opengldummy \ |
35 | " | 38 | " |
diff --git a/conf/distro/include/raspberrypi2.conf b/conf/distro/include/raspberrypi2.conf index 23b457a..28989aa 100644 --- a/conf/distro/include/raspberrypi2.conf +++ b/conf/distro/include/raspberrypi2.conf | |||
@@ -26,15 +26,13 @@ BOOTFS_CONTENT = "\ | |||
26 | " | 26 | " |
27 | BOOTFS_DEPENDS = "bcm2835-bootfiles:do_deploy virtual/kernel:do_deploy" | 27 | BOOTFS_DEPENDS = "bcm2835-bootfiles:do_deploy virtual/kernel:do_deploy" |
28 | 28 | ||
29 | PREFERRED_PROVIDER_virtual/libgles1 = "vc-graphics-hardfp" | ||
30 | |||
31 | MACHINE_EXTRA_INSTALL = "\ | 29 | MACHINE_EXTRA_INSTALL = "\ |
32 | vc-graphics-hardfp \ | 30 | userland \ |
33 | omxplayer \ | 31 | omxplayer \ |
34 | " | 32 | " |
35 | 33 | ||
36 | MACHINE_EXTRA_INSTALL_SDK = " \ | 34 | MACHINE_EXTRA_INSTALL_SDK = " \ |
37 | vc-graphics-hardfp-dev \ | 35 | userland \ |
38 | " | 36 | " |
39 | 37 | ||
40 | KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2" | 38 | KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2" |
diff --git a/conf/layer.conf b/conf/layer.conf index 97eb8ae..ea30841 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -33,3 +33,4 @@ BBFILE_PATTERN_b2qt := "^${LAYERDIR}/" | |||
33 | BBFILE_PRIORITY_b2qt = "20" | 33 | BBFILE_PRIORITY_b2qt = "20" |
34 | 34 | ||
35 | LICENSE_PATH += "${LAYERDIR}/licenses" | 35 | LICENSE_PATH += "${LAYERDIR}/licenses" |
36 | QT_LICENCE = "${LAYERDIR}/licenses/QtEnterprise" | ||
diff --git a/meta-fsl-extras/recipes/qt5/qtbase_%.bbappend b/meta-fsl-extras/recipes/qt5/qtbase_%.bbappend new file mode 100644 index 0000000..11fbab1 --- /dev/null +++ b/meta-fsl-extras/recipes/qt5/qtbase_%.bbappend | |||
@@ -0,0 +1,38 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | do_configure_prepend_mx6() { | ||
24 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | ||
25 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
26 | IMX6_CFLAGS = -DLINUX=1 -DEGL_API_FB=1 | ||
27 | QMAKE_LIBS_EGL += -lEGL | ||
28 | QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL -lGAL | ||
29 | QMAKE_LIBS_OPENVG += -lOpenVG -lEGL -lGAL | ||
30 | QMAKE_CFLAGS += \$\$IMX6_CFLAGS | ||
31 | QMAKE_CXXFLAGS += \$\$IMX6_CFLAGS | ||
32 | |||
33 | EGLFS_PLATFORM_HOOKS_SOURCES = \$\$PWD/../devices/linux-imx6-g++/qeglfshooks_imx6.cpp | ||
34 | |||
35 | load(qt_config) | ||
36 | |||
37 | EOF | ||
38 | } | ||
diff --git a/meta-raspberrypi-extras/recipes/qt5/qtbase_%.bbappend b/meta-raspberrypi-extras/recipes/qt5/qtbase_%.bbappend new file mode 100644 index 0000000..92e08b7 --- /dev/null +++ b/meta-raspberrypi-extras/recipes/qt5/qtbase_%.bbappend | |||
@@ -0,0 +1,42 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | do_configure_prepend_rpi() { | ||
24 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | ||
25 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
26 | RPI_CFLAGS = -DLINUX=1 -DEGL_API_FB=1 | ||
27 | |||
28 | QMAKE_INCDIR_EGL = \$\$[QT_SYSROOT]/usr/include/interface/vcos/pthreads \ | ||
29 | \$\$[QT_SYSROOT]/usr/include/interface/vmcs_host/linux | ||
30 | QMAKE_INCDIR_OPENGL_ES2 = \$\${QMAKE_INCDIR_EGL} | ||
31 | |||
32 | QMAKE_LIBS_EGL = -lEGL -lGLESv2 | ||
33 | QMAKE_CFLAGS += \$\$RPI_CFLAGS | ||
34 | QMAKE_CXXFLAGS += \$\$RPI_CFLAGS | ||
35 | |||
36 | EGLFS_PLATFORM_HOOKS_SOURCES = \$\$PWD/../devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp | ||
37 | EGLFS_PLATFORM_HOOKS_LIBS = -lbcm_host | ||
38 | |||
39 | load(qt_config) | ||
40 | |||
41 | EOF | ||
42 | } | ||
diff --git a/meta-ti-extras/recipes/qt5/qtbase_%.bbappend b/meta-ti-extras/recipes/qt5/qtbase_%.bbappend new file mode 100644 index 0000000..ada9f02 --- /dev/null +++ b/meta-ti-extras/recipes/qt5/qtbase_%.bbappend | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | do_configure_prepend_rpi() { | ||
24 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | ||
25 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
26 | |||
27 | QMAKE_LIBS_EGL = -lEGL -lIMGegl -lsrv_um | ||
28 | QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 \$\${QMAKE_LIBS_EGL} | ||
29 | QMAKE_LIBS_OPENVG = -lOpenVG \$\${QMAKE_LIBS_EGL} | ||
30 | |||
31 | load(qt_config) | ||
32 | EOF | ||
33 | } | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller.bb b/recipes-qt/b2qt-addons/b2qt-appcontroller.bb new file mode 100644 index 0000000..05287d1 --- /dev/null +++ b/recipes-qt/b2qt-addons/b2qt-appcontroller.bb | |||
@@ -0,0 +1,51 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Boot to Qt Appcontroller" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://main.cpp;md5=1fcdf6b49fbbf2bc9c831893cca1b279;beginline=1;endline=17" | ||
26 | |||
27 | inherit qmake5 | ||
28 | |||
29 | SRC_URI = " \ | ||
30 | git://qt-gerrit.it.local/QtRD-15810/b2qt-appcontroller;branch=${QT_BRANCH};protocol=ssh \ | ||
31 | file://appcontroller.conf \ | ||
32 | " | ||
33 | |||
34 | SRCREV = "cac8839211fc5bb53592d3d04c344834c4c054df" | ||
35 | QT_BRANCH = "stable" | ||
36 | |||
37 | S = "${WORKDIR}/git" | ||
38 | |||
39 | DEPENDS = "qtbase" | ||
40 | |||
41 | do_configure_append() { | ||
42 | sed -i -e '/^platform=/d' ${WORKDIR}/appcontroller.conf | ||
43 | echo platform=${MACHINE} >> ${WORKDIR}/appcontroller.conf | ||
44 | } | ||
45 | |||
46 | do_install_append() { | ||
47 | install -m 0755 -d ${D}${sysconfdir} | ||
48 | install -m 0755 ${WORKDIR}/appcontroller.conf ${D}${sysconfdir}/ | ||
49 | } | ||
50 | |||
51 | FILES_${PN} += "${sysconfdir}/appcontroller.conf" | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf new file mode 100644 index 0000000..cefd3a9 --- /dev/null +++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf | |||
@@ -0,0 +1,5 @@ | |||
1 | env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins | ||
2 | env=QT_IM_MODULE=qtvirtualkeyboard | ||
3 | env=QT_QPA_EGLFS_FORCE888=0 | ||
4 | env=QT_QUICK_CONTROLS_STYLE=Flat | ||
5 | base=linux | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf new file mode 100644 index 0000000..ff4d0da --- /dev/null +++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf | |||
@@ -0,0 +1,7 @@ | |||
1 | env=QMLSCENE_DEVICE=softwarecontext | ||
2 | env=QT_QPA_PLATFORM=linuxfb | ||
3 | env=QSG_RENDER_LOOP=basic | ||
4 | env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins | ||
5 | env=QT_IM_MODULE=qtvirtualkeyboard | ||
6 | env=QT_QUICK_CONTROLS_STYLE=Flat | ||
7 | base=linux | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf new file mode 100644 index 0000000..8960985 --- /dev/null +++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf | |||
@@ -0,0 +1,7 @@ | |||
1 | env=FB_MULTI_BUFFER=2 | ||
2 | env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins | ||
3 | env=QT_IM_MODULE=qtvirtualkeyboard | ||
4 | env=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0 | ||
5 | env=QT_GSTREAMER_CAMERABIN_VIDEOSRC=mxc_v4l2=mfw_v4lsrc,v4l2src | ||
6 | env=QT_QUICK_CONTROLS_STYLE=Flat | ||
7 | base=linux | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf new file mode 100644 index 0000000..bc143da --- /dev/null +++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf | |||
@@ -0,0 +1,5 @@ | |||
1 | env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins | ||
2 | env=QT_IM_MODULE=qtvirtualkeyboard | ||
3 | env=QT_QPA_EGLFS_FORCE888=1 | ||
4 | env=QT_QUICK_CONTROLS_STYLE=Flat | ||
5 | base=linux | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-demos.bb b/recipes-qt/b2qt-addons/b2qt-demos.bb new file mode 100644 index 0000000..d031b0a --- /dev/null +++ b/recipes-qt/b2qt-addons/b2qt-demos.bb | |||
@@ -0,0 +1,68 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Boot to Qt Demos" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://sensors/Accelbubble.qml;md5=1bf19846314f7b0fa81dc4db92338713;beginline=1;endline=40" | ||
26 | |||
27 | inherit qmake5 | ||
28 | |||
29 | SRC_URI = " \ | ||
30 | git://qt-gerrit.it.local/QtRD-15810/b2qt-demos;branch=${QT_BRANCH};protocol=ssh;name=demos \ | ||
31 | git://code.qt.io/qt-labs/qt5-everywhere-demo.git;protocol=git;name=everywhere;destsuffix=qt5-everywhere-demo \ | ||
32 | " | ||
33 | QT_BRANCH = "dev" | ||
34 | SRCREV_demos = "d6979299a7809e5b832738c4cf39bba2c9a185eb" | ||
35 | SRCREV_everywhere = "6178748a6ea34df40a8e3c9ce67137e33383bb0e" | ||
36 | GITDIR_everywhere = "${DL_DIR}/qt5-everywhere-demo" | ||
37 | |||
38 | |||
39 | S = "${WORKDIR}/git/basicsuite" | ||
40 | |||
41 | DEPENDS = "qtbase qtdeclarative qtxmlpatterns qtquickcontrols qtgraphicaleffects qtsensors qtmultimedia qtwebengine" | ||
42 | |||
43 | do_install_append() { | ||
44 | # we only need plugins from the demos | ||
45 | rm -rf ${D}/data/user/camera | ||
46 | rm -rf ${D}/data/user/sensorexplorer | ||
47 | |||
48 | cp -r ${S}/* ${D}/data/user/qt/ | ||
49 | cp -r ${S}/../images ${D}/data/ | ||
50 | cp -r ${S}/../videos ${D}/data/ | ||
51 | |||
52 | cp -r ${WORKDIR}/qt5-everywhere-demo/QtDemo/qml ${D}/data/user/qt/qt5-everywhere/ | ||
53 | |||
54 | # we can't have several top-level windows in b2qt, replace Window -> Rectangle | ||
55 | sed -i '/import QtQuick.Window/c\' ${D}/data/user/qt/qt5-everywhere/qml/QtDemo/main.qml | ||
56 | sed -i 's/Window /Rectangle /1' ${D}/data/user/qt/qt5-everywhere/qml/QtDemo/main.qml | ||
57 | } | ||
58 | |||
59 | FILES_${PN} += " \ | ||
60 | /data/images/ \ | ||
61 | /data/videos/ \ | ||
62 | /data/user \ | ||
63 | " | ||
64 | |||
65 | FILES_${PN}-dbg += " \ | ||
66 | /data/user/*/.debug/ \ | ||
67 | /data/user/qt/*/*/.debug/ \ | ||
68 | " | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-launcher.bb b/recipes-qt/b2qt-addons/b2qt-launcher.bb new file mode 100644 index 0000000..9e9c94b --- /dev/null +++ b/recipes-qt/b2qt-addons/b2qt-launcher.bb | |||
@@ -0,0 +1,51 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Boot to Qt Demo Launcher" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://src/main.cpp;md5=1fcdf6b49fbbf2bc9c831893cca1b279;beginline=1;endline=17" | ||
26 | |||
27 | inherit qmake5 | ||
28 | |||
29 | SRC_URI = " \ | ||
30 | git://qt-gerrit.it.local/QtRD-15810/b2qt-launcher;branch=${QT_BRANCH};protocol=ssh \ | ||
31 | file://b2qt-startup.sh \ | ||
32 | " | ||
33 | |||
34 | SRCREV = "e824e206f28eb20bcb6f1d9064990f5e927261f4" | ||
35 | QT_BRANCH = "dev" | ||
36 | |||
37 | S = "${WORKDIR}/git" | ||
38 | |||
39 | DEPENDS = "qtbase qtdeclarative qtwebengine" | ||
40 | |||
41 | do_install_append() { | ||
42 | install -m 0755 -d ${D}${sysconfdir}/init.d | ||
43 | install -m 0755 ${WORKDIR}/b2qt-startup.sh ${D}${sysconfdir}/init.d/ | ||
44 | } | ||
45 | |||
46 | FILES_${PN} += "${sysdir}/init.d/b2qt-startup.h" | ||
47 | |||
48 | INITSCRIPT_NAME = "b2qt-startup.sh" | ||
49 | INITSCRIPT_PARAMS = "defaults 30" | ||
50 | |||
51 | inherit update-rc.d | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-launcher/b2qt-startup.sh b/recipes-qt/b2qt-addons/b2qt-launcher/b2qt-startup.sh new file mode 100755 index 0000000..3acbd65 --- /dev/null +++ b/recipes-qt/b2qt-addons/b2qt-launcher/b2qt-startup.sh | |||
@@ -0,0 +1,42 @@ | |||
1 | #!/bin/sh | ||
2 | ############################################################################# | ||
3 | ## | ||
4 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
5 | ## | ||
6 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
7 | ## framework. | ||
8 | ## | ||
9 | ## $QT_BEGIN_LICENSE$ | ||
10 | ## Commercial License Usage Only | ||
11 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
12 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
13 | ## may use this file in accordance with the terms contained in said license | ||
14 | ## agreement. | ||
15 | ## | ||
16 | ## For further information use the contact form at | ||
17 | ## http://www.qt.io/contact-us. | ||
18 | ## | ||
19 | ## | ||
20 | ## $QT_END_LICENSE$ | ||
21 | ## | ||
22 | ############################################################################# | ||
23 | |||
24 | case "$1" in | ||
25 | start) | ||
26 | if [ -x /data/user/b2qt ]; then | ||
27 | APP="/data/user/b2qt" | ||
28 | elif [ -x /usr/bin/b2qt ]; then | ||
29 | APP="/usr/bin/b2qt" | ||
30 | else | ||
31 | APP="/usr/bin/qtlauncher --applications-root /data/user/qt" | ||
32 | fi | ||
33 | /usr/bin/appcontroller ${APP} & | ||
34 | ;; | ||
35 | stop) | ||
36 | /usr/bin/appcontroller --stop | ||
37 | ;; | ||
38 | *) | ||
39 | echo "Usage: $0 {start|stop}" | ||
40 | exit 1 | ||
41 | esac | ||
42 | exit 0 | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-utils.bb b/recipes-qt/b2qt-addons/b2qt-utils.bb new file mode 100644 index 0000000..e25c1ae --- /dev/null +++ b/recipes-qt/b2qt-addons/b2qt-utils.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Boot to Qt Utils module" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://src/qconnectivity/main.cpp;md5=0b2892e6aca7d0750bbd7fe6b6b1c033;beginline=1;endline=17" | ||
26 | |||
27 | inherit qt5-module | ||
28 | |||
29 | SRC_URI = " \ | ||
30 | git://qt-gerrit.it.local/QtRD-15810/b2qt-utils;branch=${QT_BRANCH};protocol=ssh \ | ||
31 | " | ||
32 | |||
33 | SRCREV = "7b14c47d6adbc6ab3cdfc9d10bef25029215a85f" | ||
34 | QT_BRANCH = "dev" | ||
35 | |||
36 | S = "${WORKDIR}/git" | ||
37 | |||
38 | DEPENDS = "qtbase qtdeclarative wpa-supplicant" | ||
39 | |||
40 | FILES_${PN}-examples-dbg = " \ | ||
41 | /data/user/qt/.debug/* \ | ||
42 | /data/user/qt/wifi-cpp/.debug/* \ | ||
43 | " | ||
44 | |||
45 | FILES_${PN}-examples = " \ | ||
46 | /data/user/qt/wifi-cpp/wifi-cpp \ | ||
47 | /data/user/qt/wifi-qml \ | ||
48 | " | ||
diff --git a/recipes-qt/images/b2qt-embedded-qt5-image.bb b/recipes-qt/images/b2qt-embedded-qt5-image.bb new file mode 100644 index 0000000..4631a58 --- /dev/null +++ b/recipes-qt/images/b2qt-embedded-qt5-image.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "B2Qt embedded Qt5 image" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://${QT_LICENCE};md5=7bc9c54e450006250a60e96604c186c9" | ||
26 | PR = "r0" | ||
27 | |||
28 | IMAGE_FEATURES += "\ | ||
29 | package-management \ | ||
30 | ssh-server-dropbear \ | ||
31 | tools-debug \ | ||
32 | debug-tweaks \ | ||
33 | hwcodecs \ | ||
34 | " | ||
35 | |||
36 | inherit core-image | ||
37 | inherit bootfs-image | ||
38 | |||
39 | IMAGE_INSTALL += "\ | ||
40 | packagegroup-b2qt-embedded-base \ | ||
41 | packagegroup-b2qt-embedded-tools \ | ||
42 | packagegroup-b2qt-embedded-gstreamer \ | ||
43 | packagegroup-b2qt-embedded-qt5 \ | ||
44 | packagegroup-b2qt-embedded-qt5-addons \ | ||
45 | " | ||
diff --git a/recipes-qt/meta/meta-toolchain-b2qt-embedded-qt5-sdk.bb b/recipes-qt/meta/meta-toolchain-b2qt-embedded-qt5-sdk.bb new file mode 100644 index 0000000..1199da9 --- /dev/null +++ b/recipes-qt/meta/meta-toolchain-b2qt-embedded-qt5-sdk.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "B2Qt embedded Qt5 SDK toolchain" | ||
24 | PR = "r0" | ||
25 | LICENSE = "QtEnterprise" | ||
26 | LIC_FILES_CHKSUM = "file://${QT_LICENCE};md5=7bc9c54e450006250a60e96604c186c9" | ||
27 | |||
28 | inherit populate_sdk populate_sdk_qt5 | ||
29 | |||
30 | TOOLCHAIN_HOST_TASK += "nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host" | ||
31 | TOOLCHAIN_TARGET_TASK += "packagegroup-b2qt-embedded-qt5-toolchain-target" | ||
diff --git a/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb b/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb new file mode 100644 index 0000000..1979879 --- /dev/null +++ b/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Host packages for B2Qt embedded Qt5 SDK" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | PR = "r0" | ||
26 | |||
27 | inherit nativesdk packagegroup | ||
28 | |||
29 | RDEPENDS_${PN} += "\ | ||
30 | nativesdk-packagegroup-b2qt-embedded-toolchain-host \ | ||
31 | nativesdk-qttools \ | ||
32 | nativesdk-qtbase-tools \ | ||
33 | nativesdk-qtbase-tools-staticdev \ | ||
34 | " | ||
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-addons-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-addons-toolchain-target.bb new file mode 100644 index 0000000..66e7457 --- /dev/null +++ b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-addons-toolchain-target.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Qt5 addons toolchain packages" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | |||
26 | inherit packagegroup | ||
27 | |||
28 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
29 | |||
30 | RDEPENDS_${PN} += " \ | ||
31 | qtdatavisualization-dev \ | ||
32 | qtenterprisecontrols-dev \ | ||
33 | qtcharts-dev \ | ||
34 | qtvirtualkeyboard-dev \ | ||
35 | b2qt-utils-dev \ | ||
36 | " | ||
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-addons.bb b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-addons.bb new file mode 100644 index 0000000..3ba3f83 --- /dev/null +++ b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-addons.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Qt5 addons packages" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | |||
26 | inherit packagegroup | ||
27 | |||
28 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
29 | |||
30 | RDEPENDS_${PN} += " \ | ||
31 | qtdatavisualization \ | ||
32 | qtquickenterprisecontrols \ | ||
33 | qtquickenterprisecontrols-fonts \ | ||
34 | qtcharts \ | ||
35 | qtvirtualkeyboard \ | ||
36 | b2qt-appcontroller \ | ||
37 | b2qt-utils \ | ||
38 | b2qt-launcher \ | ||
39 | b2qt-demos \ | ||
40 | " | ||
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb new file mode 100644 index 0000000..d740991 --- /dev/null +++ b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb | |||
@@ -0,0 +1,55 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Target packages for B2Qt embedded Qt5 SDK" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | PR = "r0" | ||
26 | |||
27 | inherit packagegroup | ||
28 | |||
29 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
30 | |||
31 | RDEPENDS_${PN} += " \ | ||
32 | packagegroup-b2qt-embedded-toolchain-target \ | ||
33 | qt3d-dev \ | ||
34 | qtbase-dev \ | ||
35 | qtbase-staticdev \ | ||
36 | qtconnectivity-dev \ | ||
37 | qtdeclarative-dev \ | ||
38 | qtdeclarative-staticdev \ | ||
39 | qtgraphicaleffects-dev \ | ||
40 | qtimageformats-dev \ | ||
41 | qtlocation-dev \ | ||
42 | qtmultimedia-dev \ | ||
43 | qtsensors-dev \ | ||
44 | qtserialport-dev \ | ||
45 | qtsvg-dev \ | ||
46 | qtsystems-dev \ | ||
47 | qttools-dev \ | ||
48 | qttools-staticdev \ | ||
49 | ${@base_contains('DISTRO_FEATURES', 'wayland', 'qtwayland-dev', '', d)} \ | ||
50 | qtwebsockets-dev \ | ||
51 | qtwebchannel-dev \ | ||
52 | qtxmlpatterns-dev \ | ||
53 | qtquickcontrols-dev \ | ||
54 | qtwebengine-dev \ | ||
55 | " | ||
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5.bb b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5.bb new file mode 100644 index 0000000..970da82 --- /dev/null +++ b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Qt5 modules" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | |||
26 | inherit packagegroup | ||
27 | |||
28 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
29 | |||
30 | RDEPENDS_${PN} += " \ | ||
31 | qtbase \ | ||
32 | qtbase-fonts \ | ||
33 | qtconnectivity \ | ||
34 | qtdeclarative \ | ||
35 | qtdeclarative-tools \ | ||
36 | qtgraphicaleffects \ | ||
37 | qtimageformats \ | ||
38 | qtlocation \ | ||
39 | qtmultimedia \ | ||
40 | qtsensors \ | ||
41 | qtserialport \ | ||
42 | qtsvg \ | ||
43 | qtwebsockets \ | ||
44 | qtxmlpatterns \ | ||
45 | qtquickcontrols \ | ||
46 | qtwebengine \ | ||
47 | " | ||
diff --git a/recipes-qt/qt5-addons/qtcharts_2.0.bb b/recipes-qt/qt5-addons/qtcharts_2.0.bb new file mode 100644 index 0000000..4b350de --- /dev/null +++ b/recipes-qt/qt5-addons/qtcharts_2.0.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Qt Charts" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://src/charts/qchart.cpp;md5=735b3be820c0a733e328a4d2e1e430de;beginline=1;endline=17" | ||
26 | |||
27 | inherit qt5-module | ||
28 | |||
29 | SRC_URI = " \ | ||
30 | git://qt-gerrit.it.local/QtRD-15810/charts.git;branch=${QT_BRANCH};protocol=ssh \ | ||
31 | " | ||
32 | |||
33 | SRCREV = "f818972d3617493c74d694184aa877f606e1a5a0" | ||
34 | QT_BRANCH = "master" | ||
35 | |||
36 | S = "${WORKDIR}/git" | ||
37 | |||
38 | DEPENDS = "qtbase qtdeclarative qtmultimedia" | ||
39 | |||
40 | PACKAGES =+ "${PN}-designer" | ||
41 | DEBIAN_NOAUTONAME_${PN}-designer = "1" | ||
42 | |||
43 | FILES_${PN}-designer = " \ | ||
44 | ${OE_QMAKE_PATH_QML}/QtCharts/designer \ | ||
45 | " | ||
46 | |||
47 | RRECOMMENDS_${PN}-dev += "${PN}-designer" | ||
diff --git a/recipes-qt/qt5-addons/qtdatavisualization_1.2.bb b/recipes-qt/qt5-addons/qtdatavisualization_1.2.bb new file mode 100644 index 0000000..759bb44 --- /dev/null +++ b/recipes-qt/qt5-addons/qtdatavisualization_1.2.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Qt Data Visualization" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://src/datavisualization/global/datavisualizationglobal_p.h;md5=b6f0a53c44e6ba165a7d2dbd58832be5;beginline=1;endline=17" | ||
26 | |||
27 | inherit qt5-module | ||
28 | |||
29 | SRC_URI = " \ | ||
30 | git://qt-gerrit.it.local/QtRD-15810/qtdatavis3d.git;branch=${QT_BRANCH};protocol=ssh \ | ||
31 | " | ||
32 | |||
33 | # v1.2.0 | ||
34 | SRCREV = "62f90e25eec23cfac83985993f355feeac5b9f2c" | ||
35 | QT_BRANCH = "master" | ||
36 | |||
37 | S = "${WORKDIR}/git" | ||
38 | |||
39 | DEPENDS += "qtbase qtdeclarative qtmultimedia" | ||
40 | |||
41 | FILES_${PN}-qmlplugins += " \ | ||
42 | ${OE_QMAKE_PATH_QML}/QtDataVisualization/designer/* \ | ||
43 | " | ||
diff --git a/recipes-qt/qt5-addons/qtquick2drenderer.bb b/recipes-qt/qt5-addons/qtquick2drenderer.bb new file mode 100644 index 0000000..59fd2fe --- /dev/null +++ b/recipes-qt/qt5-addons/qtquick2drenderer.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Qt Quick 2D Rendender" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://src/plugins/scenegraph/softwarecontext/softwarelayer.cpp;md5=d90663d6d3096fe0989549d52fec6554;beginline=1;endline=17" | ||
26 | |||
27 | inherit qt5-module | ||
28 | |||
29 | SRC_URI = " \ | ||
30 | git://qt-gerrit.ci.local/QtRD-15810/scenegraph-raster.git;branch=${QT_BRANCH};protocol=ssh \ | ||
31 | " | ||
32 | |||
33 | SRCREV = "97c310f3a18a5aaebf8c102ceaba1f6a093faf6b" | ||
34 | QT_BRANCH = "master" | ||
35 | |||
36 | S = "${WORKDIR}/git" | ||
37 | |||
38 | DEPENDS = "qtbase qtdeclarative" | ||
diff --git a/recipes-qt/qt5-addons/qtquickenterprisecontrols_1.3.bb b/recipes-qt/qt5-addons/qtquickenterprisecontrols_1.3.bb new file mode 100644 index 0000000..7736d9b --- /dev/null +++ b/recipes-qt/qt5-addons/qtquickenterprisecontrols_1.3.bb | |||
@@ -0,0 +1,65 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Qt Quick Enterprise Controls" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://src/controls/Styles/Base/DialStyle.qml;md5=caa6d9db463140360114e567721eb580;beginline=1;endline=17" | ||
26 | |||
27 | inherit qt5-module | ||
28 | |||
29 | SRC_URI = " \ | ||
30 | git://qt-gerrit.it.local/QtRD-15810/qtquick-extras.git;branch=${QT_BRANCH};protocol=ssh \ | ||
31 | " | ||
32 | |||
33 | SRCREV = "ed6f7049e06717113d5f500595c5a1f2074fb13d" | ||
34 | QT_BRANCH = "master" | ||
35 | |||
36 | S = "${WORKDIR}/git" | ||
37 | |||
38 | PACKAGES += "${PN}-fonts" | ||
39 | |||
40 | RRECOMMENDS_${PN} = "${PN}-fonts" | ||
41 | |||
42 | DEPENDS += "qtbase qtdeclarative qtgraphicaleffects" | ||
43 | |||
44 | FILES_${PN}-fonts += " \ | ||
45 | /usr/lib/qt5/qml/QtQuick/Controls/Styles/Flat/fonts \ | ||
46 | " | ||
47 | FILES_${PN} += " \ | ||
48 | /opt/dashboard/bin/dashboard \ | ||
49 | /opt/gallery/bin/gallery \ | ||
50 | " | ||
51 | FILES_${PN}-dbg += " \ | ||
52 | /opt/dashboard/bin/.debug \ | ||
53 | /opt/gallery/bin/.debug \ | ||
54 | " | ||
55 | FILES_${PN}-qmlplugins += " \ | ||
56 | ${OE_QMAKE_PATH_QML}/QtQuick/Enterprise/Controls/Styles/*/*.qml \ | ||
57 | ${OE_QMAKE_PATH_QML}/QtQuick/Enterprise/Controls/designer/* \ | ||
58 | ${OE_QMAKE_PATH_QML}/QtQuick/Enterprise/Controls/Styles/*/*/* \ | ||
59 | " | ||
60 | FILES_${PN}-examples += " \ | ||
61 | /opt/flat/bin/flat \ | ||
62 | " | ||
63 | FILES_${PN}-examples-dbg += " \ | ||
64 | /opt/flat/bin/.debug \ | ||
65 | " | ||
diff --git a/recipes-qt/qt5-addons/qtvirtualkeyboard_1.3.bb b/recipes-qt/qt5-addons/qtvirtualkeyboard_1.3.bb new file mode 100644 index 0000000..40669e1 --- /dev/null +++ b/recipes-qt/qt5-addons/qtvirtualkeyboard_1.3.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Qt Virtual Keyboard" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://src/virtualkeyboard/plugin.cpp;md5=9e7c3707428a49f2fd857aa1538823b6;beginline=1;endline=17" | ||
26 | |||
27 | inherit qt5-module | ||
28 | |||
29 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
30 | |||
31 | SRC_URI = " \ | ||
32 | git://qt-gerrit.it.local/QtRD-15810/qtvirtualkeyboard.git;branch=${QT_BRANCH};protocol=ssh \ | ||
33 | " | ||
34 | |||
35 | SRCREV = "fa1aae525f94e9a870d0fcc0fb1be50648b76739" | ||
36 | QT_BRANCH = "master" | ||
37 | |||
38 | S = "${WORKDIR}/git" | ||
39 | |||
40 | DEPENDS = "qtbase qtdeclarative hunspell" | ||
41 | |||
42 | EXTRA_QMAKEVARS_PRE += "CONFIG+=disable-xcb" | ||
43 | |||
44 | FILES_${PN}-qmlplugins-dbg = " \ | ||
45 | ${OE_QMAKE_PATH_QML}/QtQuick/Enterprise/VirtualKeyboard/Styles/.debug/* \ | ||
46 | " | ||
diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644 index 0000000..27b476b --- /dev/null +++ b/recipes-qt/qt5/qtbase_%.bbappend | |||
@@ -0,0 +1,54 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | PACKAGECONFIG_GL = "gles2" | ||
24 | PACKAGECONFIG += " \ | ||
25 | accessibility \ | ||
26 | alsa \ | ||
27 | cups \ | ||
28 | fontconfig \ | ||
29 | glib \ | ||
30 | iconv \ | ||
31 | icu \ | ||
32 | linuxfb \ | ||
33 | sql-sqlite \ | ||
34 | tslib \ | ||
35 | " | ||
36 | |||
37 | do_configure_prepend() { | ||
38 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | ||
39 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
40 | QMAKE_PLATFORM += boot2qt | ||
41 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
42 | load(qt_config) | ||
43 | EOF | ||
44 | } | ||
45 | |||
46 | do_configure_prepend_emulator() { | ||
47 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | ||
48 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
49 | QMAKE_LIBS_EGL = -lQtGlesStreamClient | ||
50 | QMAKE_LIBS_OPENGL_ES2 = -lQtGlesStreamClient | ||
51 | |||
52 | load(qt_config) | ||
53 | EOF | ||
54 | } | ||
diff --git a/recipes-qt/qt5/qtconnectivity_%.bbappend b/recipes-qt/qt5/qtconnectivity_%.bbappend new file mode 100644 index 0000000..570d54e --- /dev/null +++ b/recipes-qt/qt5/qtconnectivity_%.bbappend | |||
@@ -0,0 +1,23 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | PACKAGECONFIG += "bluez4" | ||
diff --git a/recipes-qt/qt5/qtlocation_%.bbappend b/recipes-qt/qt5/qtlocation_%.bbappend new file mode 100644 index 0000000..c068600 --- /dev/null +++ b/recipes-qt/qt5/qtlocation_%.bbappend | |||
@@ -0,0 +1,23 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | PACKAGECONFIG += "gypsy" | ||
diff --git a/recipes-qt/qt5/qtmultimedia_%.bbappend b/recipes-qt/qt5/qtmultimedia_%.bbappend new file mode 100644 index 0000000..cb1dc53 --- /dev/null +++ b/recipes-qt/qt5/qtmultimedia_%.bbappend | |||
@@ -0,0 +1,23 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | PACKAGECONFIG += "gstreamer010" | ||