Patchwork [meta-qt5,PATCHv4] qtconnectivity: Added recipe.

login
register
mail settings
Submitter Kristofer Hansson Aspman
Date Oct. 25, 2013, 3:26 p.m.
Message ID <1382714787-8813-1-git-send-email-kristofer.hansson-aspman@pelagicore.com>
Download mbox | patch
Permalink /patch/60519/
State Accepted, archived
Headers show

Comments

Kristofer Hansson Aspman - Oct. 25, 2013, 3:26 p.m.
Signed-off-by: Kristofer Hansson Aspman <kristofer.hansson-aspman@pelagicore.com>
---
 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

Patch

diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc
new file mode 100644
index 0000000..c0a5147
--- /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 0000000..334ae35
--- /dev/null
+++ b/recipes-qt/qt5/qtconnectivity_git.bb
@@ -0,0 +1,4 @@ 
+require qt5-git.inc
+require ${BPN}.inc
+
+SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891"