summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/packagegroups
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2013-01-11 14:51:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-16 11:57:31 +0000
commit880372e956e9ce362a5e44e3f9d01b22fc43fc43 (patch)
tree4b3f151d6b66d256ea9d3fb8ab85fe0a8372e5d6 /meta/recipes-qt/packagegroups
parentd66d8ae962b6bab43e70b54625c57aaba29d88eb (diff)
downloadpoky-880372e956e9ce362a5e44e3f9d01b22fc43fc43.tar.gz
add meta-toolchain-qt
- this allows the creation of a SDK containing all the needed libraries to develop QT4 for X applications - the recipes were factorized to share as much code as possible - binaries generated using the toolchain were run tested on an ARMv7 target - both qt & qte toolchains were build tested for qemuarm target and for an ARMv7 target (From OE-Core rev: cc803b06841e75aa6591abaeda0a788e888e208b) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/packagegroups')
-rw-r--r--meta/recipes-qt/packagegroups/nativesdk-packagegroup-qt-toolchain-host.bb3
-rw-r--r--meta/recipes-qt/packagegroups/nativesdk-packagegroup-qt-toolchain-host.inc6
-rw-r--r--meta/recipes-qt/packagegroups/nativesdk-packagegroup-qte-toolchain-host.bb5
-rw-r--r--meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.bb11
-rw-r--r--meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc33
-rw-r--r--meta/recipes-qt/packagegroups/packagegroup-qte-toolchain-target.bb32
6 files changed, 56 insertions, 34 deletions
diff --git a/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qt-toolchain-host.bb b/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qt-toolchain-host.bb
new file mode 100644
index 0000000000..994462d50d
--- /dev/null
+++ b/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qt-toolchain-host.bb
@@ -0,0 +1,3 @@
1require nativesdk-packagegroup-qt-toolchain-host.inc
2
3DESCRIPTION = "Host packages for Qt SDK"
diff --git a/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qt-toolchain-host.inc b/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qt-toolchain-host.inc
new file mode 100644
index 0000000000..a3c275fd97
--- /dev/null
+++ b/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qt-toolchain-host.inc
@@ -0,0 +1,6 @@
1require recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
2
3DESCRIPTION = "Host packages for Qt Embedded SDK"
4LICENSE = "MIT"
5
6RDEPENDS_${PN} += "nativesdk-qt4-tools"
diff --git a/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qte-toolchain-host.bb b/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qte-toolchain-host.bb
index a3c275fd97..eadecf519a 100644
--- a/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qte-toolchain-host.bb
+++ b/meta/recipes-qt/packagegroups/nativesdk-packagegroup-qte-toolchain-host.bb
@@ -1,6 +1,3 @@
1require recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb 1require nativesdk-packagegroup-qt-toolchain-host.inc
2 2
3DESCRIPTION = "Host packages for Qt Embedded SDK" 3DESCRIPTION = "Host packages for Qt Embedded SDK"
4LICENSE = "MIT"
5
6RDEPENDS_${PN} += "nativesdk-qt4-tools"
diff --git a/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.bb b/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.bb
new file mode 100644
index 0000000000..738ca82a90
--- /dev/null
+++ b/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.bb
@@ -0,0 +1,11 @@
1DESCRIPTION = "Target packages for Qt SDK"
2
3QTLIBPREFIX = ""
4
5require packagegroup-qt-toolchain-target.inc
6
7RDEPENDS_${PN} += " \
8 qt4-x11-free-dev \
9 ${@base_contains('DISTRO_FEATURES', 'opengl', 'libqtopengl4-dev', '', d)} \
10 ${@base_contains('DISTRO_FEATURES', 'openvg', 'libqtopenvg4-dev', '', d)} \
11 "
diff --git a/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc b/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc
new file mode 100644
index 0000000000..8413eecaa1
--- /dev/null
+++ b/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc
@@ -0,0 +1,33 @@
1LICENSE = "MIT"
2
3inherit packagegroup
4
5PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
6
7RDEPENDS_${PN} += " \
8 packagegroup-core-standalone-sdk-target \
9 qt4${QTLIBPREFIX}-mkspecs \
10 libqt${QTLIBPREFIX}multimedia4-dev \
11 libqt${QTLIBPREFIX}phonon4-dev \
12 libqt${QTLIBPREFIX}3support4-dev \
13 libqt${QTLIBPREFIX}clucene4-dev \
14 libqt${QTLIBPREFIX}core4-dev \
15 libqt${QTLIBPREFIX}dbus4-dev \
16 libqt${QTLIBPREFIX}designercomponents4-dev \
17 libqt${QTLIBPREFIX}designer4-dev \
18 libqt${QTLIBPREFIX}uitools4-dev \
19 libqt${QTLIBPREFIX}gui4-dev \
20 libqt${QTLIBPREFIX}help4-dev \
21 libqt${QTLIBPREFIX}network4-dev \
22 libqt${QTLIBPREFIX}script4-dev \
23 libqt${QTLIBPREFIX}scripttools4-dev \
24 libqt${QTLIBPREFIX}sql4-dev \
25 libqt${QTLIBPREFIX}svg4-dev \
26 libqt${QTLIBPREFIX}test4-dev \
27 libqt${QTLIBPREFIX}webkit4-dev \
28 libqt${QTLIBPREFIX}xml4-dev \
29 libqt${QTLIBPREFIX}declarative4-dev \
30 libqt${QTLIBPREFIX}xmlpatterns4-dev \
31 libsqlite3-dev \
32 expat-dev \
33 "
diff --git a/meta/recipes-qt/packagegroups/packagegroup-qte-toolchain-target.bb b/meta/recipes-qt/packagegroups/packagegroup-qte-toolchain-target.bb
index 7b65bccce6..9c3b22cc2d 100644
--- a/meta/recipes-qt/packagegroups/packagegroup-qte-toolchain-target.bb
+++ b/meta/recipes-qt/packagegroups/packagegroup-qte-toolchain-target.bb
@@ -1,35 +1,7 @@
1DESCRIPTION = "Target packages for Qt Embedded SDK" 1DESCRIPTION = "Target packages for Qt Embedded SDK"
2LICENSE = "MIT"
3 2
4PR = "r5" 3PR = "r5"
5 4
6inherit packagegroup 5QTLIBPREFIX = "-embedded"
7
8PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
9
10RDEPENDS_${PN} += " \
11 packagegroup-core-standalone-sdk-target \
12 qt4-embedded-mkspecs \
13 libqt-embeddedmultimedia4-dev \
14 libqt-embeddedphonon4-dev \
15 libqt-embedded3support4-dev \
16 libqt-embeddedclucene4-dev \
17 libqt-embeddedcore4-dev \
18 libqt-embeddeddbus4-dev \
19 libqt-embeddeddesignercomponents4-dev \
20 libqt-embeddeddesigner4-dev \
21 libqt-embeddeduitools4-dev \
22 libqt-embeddedgui4-dev \
23 libqt-embeddedhelp4-dev \
24 libqt-embeddednetwork4-dev \
25 libqt-embeddedscript4-dev \
26 libqt-embeddedscripttools4-dev \
27 libqt-embeddedsql4-dev \
28 libqt-embeddedsvg4-dev \
29 libqt-embeddedtest4-dev \
30 libqt-embeddedwebkit4-dev \
31 libqt-embeddedxml4-dev \
32 libsqlite3-dev \
33 expat-dev \
34 "
35 6
7require packagegroup-qt-toolchain-target.inc