X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo-hmi%2Fhtml5-mediaplayer%2Fhtml5-mediaplayer_git.bb;fp=recipes-demo-hmi%2Fhtml5-mediaplayer%2Fhtml5-mediaplayer_git.bb;h=2b14376695c994e843a9a5d7f4d3a19d2fbb7edf;hb=5000d2e090cc2c8df74a7a96804882e8e74d9bdf;hp=0000000000000000000000000000000000000000;hpb=383abf8322acf90fbb56551eb8eefaef1854d8d4;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo-hmi/html5-mediaplayer/html5-mediaplayer_git.bb b/recipes-demo-hmi/html5-mediaplayer/html5-mediaplayer_git.bb new file mode 100644 index 000000000..2b1437669 --- /dev/null +++ b/recipes-demo-hmi/html5-mediaplayer/html5-mediaplayer_git.bb @@ -0,0 +1,25 @@ +SUMMARY = "AGL HTML5 Mediaplayer Application" +HOMEPAGE = "https://git.automotivelinux.org/apps/html5-mediaplayer/" +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-mediaplayer;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 +}