diff options
author | Mikko Levonmaa <mikko.levonmaa@gmail.com> | 2012-12-11 14:42:35 -0800 |
---|---|---|
committer | Mikko Levonmaa <mikko.levonmaa@gmail.com> | 2012-12-11 14:42:35 -0800 |
commit | bfe100c179c69d3b66cd74c5f3a4aa493cc49b15 (patch) | |
tree | 6941e7d1a6f0a4336a6cbee9c827fe2561a4b997 /recipes-qt | |
parent | 921546e3288330c027154c2b671bf893fff9d293 (diff) | |
download | meta-qt5-bfe100c179c69d3b66cd74c5f3a4aa493cc49b15.tar.gz |
qtjsbackend: fix native dependency
Also fixes the broken qtjsbackent-native recipe
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
Diffstat (limited to 'recipes-qt')
-rw-r--r-- | recipes-qt/qt5/qt5-4.999+git.inc | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtdeclarative.inc | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtjsbackend-native.inc | 26 | ||||
-rw-r--r-- | recipes-qt/qt5/qtjsbackend.inc | 4 |
4 files changed, 29 insertions, 5 deletions
diff --git a/recipes-qt/qt5/qt5-4.999+git.inc b/recipes-qt/qt5/qt5-4.999+git.inc index 099cba85..437dc3be 100644 --- a/recipes-qt/qt5/qt5-4.999+git.inc +++ b/recipes-qt/qt5/qt5-4.999+git.inc | |||
@@ -12,7 +12,7 @@ S = "${WORKDIR}/git" | |||
12 | PV = "4.999+5.0.0-rc1+git${SRCPV}" | 12 | PV = "4.999+5.0.0-rc1+git${SRCPV}" |
13 | 13 | ||
14 | LICENSE = "GFDL-1.3 & LGPLv2.1 | GPLv3" | 14 | LICENSE = "GFDL-1.3 & LGPLv2.1 | GPLv3" |
15 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=02356821480f1d3d534b21e0343265b5 \ | 15 | LIC_FILES_CHKSUM ?= "file://LICENSE.LGPL;md5=02356821480f1d3d534b21e0343265b5 \ |
16 | file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ | 16 | file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ |
17 | file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ | 17 | file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ |
18 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e" | 18 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e" |
diff --git a/recipes-qt/qt5/qtdeclarative.inc b/recipes-qt/qt5/qtdeclarative.inc index 29f28a71..b36b46ad 100644 --- a/recipes-qt/qt5/qtdeclarative.inc +++ b/recipes-qt/qt5/qtdeclarative.inc | |||
@@ -6,6 +6,8 @@ DEPENDS = "qtbase qtjsbackend" | |||
6 | 6 | ||
7 | INC_PR = "r0" | 7 | INC_PR = "r0" |
8 | 8 | ||
9 | QT_MODULE = "${PN}" | ||
10 | |||
9 | inherit qmake5 | 11 | inherit qmake5 |
10 | 12 | ||
11 | SRC_URI += " \ | 13 | SRC_URI += " \ |
diff --git a/recipes-qt/qt5/qtjsbackend-native.inc b/recipes-qt/qt5/qtjsbackend-native.inc index db70fd11..8a66229a 100644 --- a/recipes-qt/qt5/qtjsbackend-native.inc +++ b/recipes-qt/qt5/qtjsbackend-native.inc | |||
@@ -3,12 +3,14 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffe | |||
3 | 3 | ||
4 | DEPENDS = "qt5-native" | 4 | DEPENDS = "qt5-native" |
5 | 5 | ||
6 | QT_MODULE = "qtjsbackend" | ||
7 | |||
6 | INC_PR = "r0" | 8 | INC_PR = "r0" |
7 | 9 | ||
8 | inherit native | 10 | inherit native |
9 | 11 | ||
10 | SRC_URI += "\ | 12 | SRC_URI += "\ |
11 | file://qmake.conf \ | 13 | file://module_qmake.conf \ |
12 | file://0001-Install-the-mkv8snapshot-tool-to-the-native-side.patch \ | 14 | file://0001-Install-the-mkv8snapshot-tool-to-the-native-side.patch \ |
13 | " | 15 | " |
14 | 16 | ||
@@ -16,15 +18,33 @@ SRC_URI += "\ | |||
16 | # parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail | 18 | # parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail |
17 | PARALLEL_MAKE = "" | 19 | PARALLEL_MAKE = "" |
18 | 20 | ||
21 | export QT_CONF_PATH="${WORKDIR}/qt.conf" | ||
22 | |||
19 | do_configure() { | 23 | do_configure() { |
20 | # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) | 24 | # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) |
21 | unset LD | 25 | unset LD |
22 | 26 | ||
27 | cat > ${WORKDIR}/qt.conf <<EOF | ||
28 | [Paths] | ||
29 | Prefix = ${prefix} | ||
30 | Binaries = ${bindir} | ||
31 | Headers = ${includedir}/qt5 | ||
32 | Plugins = ${libdir}/qt5/plugins | ||
33 | Libraries = ${libdir} | ||
34 | Imports = ${datadir}/qt5/imports | ||
35 | Qml2Imports = ${libdir}/qt5/qml | ||
36 | Documentation=${docdir}/qt5 | ||
37 | Data = ${datadir}/qt5 | ||
38 | HostPrefix = ${STAGING_DATADIR} | ||
39 | HostData = ${STAGING_DATADIR}/qt5 | ||
40 | HostBinaries = ${STAGING_BINDIR_NATIVE} | ||
41 | EOF | ||
42 | |||
23 | # This should not be needed. Perhaps the lack of this file is an indication | 43 | # This should not be needed. Perhaps the lack of this file is an indication |
24 | # of an error on the native recipe... | 44 | # of an error on the native recipe... |
25 | cp ${WORKDIR}/qmake.conf ${S}/.qmake.conf | 45 | cp ${WORKDIR}/module_qmake.conf ${S}/.qmake.conf |
26 | 46 | ||
27 | ${STAGING_BINDIR_NATIVE}/qmake -d | 47 | ${STAGING_BINDIR_NATIVE}/qmake -d -r |
28 | } | 48 | } |
29 | 49 | ||
30 | do_install() { | 50 | do_install() { |
diff --git a/recipes-qt/qt5/qtjsbackend.inc b/recipes-qt/qt5/qtjsbackend.inc index 1249493b..ebc0fc09 100644 --- a/recipes-qt/qt5/qtjsbackend.inc +++ b/recipes-qt/qt5/qtjsbackend.inc | |||
@@ -1,7 +1,9 @@ | |||
1 | LICENSE = "LGPLv2.1" | 1 | LICENSE = "LGPLv2.1" |
2 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" | 2 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" |
3 | 3 | ||
4 | DEPENDS = "qtbase" | 4 | DEPENDS = "qtbase qtjsbackend-native" |
5 | |||
6 | QT_MODULE = "${PN}" | ||
5 | 7 | ||
6 | INC_PR = "r0" | 8 | INC_PR = "r0" |
7 | 9 | ||