From 41591d4f8c586aa801220fac0924556f406c58bd Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Tue, 8 Dec 2020 11:15:02 +0100 Subject: SPEC-3723: restructure meta-agl-demo All demo related components should be in here now. We keep the packagegroups on purpose for now to stay backward-compatible. v2: layer does pass yocto-check-layer, dependencies adapted v3: remove the dynamic-layer setup, use all-in-one approach v4: Fixed comments from Paul Barker. Tnx! v5: Removed wayland/weston/agl-compositor additions, except for demo specific weston-init bbappend Follow-up changes required later: - massaging packagegroups - scrub of recipes Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller Signed-off-by: Scott Murray Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8 --- .../geoclue/files/org.freedesktop.GeoClue2.Client.conf | 8 ++++++++ recipes-navigation/geoclue/geoclue_%.bbappend | 1 + recipes-navigation/geoclue/geoclue_agldemo.inc | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 recipes-navigation/geoclue/files/org.freedesktop.GeoClue2.Client.conf create mode 100644 recipes-navigation/geoclue/geoclue_%.bbappend create mode 100644 recipes-navigation/geoclue/geoclue_agldemo.inc (limited to 'recipes-navigation/geoclue') diff --git a/recipes-navigation/geoclue/files/org.freedesktop.GeoClue2.Client.conf b/recipes-navigation/geoclue/files/org.freedesktop.GeoClue2.Client.conf new file mode 100644 index 000000000..a7486d055 --- /dev/null +++ b/recipes-navigation/geoclue/files/org.freedesktop.GeoClue2.Client.conf @@ -0,0 +1,8 @@ + + + + + + diff --git a/recipes-navigation/geoclue/geoclue_%.bbappend b/recipes-navigation/geoclue/geoclue_%.bbappend new file mode 100644 index 000000000..eb1eef6b9 --- /dev/null +++ b/recipes-navigation/geoclue/geoclue_%.bbappend @@ -0,0 +1 @@ +require ${@bb.utils.contains('AGL_FEATURES', 'agldemo', 'geoclue_agldemo.inc', '', d)} diff --git a/recipes-navigation/geoclue/geoclue_agldemo.inc b/recipes-navigation/geoclue/geoclue_agldemo.inc new file mode 100644 index 000000000..24936e5cc --- /dev/null +++ b/recipes-navigation/geoclue/geoclue_agldemo.inc @@ -0,0 +1,11 @@ +inherit gobject-introspection + +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI_append = " file://org.freedesktop.GeoClue2.Client.conf" + +PACKAGECONFIG = "nmea lib" + +do_install_append() { + install -d ${D}/etc/dbus-1/system.d + install -m 0644 ${WORKDIR}/org.freedesktop.GeoClue2.Client.conf ${D}/etc/dbus-1/system.d/org.freedesktop.GeoClue2.Client.conf +} -- cgit 1.2.3-korg