1 SUMMARY = "AGL Application Launcher service"
2 DESCRIPTION = "AGL Application Launcher service build with recipe method"
3 HOMEPAGE = "https://git.automotivelinux.org/src/applaunchd"
6 LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984"
17 PV = "2.0+git${SRCPV}"
20 git://gerrit.automotivelinux.org/gerrit/src/applaunchd;protocol=https;branch=${AGL_BRANCH} \
21 file://applaunchd.service \
22 file://agl-app@.service \
23 file://agl-app-web@.service \
24 file://agl-app-flutter@.service \
25 file://no-network.conf \
26 file://private-tmp.conf \
28 SRCREV = "7a3e870a8349d43a4838604db2c28140c2f76c9f"
32 inherit meson pkgconfig systemd
34 SYSTEMD_SERVICE:${PN} = "applaunchd.service"
37 # Install generic template for all agl-app services
38 install -d ${D}${systemd_system_unitdir}
39 install -m 644 ${WORKDIR}/applaunchd.service ${D}${systemd_system_unitdir}/
40 install -m 644 ${WORKDIR}/agl-app@.service ${D}${systemd_system_unitdir}/
41 install -m 644 ${WORKDIR}/agl-app-web@.service ${D}${systemd_system_unitdir}/
42 install -m 644 ${WORKDIR}/agl-app-flutter@.service ${D}${systemd_system_unitdir}/
44 # Install individual sandboxing overrides/drop-ins to be used by apps
45 install -d ${D}${systemd_system_unitdir}/sandboxing
46 install -m 644 ${WORKDIR}/no-network.conf ${D}${systemd_system_unitdir}/sandboxing/
47 install -m 644 ${WORKDIR}/private-tmp.conf ${D}${systemd_system_unitdir}/sandboxing/
50 PACKAGE_BEFORE_PN += "${PN}-template-agl-app ${PN}-template-agl-app-web ${PN}-template-agl-app-flutter"
52 FILES:${PN} += "${systemd_system_unitdir}"
54 FILES:${PN}-template-agl-app = "${systemd_system_unitdir}/agl-app@.service"
56 FILES:${PN}-template-agl-app-web = "${systemd_system_unitdir}/agl-app-web@.service"
58 FILES:${PN}-template-agl-app-flutter = "${systemd_system_unitdir}/agl-app-flutter@.service"
65 RDEPENDS:${PN}-template-agl-app = "${PN}"
67 RDEPENDS:${PN}-template-agl-app-web = "${PN}"
69 RDEPENDS:${PN}-template-agl-app-flutter = "${PN}"