aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-html5-demo/recipes-platform
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-06-27 12:46:02 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-07-01 08:58:18 +0000
commit63e0ea358f1902b1dd9968b21b5eea649d04329e (patch)
tree4231493c300f4d9ea2c84b6e290919486bf7e0b6 /meta-agl-html5-demo/recipes-platform
parent9eda76e3a9c869030ff4bcf66704207753666a6c (diff)
Move html5 demo into sublayer
The HTML5 demo needs additional fixes. Move it into a sublayer and activate with agl-demo-html5. Bug-AGL: SPEC-5188 Change-Id: I2f1a07dcfbcaf7e09d4d0d3aec1aa8f096336287 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30042 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'meta-agl-html5-demo/recipes-platform')
-rw-r--r--meta-agl-html5-demo/recipes-platform/images/agl-ivi-demo-html5.bb11
-rw-r--r--meta-agl-html5-demo/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb43
2 files changed, 54 insertions, 0 deletions
diff --git a/meta-agl-html5-demo/recipes-platform/images/agl-ivi-demo-html5.bb b/meta-agl-html5-demo/recipes-platform/images/agl-ivi-demo-html5.bb
new file mode 100644
index 000000000..62d43ffb6
--- /dev/null
+++ b/meta-agl-html5-demo/recipes-platform/images/agl-ivi-demo-html5.bb
@@ -0,0 +1,11 @@
+require recipes-platform/images/agl-ivi-image.bb
+
+SUMMARY = "AGL IVI demo HTML5 image"
+DESCRIPTION = "Contains the web runtime and sample web apps"
+
+CLANGSDK = "1"
+
+# add packages for demo platform (include demo apps) here
+IMAGE_INSTALL += " \
+ packagegroup-agl-demo-platform-html5 \
+"
diff --git a/meta-agl-html5-demo/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb b/meta-agl-html5-demo/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
new file mode 100644
index 000000000..c5a9209b6
--- /dev/null
+++ b/meta-agl-html5-demo/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
@@ -0,0 +1,43 @@
+SUMMARY = "The software for DEMO platform of AGL IVI profile"
+DESCRIPTION = "A set of packages belong to AGL Demo Platform"
+
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+PACKAGES = "\
+ packagegroup-agl-demo-platform-html5 \
+ "
+
+RDEPENDS:${PN} += "\
+ packagegroup-agl-demo \
+ "
+
+# TODO(jdapena): replace this with HTML5 apps.
+AGL_APPS = " \
+ html5-dashboard \
+ html5-launcher \
+ html5-homescreen \
+ html5-hvac \
+ html5-mediaplayer \
+ html5-mixer \
+ html5-settings \
+ html5-aquarium \
+ html5-youtube \
+ html5-jitsi \
+ html5-examples \
+ "
+
+RDEPENDS:${PN}:append = " \
+ wam \
+ weston-ini-conf-landscape-no-activate \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'unzip' , '', d)} \
+ qtquickcontrols2-agl \
+ qtquickcontrols2-agl-style \
+ ${AGL_APPS} \
+ "
+
+# nss-agl-driver-db is required to connect to kuksa
+RDEPENDS:${PN}:append = " nss-agl-driver-db "
+