diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 15:19:00 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 15:55:10 +0200 |
commit | d4a726ccf6e9ab1272555161ae4eb69ea508652b (patch) | |
tree | 17ce314a9da1117414c0b36a093d9b1a05025227 /recipes-qt | |
parent | 7d3f0711eefea2aa60d6d5b1dc4aa2eec3c97098 (diff) | |
download | meta-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.inc | 9 | ||||
-rw-r--r-- | recipes-qt/qt5/qtdeclarative.inc | 10 | ||||
-rw-r--r-- | recipes-qt/qt5/qtjsbackend.inc | 10 |
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 @@ | |||
1 | require qt5.inc | ||
2 | |||
3 | DEPENDS += "qtbase" | ||
4 | |||
5 | inherit qmake5 | ||
6 | |||
7 | do_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 @@ | |||
1 | require qt5.inc | 1 | require qt5module.inc |
2 | 2 | ||
3 | DEPENDS = "qtbase qtjsbackend" | 3 | DEPENDS += "qtjsbackend" |
4 | 4 | ||
5 | INC_PR = "r0" | 5 | INC_PR = "r0" |
6 | 6 | ||
7 | inherit qmake5 | ||
8 | |||
9 | do_configure_append () { | ||
10 | ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S} | ||
11 | } | ||
12 | |||
13 | FILES_${PN}-qmlplugins-dbg = " \ | 7 | FILES_${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 @@ | |||
1 | require qt5.inc | 1 | require 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 |
4 | LICENSE = "LGPL-2.1 | GPL-3.0" | 4 | LICENSE = "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 | ||
10 | DEPENDS = "qtbase qtjsbackend-native" | 10 | DEPENDS += "qtjsbackend-native" |
11 | 11 | ||
12 | INC_PR = "r0" | 12 | INC_PR = "r0" |
13 | 13 | ||
14 | inherit qmake5 | ||
15 | |||
16 | SRC_URI += " \ | 14 | SRC_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 | |||
20 | do_configure_append () { | ||
21 | ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S} | ||
22 | } | ||