diff options
author | Mikko Levonmaa <mikko.levonmaa@gmail.com> | 2012-12-04 12:06:06 -0800 |
---|---|---|
committer | Mikko Levonmaa <mikko.levonmaa@gmail.com> | 2012-12-07 08:54:20 -0800 |
commit | a45a6a184fcacf3a6ba15f4b38e5988b83f4c30f (patch) | |
tree | 178d645d9c1075a7e81b03fdb752f0c4e87c2234 /recipes-qt/qt5/qtjsbackend-native.inc | |
parent | b514c5d67a259457383db532151a4bf6f482d158 (diff) | |
download | meta-qt5-a45a6a184fcacf3a6ba15f4b38e5988b83f4c30f.tar.gz |
qtjsbackend: Initial 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 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtjsbackend-native.inc b/recipes-qt/qt5/qtjsbackend-native.inc new file mode 100644 index 00000000..0158dd65 --- /dev/null +++ b/recipes-qt/qt5/qtjsbackend-native.inc | |||
@@ -0,0 +1,34 @@ | |||
1 | LICENSE = "LGPLv2.1" | ||
2 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" | ||
3 | |||
4 | DEPENDS = "qt5-native" | ||
5 | |||
6 | INC_PR = "r0" | ||
7 | |||
8 | inherit native | ||
9 | |||
10 | #FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtjsbacked:" | ||
11 | |||
12 | SRC_URI += "\ | ||
13 | file://qmake.conf \ | ||
14 | file://0001-Install-the-mkv8snapshot-tool-to-the-native-side.patch \ | ||
15 | " | ||
16 | |||
17 | # Bitbake will not respect the make order set by qmake and at times it will try to compile | ||
18 | # parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail | ||
19 | PARALLEL_MAKE = "" | ||
20 | |||
21 | do_configure() { | ||
22 | # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) | ||
23 | unset LD | ||
24 | |||
25 | # This should not be needed. Perhaps the lack of this file is an indication | ||
26 | # of an error on the native recipe... | ||
27 | cp ${WORKDIR}/qmake.conf ${S}/.qmake.conf | ||
28 | |||
29 | ${STAGING_BINDIR_NATIVE}/qmake -d | ||
30 | } | ||
31 | |||
32 | do_install() { | ||
33 | oe_runmake install INSTALL_ROOT=${D} | ||
34 | } | ||