summaryrefslogtreecommitdiffstats
path: root/recipes-qt
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
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')
-rw-r--r--recipes-qt/qt5/qt5-4.999+git.inc2
-rw-r--r--recipes-qt/qt5/qtdeclarative.inc2
-rw-r--r--recipes-qt/qt5/qtjsbackend-native.inc26
-rw-r--r--recipes-qt/qt5/qtjsbackend.inc4
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"
12PV = "4.999+5.0.0-rc1+git${SRCPV}" 12PV = "4.999+5.0.0-rc1+git${SRCPV}"
13 13
14LICENSE = "GFDL-1.3 & LGPLv2.1 | GPLv3" 14LICENSE = "GFDL-1.3 & LGPLv2.1 | GPLv3"
15LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=02356821480f1d3d534b21e0343265b5 \ 15LIC_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
7INC_PR = "r0" 7INC_PR = "r0"
8 8
9QT_MODULE = "${PN}"
10
9inherit qmake5 11inherit qmake5
10 12
11SRC_URI += " \ 13SRC_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
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() {
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 @@
1LICENSE = "LGPLv2.1" 1LICENSE = "LGPLv2.1"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" 2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780"
3 3
4DEPENDS = "qtbase" 4DEPENDS = "qtbase qtjsbackend-native"
5
6QT_MODULE = "${PN}"
5 7
6INC_PR = "r0" 8INC_PR = "r0"
7 9