From 9926a71df054b1b102fddc75173ea7a70e9ed421 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. (From meta-qt5 rev: 9f0f1dc647f1097058218cd2e31ed5d054d5164f) Signed-off-by: Kristofer Hansson Aspman Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- meta-qt5/recipes-qt/qt5/qtconnectivity.inc | 13 +++++++++++++ meta-qt5/recipes-qt/qt5/qtconnectivity_git.bb | 4 ++++ 2 files changed, 17 insertions(+) create mode 100644 meta-qt5/recipes-qt/qt5/qtconnectivity.inc create mode 100644 meta-qt5/recipes-qt/qt5/qtconnectivity_git.bb diff --git a/meta-qt5/recipes-qt/qt5/qtconnectivity.inc b/meta-qt5/recipes-qt/qt5/qtconnectivity.inc new file mode 100644 index 0000000..c0a5147 --- /dev/null +++ b/meta-qt5/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/meta-qt5/recipes-qt/qt5/qtconnectivity_git.bb b/meta-qt5/recipes-qt/qt5/qtconnectivity_git.bb new file mode 100644 index 0000000..334ae35 --- /dev/null +++ b/meta-qt5/recipes-qt/qt5/qtconnectivity_git.bb @@ -0,0 +1,4 @@ +require qt5-git.inc +require ${BPN}.inc + +SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891" -- 2.7.4