summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtsystems_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtsystems_git.bb')
-rw-r--r--recipes-qt/qt5/qtsystems_git.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes-qt/qt5/qtsystems_git.bb b/recipes-qt/qt5/qtsystems_git.bb
index 27d2bff3..9d9d245d 100644
--- a/recipes-qt/qt5/qtsystems_git.bb
+++ b/recipes-qt/qt5/qtsystems_git.bb
@@ -11,11 +11,14 @@ LIC_FILES_CHKSUM = " \
11 11
12DEPENDS += "qtbase qtdeclarative udev gconf" 12DEPENDS += "qtbase qtdeclarative udev gconf"
13 13
14PACKAGECONFIG ??= "" 14inherit bluetooth
15PACKAGECONFIG[bluez4] = "OE_BLUEZ_ENABLED,,bluez4" 15
16PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
17PACKAGECONFIG[bluez] = "CONFIG+=OE_BLUEZ_ENABLED,,${BLUEZ}"
18
19EXTRA_QMAKEVARS_PRE += "${EXTRA_OECONF}"
16 20
17do_configure_prepend() { 21do_configure_prepend() {
18 export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}"
19 # disable bluez test if it isn't enabled by PACKAGECONFIG 22 # disable bluez test if it isn't enabled by PACKAGECONFIG
20 sed -i 's/^ qtCompileTest(bluez)/ OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtsystems.pro 23 sed -i 's/^ qtCompileTest(bluez)/ OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtsystems.pro
21} 24}