1 SUMMARY = "AGL HTML5 Homescreen"
2 HOMEPAGE = "https://git.automotivelinux.org/apps/html5-homescreen/"
5 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
12 git://gerrit.automotivelinux.org/gerrit/apps/html5-homescreen;protocol=https;branch=master \
13 file://homescreen.service \
15 SRCREV = "fc0ffa4c45d3a6ec6ad8cc9b939ef6c9dd2e7eaf"
19 DEPENDS = "nodejs-native"
23 rm -rf package node_modules package-lock.json
28 WAM_APPLICATIONS_DIR="${libdir}/wam_apps"
31 install -d ${D}${WAM_APPLICATIONS_DIR}/${PN}
32 cp -R --no-dereference --preserve=mode,links ${S}/dist/* ${D}${WAM_APPLICATIONS_DIR}/${PN}
33 install -d ${D}${systemd_user_unitdir}/agl-session.target.wants
34 install -m0644 ${WORKDIR}/homescreen.service ${D}${systemd_user_unitdir}/homescreen.service
35 ln -s ../homescreen.service ${D}${systemd_user_unitdir}/agl-session.target.wants/homescreen.service
39 ${WAM_APPLICATIONS_DIR}/${PN} \
40 ${systemd_user_unitdir} \
43 RCONFLICTS:${PN} = "homescreen"
44 RDEPENDS:${PN} = "applaunchd html5-background"