From: Jacobo Aragunde Pérez Date: Fri, 2 Aug 2019 10:44:53 +0000 (+0200) Subject: html5-launcher: create recipe X-Git-Tag: 8.99.1~41 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-demo.git;a=commitdiff_plain;h=1ac37e2eba577a86bdc607b1ac44e781f0005073 html5-launcher: create recipe This recipe makes use of npm to install the JS dependencies and also generate the wgt file. Bug-AGL: SPEC-2401 Change-Id: I97557fa9193edabff611f98d12e54ec2463d4415 Signed-off-by: Jacobo Aragunde Pérez --- diff --git a/recipes-demo-hmi/html5-launcher/html5-launcher_git.bb b/recipes-demo-hmi/html5-launcher/html5-launcher_git.bb new file mode 100644 index 000000000..ce8a1d113 --- /dev/null +++ b/recipes-demo-hmi/html5-launcher/html5-launcher_git.bb @@ -0,0 +1,25 @@ +SUMMARY = "AGL HTML5 Launcher Application" +HOMEPAGE = "https://git.automotivelinux.org/apps/html5-launcher/" +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-launcher;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 +}