aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-01-19 10:51:03 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-02-01 21:50:41 +0000
commite8f2458e474c628bf3e90f4b53c8b522599f470b (patch)
treeeeb8875bc3dfd771b98d5a5ce22dd4c9d0d98d14
parent9b7d5f3bd1134bcdb214d870a201b54dc1eaabfd (diff)
packagegroup-agl-demo-platform-html5: add default demo Qt UI.
First step for upgrading WAM to the new application framework is making it work for regular applications, without replacing the default demo launcher based on QT. Bug-AGL: SPEC-4223 Change-Id: I16ae6a9b5b591a6c364d9ce99e3bc6e567ef4d90 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
-rw-r--r--recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
index 02b7729c0..adc08bee2 100644
--- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
+++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
@@ -20,6 +20,7 @@ RDEPENDS:${PN} += "\
RDEPENDS:${PN} += "\
packagegroup-hmi-framework \
packagegroup-agl-profile-graphical-html5 \
+ packagegroup-agl-demo \
"
@@ -36,3 +37,33 @@ RDEPENDS:${PN}:append = " \
RDEPENDS:${PN}-devel = " \
packagegroup-hmi-framework-devel \
"
+
+# TODO(jdapena): replace this with HTML5 apps.
+AGL_APPS = " \
+ dashboard \
+ hvac \
+ ondemandnavi \
+ settings \
+ "
+
+# TODO(jdapena): review if we still need the demo-i2c stuff.
+
+# Hook for demo platform configuration
+# ATM used for:
+# 1) Adding udev configuration and scripts for supporting USB attached
+# I2C devices for RTC and HVAC LED support.
+DEMO_UNIT_CONF ?= "demo-i2c-udev-conf"
+
+# Preload only if agl-demo-preload is set
+DEMO_PRELOAD = "${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "${DEMO_UNIT_CONF}", "",d)}"
+
+# TODO(jdapena): eventually qtquickcontrols2 components, and launcher
+# (with an HTML5 replacement)
+RDEPENDS:${PN}:append = " \
+ launcher \
+ qtquickcontrols2-agl \
+ qtquickcontrols2-agl-style \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'unzip' , '', d)} \
+ ${AGL_APPS} \
+ ${DEMO_PRELOAD} \
+ "