[oe] [meta-qt5][PATCHv3] qtconnectivity: Added recipe.

Kristofer Hansson Aspman kristofer.hansson-aspman at pelagicore.com
Fri Oct 25 15:14:29 UTC 2013


Signed-off-by: Kristofer Hansson Aspman <kristofer.hansson-aspman at 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

diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc
new file mode 100644
index 0000000..32a1039
--- /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 openal 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"
-- 
1.8.1.2




More information about the Openembedded-devel mailing list