diff options
author | Mikko Levonmaa <mikko.levonmaa@gmail.com> | 2012-12-07 08:57:03 -0800 |
---|---|---|
committer | Mikko Levonmaa <mikko.levonmaa@gmail.com> | 2012-12-07 09:02:32 -0800 |
commit | 16e4143ba5765f96d68cffbbf6a1a06491e71011 (patch) | |
tree | 845220519e8d20f6a01c406c7e14b3ac93c0203b /recipes-qt/qt5/qtdeclarative.inc | |
parent | 18b6ac18c7c0b0eb27c658be14c6b2c4d5c5bc71 (diff) |
qtdeclarative: Initial recipe
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtdeclarative.inc')
-rw-r--r-- | recipes-qt/qt5/qtdeclarative.inc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtdeclarative.inc b/recipes-qt/qt5/qtdeclarative.inc new file mode 100644 index 00000000..aaada23e --- /dev/null +++ b/recipes-qt/qt5/qtdeclarative.inc @@ -0,0 +1,39 @@ +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" + +DEPENDS = "qtbase qtjsbackend" + +INC_PR = "r0" + +inherit qmake5 + +SRC_URI += " \ + file://module_qmake.conf \ + " + +# 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 = "" + +export QT_CONF_PATH="${WORKDIR}/qt.conf" + +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}/module_qmake.conf ${S}/.qmake.conf + + ${OE_QMAKE_QMAKE} -d +} + +do_install() { + oe_runmake install INSTALL_ROOT=${D} +} + +FILES_${PN}-dev += "\ + ${STAGING_INCDIR}/qt5 \ + ${STAGING_DATADIR}/qt5 \ + ${libdir}/*.prl \ +" |