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 <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2015-04-28 22:20:37 +02:00
parent b72ed64334
commit 0ab5d22db2

View File

@@ -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