From e55e57c42362f651e5319caea783a28cd18dcf11 Mon Sep 17 00:00:00 2001 From: Jacobo Aragunde Pérez Date: Mon, 16 Dec 2019 18:00:24 +0100 Subject: html5-hvac: create recipe and add to html5 demo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug-AGL: SPEC-2645 Change-Id: Ie4394528f8e960b5a018097a55942865ea5f4554 Signed-off-by: Jacobo Aragunde Pérez --- recipes-demo-hmi/html5-hvac/html5-hvac_git.bb | 25 ++++++++++++++++++++++ .../packagegroup-agl-demo-platform-html5.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 recipes-demo-hmi/html5-hvac/html5-hvac_git.bb diff --git a/recipes-demo-hmi/html5-hvac/html5-hvac_git.bb b/recipes-demo-hmi/html5-hvac/html5-hvac_git.bb new file mode 100644 index 000000000..d45dc80df --- /dev/null +++ b/recipes-demo-hmi/html5-hvac/html5-hvac_git.bb @@ -0,0 +1,25 @@ +SUMMARY = "AGL HTML5 HVAC Application" +HOMEPAGE = "https://git.automotivelinux.org/apps/html5-hvac/" +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-hvac;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 8352b727d..afedf07a2 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb @@ -19,6 +19,7 @@ RDEPENDS_${PN} += "\ AGL_APPS = " \ html5-launcher \ + html5-hvac \ " RDEPENDS_${PN}_append = " \ -- cgit 1.2.3-korg