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

login
register
mail settings
Submitter Kristofer Hansson Aspman
Date Oct. 24, 2013, 3:01 p.m.
Message ID <1382626867-8287-1-git-send-email-kristofer.hansson-aspman@pelagicore.com>
Download mbox | patch
Permalink /patch/60473/
State Superseded, archived
Headers show

Comments

Kristofer Hansson Aspman - Oct. 24, 2013, 3:01 p.m.
Signed-off-by: Kristofer Hansson Aspman <kristofer.hansson-aspman@pelagicore.com>
---
 recipes-qt/qt5/qtconnectivity.inc    | 4 ++++
 recipes-qt/qt5/qtconnectivity_git.bb | 4 ++++
 2 files changed, 8 insertions(+)
 create mode 100644 recipes-qt/qt5/qtconnectivity.inc
 create mode 100644 recipes-qt/qt5/qtconnectivity_git.bb
Martin Jansa - Oct. 25, 2013, 12:27 p.m.
On Thu, Oct 24, 2013 at 5:01 PM, Kristofer Hansson Aspman <
kristofer.hansson-aspman@pelagicore.com> wrote:

> diff --git a/recipes-qt/qt5/qtconnectivity.inc
> b/recipes-qt/qt5/qtconnectivity.inc
> new file mode 100644
> index 0000000..50efd46
> --- /dev/null
> +++ b/recipes-qt/qt5/qtconnectivity.inc
> @@ -0,0 +1,4 @@
> +require qt5.inc
> +
> +DEPENDS += "qtbase qtdeclarative"
> +DEPENDS += "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '',
> d)}"
>

what happens if someone builds bluez before qtconnectivity even without
bluetooth in DISTRO_FEATURES?

I guess it will behave nondeterministicly, you need to explicitly enable or
disable it based on bluetooth DISTRO_FEATURE, see qtmultimedia.inc and
PACKAGECONFIG.

Patch

diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc
new file mode 100644
index 0000000..50efd46
--- /dev/null
+++ b/recipes-qt/qt5/qtconnectivity.inc
@@ -0,0 +1,4 @@ 
+require qt5.inc
+
+DEPENDS += "qtbase qtdeclarative"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
diff --git a/recipes-qt/qt5/qtconnectivity_git.bb b/recipes-qt/qt5/qtconnectivity_git.bb
new file mode 100644
index 0000000..2bd016b
--- /dev/null
+++ b/recipes-qt/qt5/qtconnectivity_git.bb
@@ -0,0 +1,4 @@ 
+require qt5-git.inc
+require ${PN}.inc
+
+SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891"