2013-04-28 11:25:51 +00:00
|
|
|
# doesn't have GFDL-1.3 like qtbase, LICENSE files are missing in 5.0.0 and 5.0.1, this is for 5.0.2 and git
|
|
|
|
LICENSE = "LGPL-2.1 | GPL-3.0"
|
2013-05-06 08:40:21 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
|
|
|
|
file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
|
|
|
|
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
|
2013-04-28 11:25:51 +00:00
|
|
|
"
|
2012-12-04 20:06:06 +00:00
|
|
|
|
2013-02-28 19:56:51 +00:00
|
|
|
DEPENDS = "qtbase-native"
|
2012-12-04 20:06:06 +00:00
|
|
|
|
2012-12-11 22:42:35 +00:00
|
|
|
QT_MODULE = "qtjsbackend"
|
|
|
|
|
2012-12-04 20:06:06 +00:00
|
|
|
INC_PR = "r0"
|
|
|
|
|
2013-02-27 20:26:09 +00:00
|
|
|
inherit native qmake5_base
|
2012-12-04 20:06:06 +00:00
|
|
|
|
|
|
|
SRC_URI += "\
|
|
|
|
file://0001-Install-the-mkv8snapshot-tool-to-the-native-side.patch \
|
2012-12-10 23:37:10 +00:00
|
|
|
"
|
2012-12-04 20:06:06 +00:00
|
|
|
|
2013-04-28 00:14:16 +00:00
|
|
|
SEPB = "${WORKDIR}/build"
|
|
|
|
B = "${SEPB}"
|
|
|
|
|
2012-12-04 20:06:06 +00:00
|
|
|
do_configure() {
|
2013-04-28 00:14:16 +00:00
|
|
|
# Similar logic is in autotools.bbclass
|
|
|
|
if [ -d ${B} -a "${S}" != "${B}" ] ; then
|
|
|
|
# Existing separate build directory, exists, remove
|
|
|
|
rm -rf "${B}/*"
|
|
|
|
fi
|
|
|
|
|
2012-12-04 20:06:06 +00:00
|
|
|
# Avoid setting QMAKE_LINK from LD (since we want the linker to be g++)
|
|
|
|
unset LD
|
|
|
|
|
2013-04-28 00:13:28 +00:00
|
|
|
${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S}
|
2012-12-04 20:06:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
oe_runmake install INSTALL_ROOT=${D}
|
|
|
|
}
|