summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-qt/qt5/qtconnectivity.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc
index 10dcc220..ab8d31e5 100644
--- a/recipes-qt/qt5/qtconnectivity.inc
+++ b/recipes-qt/qt5/qtconnectivity.inc
@@ -3,14 +3,13 @@ require qt5.inc
3DEPENDS += "qtbase qtdeclarative" 3DEPENDS += "qtbase qtdeclarative"
4 4
5PACKAGECONFIG ??= "" 5PACKAGECONFIG ??= ""
6PACKAGECONFIG[bluez4] = ",,bluez4" 6PACKAGECONFIG[bluez4] = "OE_BLUEZ_ENABLED,,bluez4"
7 7
8do_configure_prepend() { 8do_configure_prepend() {
9 export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}"
9 # disable bluez test if it isn't enabled by PACKAGECONFIG 10 # disable bluez test if it isn't enabled by PACKAGECONFIG
10 sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro 11 sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro
11} 12}
12 13
13EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'bluez4', 'CONFIG+=OE_BLUEZ_ENABLED', '', d)}"
14
15LICENSE += "| GPL-2.0" 14LICENSE += "| GPL-2.0"
16LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed" 15LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"