blob: c0a51470f6415d33ab8aeea90a16b835aef5039d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require qt5.inc
DEPENDS += "qtbase qtdeclarative"
PACKAGECONFIG ??= ""
PACKAGECONFIG[bluez4] = ",,bluez4"
do_configure_prepend() {
# disable bluez test if it isn't enabled by PACKAGECONFIG
sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro
}
EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'bluez4', 'CONFIG+=OE_BLUEZ_ENABLED', '', d)}"
|