X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo-hmi%2Fhtml5-dashboard%2Fhtml5-dashboard_git.bb;fp=recipes-demo-hmi%2Fhtml5-dashboard%2Fhtml5-dashboard_git.bb;h=534bd2d38508694964a65b89ca237ec51b1ecb58;hb=923ce5e1561f23741dc37065993f6c38aca35e9f;hp=0000000000000000000000000000000000000000;hpb=4f1fbee15a1029056a9ac3e2a1172f15c7836718;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo-hmi/html5-dashboard/html5-dashboard_git.bb b/recipes-demo-hmi/html5-dashboard/html5-dashboard_git.bb new file mode 100644 index 000000000..534bd2d38 --- /dev/null +++ b/recipes-demo-hmi/html5-dashboard/html5-dashboard_git.bb @@ -0,0 +1,25 @@ +SUMMARY = "AGL HTML5 dashboard Application" +HOMEPAGE = "https://git.automotivelinux.org/apps/html5-dashboard/" +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-dashboard;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 +}