From 2f58388fb015228fd17c35bf0d5ba47094738f02 Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Mon, 3 Feb 2020 16:05:25 +0100 Subject: html5-homescreen: create recipe and add to html5 demo Bug-AGL: SPEC-2401 Change-Id: I6bcc182f856fa56d76152e28a0ee96d74ff7b555 Signed-off-by: Lorenzo Tilve --- .../html5-homescreen/html5-homescreen_git.bb | 25 ++++++++++++++++++++++ .../packagegroup-agl-demo-platform-html5.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 recipes-demo-hmi/html5-homescreen/html5-homescreen_git.bb diff --git a/recipes-demo-hmi/html5-homescreen/html5-homescreen_git.bb b/recipes-demo-hmi/html5-homescreen/html5-homescreen_git.bb new file mode 100644 index 000000000..68956263f --- /dev/null +++ b/recipes-demo-hmi/html5-homescreen/html5-homescreen_git.bb @@ -0,0 +1,25 @@ +SUMMARY = "AGL HTML5 Homescreen Application" +HOMEPAGE = "https://git.automotivelinux.org/apps/html5-homescreen/" +SECTION = "apps" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +PV = "1.0+git${SRCPV}" +S = "${WORKDIR}/git/" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/html5-homescreen;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "${AGL_APP_REVISION}" + +DEPENDS += " nodejs-native" + +inherit aglwgt + +do_configure() { + cd ${B} + npm install +} + +do_aglwgt_package() { + cd ${B} + npm run build +} diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb index 3a12c5625..7feb12267 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb @@ -18,6 +18,7 @@ RDEPENDS_${PN} += "\ " AGL_APPS = " \ + html5-homescreen \ html5-launcher \ html5-hvac \ html5-settings \ -- cgit 1.2.3-korg