Changes include:
- Update cluster-dashboard recipe to pull in libqtappfw for
signal-composer support
- Add signal-composer and required low-can and gps bindings to
agl-cluster-demo-platform image
- Add recipe to install configuration file that tells the
cluster-dashboard app to use signal-composer vehicle and engine
speed events instead of running the default animation loop,
and a new agl-cluster-demo-preload feature template that drives
adding the recipe to the image for demo purposes.
Bug-AGL: SPEC-3045
Change-Id: I193f9fd764b7610eaacc4c524522552bcc1e7ccc
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
--- /dev/null
+DISTRO_FEATURES_append = " agl-cluster-demo-preload"
--- /dev/null
+SUMMARY = "AGL cluster demo dashboard configuration file"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+SRC_URI += "file://AGL.conf.cluster"
+
+inherit allarch
+
+do_install() {
+ install -D -m 0644 ${WORKDIR}/AGL.conf.cluster ${D}${sysconfdir}/xdg/AGL.conf
+}
--- /dev/null
+[dashboard]
+animation=false
S = "${WORKDIR}/git"
# build-time dependencies
S = "${WORKDIR}/git"
# build-time dependencies
-DEPENDS += "qtquickcontrols2 qtwebsockets qlibwindowmanager"
+DEPENDS += "qtquickcontrols2 qtwebsockets qlibwindowmanager libqtappfw glib-2.0"
inherit pkgconfig cmake_qt5 aglwgt
inherit pkgconfig cmake_qt5 aglwgt
qtquickcontrols-qmlplugins \
qtquickcontrols2 \
qtquickcontrols2-qmlplugins \
qtquickcontrols-qmlplugins \
qtquickcontrols2 \
qtquickcontrols2-qmlplugins \
- qtwebsockets \
- qtwebsockets-qmlplugins \
+ libqtappfw \
+ agl-service-signal-composer \
AGL_APIS = " \
agl-service-windowmanager \
AGL_APIS = " \
agl-service-windowmanager \
+ agl-service-can-low-level \
+ agl-service-gps \
+ agl-service-signal-composer \
+DEMO_PRELOAD = "${@bb.utils.contains("DISTRO_FEATURES", "agl-cluster-demo-preload", "cluster-dashboard-demo-config", "",d)}"
+
RDEPENDS_${PN}_append = " \
wayland-ivi-extension \
cluster-windowmanager-conf \
hmi-debug \
RDEPENDS_${PN}_append = " \
wayland-ivi-extension \
cluster-windowmanager-conf \
hmi-debug \
libva-utils \
linux-firmware-ralink \
${AGL_APPS} \
${AGL_APIS} \
libva-utils \
linux-firmware-ralink \
${AGL_APPS} \
${AGL_APIS} \
--- /dev/null
+#see meta-agl-cluster-demo/conf/include/agl-cluster-demo-preload.inc
+require conf/include/agl-cluster-demo-preload.inc
--- /dev/null
+---
+description: Feature agl-cluster-demo-preload
+authors: Scott Murray <scott.murray@konsulko.com>
+---
+
+### Feature agl-cluster-demo-preload
+
+*Description is missing - please complete file meta-agl-cluster-demo/templates/feature/agl-cluster-demo-preload/README_feature_agl-cluster-demo-preload.md*
+