summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2015-04-28 22:19:59 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-04-29 00:07:13 +0200
commit5a67ecd3d782c3622f2405e4562261070f50f5e2 (patch)
tree102ee685575d0dc59c72014cec45bc52f4efcfae
parent9ec7538c0a56620394529ca981132e54c2f414a3 (diff)
downloadmeta-qt5-5a67ecd3d782c3622f2405e4562261070f50f5e2.tar.gz
qtconnectivity: improve PACKAGECONFIG handling
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-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"