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:
Kristofer Hansson Aspman 2013-10-25 15:26:27 +00:00 committed by Martin Jansa
parent c36be1724a
commit 9f0f1dc647
2 changed files with 17 additions and 0 deletions

View File

@ -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)}"

View File

@ -0,0 +1,4 @@
require qt5-git.inc
require ${BPN}.inc
SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891"