summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtjsbackend-native.inc
diff options
context:
space:
mode:
authorMikko Levonmaa <mikko.levonmaa@gmail.com>2012-12-11 14:42:35 -0800
committerMikko Levonmaa <mikko.levonmaa@gmail.com>2012-12-11 14:42:35 -0800
commitbfe100c179c69d3b66cd74c5f3a4aa493cc49b15 (patch)
tree6941e7d1a6f0a4336a6cbee9c827fe2561a4b997 /recipes-qt/qt5/qtjsbackend-native.inc
parent921546e3288330c027154c2b671bf893fff9d293 (diff)
downloadmeta-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.inc26
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
4DEPENDS = "qt5-native" 4DEPENDS = "qt5-native"
5 5
6QT_MODULE = "qtjsbackend"
7
6INC_PR = "r0" 8INC_PR = "r0"
7 9
8inherit native 10inherit native
9 11
10SRC_URI += "\ 12SRC_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
17PARALLEL_MAKE = "" 19PARALLEL_MAKE = ""
18 20
21export QT_CONF_PATH="${WORKDIR}/qt.conf"
22
19do_configure() { 23do_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]
29Prefix = ${prefix}
30Binaries = ${bindir}
31Headers = ${includedir}/qt5
32Plugins = ${libdir}/qt5/plugins
33Libraries = ${libdir}
34Imports = ${datadir}/qt5/imports
35Qml2Imports = ${libdir}/qt5/qml
36Documentation=${docdir}/qt5
37Data = ${datadir}/qt5
38HostPrefix = ${STAGING_DATADIR}
39HostData = ${STAGING_DATADIR}/qt5
40HostBinaries = ${STAGING_BINDIR_NATIVE}
41EOF
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
30do_install() { 50do_install() {