qtconnectivity: Add recipe.
Signed-off-by: Kristofer Hansson Aspman <kristofer.hansson-aspman@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
c36be1724a
commit
9f0f1dc647
|
@ -0,0 +1,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)}"
|
|
@ -0,0 +1,4 @@
|
|||
require qt5-git.inc
|
||||
require ${BPN}.inc
|
||||
|
||||
SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891"
|
Loading…
Reference in New Issue