summaryrefslogtreecommitdiffstats
path: root/recipes-platform/packagegroups
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-platform/packagegroups')
-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} \
+ "