From 9f0f1dc647f1097058218cd2e31ed5d054d5164f Mon Sep 17 00:00:00 2001 From: Kristofer Hansson Aspman Date: Fri, 25 Oct 2013 15:26:27 +0000 Subject: [PATCH] qtconnectivity: Add recipe. Signed-off-by: Kristofer Hansson Aspman Signed-off-by: Martin Jansa --- recipes-qt/qt5/qtconnectivity.inc | 13 +++++++++++++ recipes-qt/qt5/qtconnectivity_git.bb | 4 ++++ 2 files changed, 17 insertions(+) create mode 100644 recipes-qt/qt5/qtconnectivity.inc create mode 100644 recipes-qt/qt5/qtconnectivity_git.bb diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc new file mode 100644 index 0000000000..c0a51470f6 --- /dev/null +++ b/recipes-qt/qt5/qtconnectivity.inc @@ -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)}" diff --git a/recipes-qt/qt5/qtconnectivity_git.bb b/recipes-qt/qt5/qtconnectivity_git.bb new file mode 100644 index 0000000000..334ae3534f --- /dev/null +++ b/recipes-qt/qt5/qtconnectivity_git.bb @@ -0,0 +1,4 @@ +require qt5-git.inc +require ${BPN}.inc + +SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891"