From a45a6a184fcacf3a6ba15f4b38e5988b83f4c30f Mon Sep 17 00:00:00 2001 From: Mikko Levonmaa Date: Tue, 4 Dec 2012 12:06:06 -0800 Subject: qtjsbackend: Initial recipe Signed-off-by: Mikko Levonmaa --- recipes-qt/qt5/qtjsbackend-native.inc | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes-qt/qt5/qtjsbackend-native.inc (limited to 'recipes-qt/qt5/qtjsbackend-native.inc') 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 @@ +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" + +DEPENDS = "qt5-native" + +INC_PR = "r0" + +inherit native + +#FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtjsbacked:" + +SRC_URI += "\ + file://qmake.conf \ + file://0001-Install-the-mkv8snapshot-tool-to-the-native-side.patch \ + " + +# Bitbake will not respect the make order set by qmake and at times it will try to compile +# parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail +PARALLEL_MAKE = "" + +do_configure() { + # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) + unset LD + + # This should not be needed. Perhaps the lack of this file is an indication + # of an error on the native recipe... + cp ${WORKDIR}/qmake.conf ${S}/.qmake.conf + + ${STAGING_BINDIR_NATIVE}/qmake -d +} + +do_install() { + oe_runmake install INSTALL_ROOT=${D} +} -- cgit v1.2.3-54-g00ecf