qt5module.inc: move shared logic to new .inc file

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2013-04-28 15:19:00 +02:00
parent 7d3f0711ee
commit d4a726ccf6
3 changed files with 13 additions and 16 deletions

View File

@ -0,0 +1,9 @@
require qt5.inc
DEPENDS += "qtbase"
inherit qmake5
do_configure_append () {
${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S}
}

View File

@ -1,15 +1,9 @@
require qt5.inc
require qt5module.inc
DEPENDS = "qtbase qtjsbackend"
DEPENDS += "qtjsbackend"
INC_PR = "r0"
inherit qmake5
do_configure_append () {
${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S}
}
FILES_${PN}-qmlplugins-dbg = " \
${libdir}/${QT_DIR_NAME}/qml/*/.debug \
${libdir}/${QT_DIR_NAME}/qml/*/*/.debug \

View File

@ -1,4 +1,4 @@
require qt5.inc
require qt5module.inc
# 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"
@ -7,16 +7,10 @@ LIC_FILES_CHKSUM ?= "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
"
DEPENDS = "qtbase qtjsbackend-native"
DEPENDS += "qtjsbackend-native"
INC_PR = "r0"
inherit qmake5
SRC_URI += " \
file://0002-v8.pro-respect-external-host-bindir-when-set.patch \
"
do_configure_append () {
${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S}
}