summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristofer Hansson Aspman <kristofer.hansson-aspman@pelagicore.com>2013-10-25 15:26:27 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-11-03 22:38:52 +0100
commit9f0f1dc647f1097058218cd2e31ed5d054d5164f (patch)
tree7fe323467549d9b69f57e9eb9b9ce0421f97a6ba
parentc36be1724a71f2f62cc09c28e34547165a80cce7 (diff)
downloadmeta-qt5-9f0f1dc647f1097058218cd2e31ed5d054d5164f.tar.gz
qtconnectivity: Add recipe.
Signed-off-by: Kristofer Hansson Aspman <kristofer.hansson-aspman@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/qtconnectivity.inc13
-rw-r--r--recipes-qt/qt5/qtconnectivity_git.bb4
2 files changed, 17 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc
new file mode 100644
index 00000000..c0a51470
--- /dev/null
+++ b/recipes-qt/qt5/qtconnectivity.inc
@@ -0,0 +1,13 @@
1require qt5.inc
2
3DEPENDS += "qtbase qtdeclarative"
4
5PACKAGECONFIG ??= ""
6PACKAGECONFIG[bluez4] = ",,bluez4"
7
8do_configure_prepend() {
9 # disable bluez test if it isn't enabled by PACKAGECONFIG
10 sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro
11}
12
13EXTRA_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 00000000..334ae353
--- /dev/null
+++ b/recipes-qt/qt5/qtconnectivity_git.bb
@@ -0,0 +1,4 @@
1require qt5-git.inc
2require ${BPN}.inc
3
4SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891"