mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-17 04:31:54 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user