From 1ac37e2eba577a86bdc607b1ac44e781f0005073 Mon Sep 17 00:00:00 2001 From: Jacobo Aragunde Pérez Date: Fri, 2 Aug 2019 12:44:53 +0200 Subject: html5-launcher: create recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../html5-launcher/html5-launcher_git.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 recipes-demo-hmi/html5-launcher/html5-launcher_git.bb 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 00000000..ce8a1d11 --- /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 +} -- cgit 1.2.3-korg