summaryrefslogtreecommitdiffstats
path: root/recipes-qt
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-04-28 15:19:00 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-28 15:55:10 +0200
commitd4a726ccf6e9ab1272555161ae4eb69ea508652b (patch)
tree17ce314a9da1117414c0b36a093d9b1a05025227 /recipes-qt
parent7d3f0711eefea2aa60d6d5b1dc4aa2eec3c97098 (diff)
downloadmeta-qt5-d4a726ccf6e9ab1272555161ae4eb69ea508652b.tar.gz
qt5module.inc: move shared logic to new .inc file
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt')
-rw-r--r--recipes-qt/qt5/qt5module.inc9
-rw-r--r--recipes-qt/qt5/qtdeclarative.inc10
-rw-r--r--recipes-qt/qt5/qtjsbackend.inc10
3 files changed, 13 insertions, 16 deletions
diff --git a/recipes-qt/qt5/qt5module.inc b/recipes-qt/qt5/qt5module.inc
new file mode 100644
index 00000000..45053f0b
--- /dev/null
+++ b/recipes-qt/qt5/qt5module.inc
@@ -0,0 +1,9 @@
1require qt5.inc
2
3DEPENDS += "qtbase"
4
5inherit qmake5
6
7do_configure_append () {
8 ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S}
9}
diff --git a/recipes-qt/qt5/qtdeclarative.inc b/recipes-qt/qt5/qtdeclarative.inc
index 9b82b225..b3b9007f 100644
--- a/recipes-qt/qt5/qtdeclarative.inc
+++ b/recipes-qt/qt5/qtdeclarative.inc
@@ -1,15 +1,9 @@
1require qt5.inc 1require qt5module.inc
2 2
3DEPENDS = "qtbase qtjsbackend" 3DEPENDS += "qtjsbackend"
4 4
5INC_PR = "r0" 5INC_PR = "r0"
6 6
7inherit qmake5
8
9do_configure_append () {
10 ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S}
11}
12
13FILES_${PN}-qmlplugins-dbg = " \ 7FILES_${PN}-qmlplugins-dbg = " \
14 ${libdir}/${QT_DIR_NAME}/qml/*/.debug \ 8 ${libdir}/${QT_DIR_NAME}/qml/*/.debug \
15 ${libdir}/${QT_DIR_NAME}/qml/*/*/.debug \ 9 ${libdir}/${QT_DIR_NAME}/qml/*/*/.debug \
diff --git a/recipes-qt/qt5/qtjsbackend.inc b/recipes-qt/qt5/qtjsbackend.inc
index 66ab57b0..7ead9dde 100644
--- a/recipes-qt/qt5/qtjsbackend.inc
+++ b/recipes-qt/qt5/qtjsbackend.inc
@@ -1,4 +1,4 @@
1require qt5.inc 1require qt5module.inc
2 2
3# doesn't have GFDL-1.3 like qtbase, LICENSE files are missing in 5.0.0 and 5.0.1, this is for 5.0.2 and git 3# doesn't have GFDL-1.3 like qtbase, LICENSE files are missing in 5.0.0 and 5.0.1, this is for 5.0.2 and git
4LICENSE = "LGPL-2.1 | GPL-3.0" 4LICENSE = "LGPL-2.1 | GPL-3.0"
@@ -7,16 +7,10 @@ LIC_FILES_CHKSUM ?= "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
7 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ 7 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
8" 8"
9 9
10DEPENDS = "qtbase qtjsbackend-native" 10DEPENDS += "qtjsbackend-native"
11 11
12INC_PR = "r0" 12INC_PR = "r0"
13 13
14inherit qmake5
15
16SRC_URI += " \ 14SRC_URI += " \
17 file://0002-v8.pro-respect-external-host-bindir-when-set.patch \ 15 file://0002-v8.pro-respect-external-host-bindir-when-set.patch \
18" 16"
19
20do_configure_append () {
21 ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S}
22}