1 SUMMARY = "Setting files of mapviewer for the AGL Demonstrator @ CES2017"
2 DESCRIPTION = "Setting files of mapviewer for the AGL Demonstrator @ CES2017"
4 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
5 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
12 file://switch_off_mapviewer-demo.sh \
13 file://switch_on_mapviewer-demo.sh \
14 file://weston-mapviewer-demo.ini \
15 file://weston-mapviewer-demo.service \
20 install -d ${D}/usr/AGL/${PN}
21 install -m 0755 ${WORKDIR}/switch_off_${PN}.sh ${D}/usr/AGL/${PN}
22 install -m 0755 ${WORKDIR}/switch_on_${PN}.sh ${D}/usr/AGL/${PN}
24 install -d ${D}${sysconfdir}/xdg/weston
25 install -m 0644 ${WORKDIR}/weston-${PN}.ini ${D}${sysconfdir}/xdg/weston/weston-${PN}.ini
27 install -d ${D}${systemd_system_unitdir}
28 install -m 0644 ${WORKDIR}/weston-mapviewer-demo.service ${D}${systemd_system_unitdir}
29 sed -i "s:/home/root:${ROOT_HOME}:" ${D}${systemd_system_unitdir}/weston-mapviewer-demo.service
32 ## DO NOT ENABLE 'weston-mapviewer-demo.service' BY DEFAULT
34 ## The 'weston-mapviewer-demo.service' is exclusive of default 'weston.ini',
35 ## it should be enabled/disabled by 'switch_on_mapviewer-demo.sh'/'switch_off_mapviewer-demo.sh'.
37 #SYSTEMD_SERVICE_${PN} = "weston-mapviewer-demo.service"
40 ${systemd_system_unitdir} \
42 ${sysconfdir}/xdg/weston/${PN} \