qtconnectivity: improve PACKAGECONFIG handling
PATCH 1/3 qtconnectivity: improve PACKAGECONFIG handling
Signed-off-by Martin Jansa <[email protected]>
--- recipes-qt/qt5/qtconnectivity.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
recipes-qt/qt5/qtconnectivity.inc +2 -3
@@ -3,14 +3,13 @@ require qt5.inc DEPENDS += "qtbase qtdeclarative" PACKAGECONFIG ??= "" -PACKAGECONFIG[bluez4] = ",,bluez4" +PACKAGECONFIG[bluez4] = "OE_BLUEZ_ENABLED,,bluez4" do_configure_prepend() { + export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}" # disable bluez test if it isn't enabled by PACKAGECONFIG sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro } -EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'bluez4', 'CONFIG+=OE_BLUEZ_ENABLED', '', d)}" - LICENSE += "| GPL-2.0" LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
Signature · 1 line
2.3.5
PATCH 2/3 qtsystems: add packageconfig for bluez4 and disable it by default
* bluez5 is now enabled by default and conflicts with bluez4
Signed-off-by Martin Jansa <[email protected]>
--- recipes-qt/qt5/qtsystems.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
recipes-qt/qt5/qtsystems.inc +10 -1
@@ -1,6 +1,15 @@ require qt5.inc -DEPENDS += "qtbase qtdeclarative udev bluez4 gconf" +DEPENDS += "qtbase qtdeclarative udev gconf" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[bluez4] = "OE_BLUEZ_ENABLED,,bluez4" + +do_configure_prepend() { + export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}" + # disable bluez test if it isn't enabled by PACKAGECONFIG + sed -i 's/^ qtCompileTest(bluez)/ OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtsystems.pro +} do_install_append() { # Remove example.pro file as it is useless
Signature · 1 line
2.3.5
PATCH 3/3 qtbase: remove 2nd BSD from LICENSE
In reply to Martin Jansa* BSD is now in default LICENSE variable:
recipes-qt/qt5/qt5-5.4.1.inc:LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)" recipes-qt/qt5/qt5-git.inc:LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
Signed-off-by Martin Jansa <[email protected]>
--- recipes-qt/qt5/qtbase.inc | 2 -- 1 file changed, 2 deletions(-)
recipes-qt/qt5/qtbase.inc +0 -2
@@ -22,9 +22,7 @@ SRC_URI += "\ DEPENDS += "qtbase-native" -# Used for examples and tests # LGPL-3.0 is used only in src/plugins/platforms/android/extract.cpp -LICENSE += "& BSD" # for syncqt RDEPENDS_${PN}-tools += "perl"
Signature · 1 line
2.3.5