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/qt5/qtjsbackend-native.inc | |
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/qt5/qtjsbackend-native.inc')
-rw-r--r-- | recipes-qt/qt5/qtjsbackend-native.inc | 26 |
1 files changed, 23 insertions, 3 deletions
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() { |