From: Lorenzo Tilve Date: Mon, 3 Feb 2020 10:46:50 +0000 (+0100) Subject: html5-settings: create recipe and add to html5 demo X-Git-Tag: 9.99.1~34 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-demo.git;a=commitdiff_plain;h=fe36156821cea7b32a5ae439c9e0a166a65c4068 html5-settings: create recipe and add to html5 demo Bug-AGL: SPEC-2823 Change-Id: Ia58ae3d871b1f5119daf60ea08378aba6fc75046 Signed-off-by: Lorenzo Tilve --- diff --git a/recipes-demo-hmi/html5-settings/html5-settings_git.bb b/recipes-demo-hmi/html5-settings/html5-settings_git.bb new file mode 100644 index 000000000..dea1ec35b --- /dev/null +++ b/recipes-demo-hmi/html5-settings/html5-settings_git.bb @@ -0,0 +1,25 @@ +SUMMARY = "AGL HTML5 Settings Application" +HOMEPAGE = "https://git.automotivelinux.org/apps/html5-settings/" +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-settings;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 afedf07a2..cddab0ba8 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} += "\ AGL_APPS = " \ html5-launcher \ html5-hvac \ + html5-settings \ " RDEPENDS_${PN}_append = " \