aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/html5-homescreen/html5-homescreen_git.bb
blob: 68956263f6863aa2ccf6696d7fa6758afe2c32c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SUMMARY     = "AGL HTML5 Homescreen Application"
HOMEPAGE    = "https://git.automotivelinux.org/apps/html5-homescreen/"
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-homescreen;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
}