DEPENDS = " \
glib-2.0 \
glib-2.0-native \
+ protobuf-native \
+ grpc-native \
+ grpc \
systemd \
"
SRC_URI = " \
git://gerrit.automotivelinux.org/gerrit/src/applaunchd;protocol=https;branch=${AGL_BRANCH} \
+ file://applaunchd.service \
file://agl-app@.service \
file://agl-app-web@.service \
file://agl-app-flutter@.service \
file://no-network.conf \
file://private-tmp.conf \
"
-SRCREV = "c675bafdf15cc19276bd8276c34f56404a5ecb62"
+SRCREV = "c52afaf8b5c96136fe20e5d5a1332121d3b09ee9"
S = "${WORKDIR}/git"
-inherit meson pkgconfig
+inherit meson pkgconfig systemd
+
+SYSTEMD_SERVICE:${PN} = "applaunchd.service"
do_install:append() {
# Install generic template for all agl-app services
install -d ${D}${systemd_system_unitdir}
+ install -m 644 ${WORKDIR}/applaunchd.service ${D}${systemd_system_unitdir}/
install -m 644 ${WORKDIR}/agl-app@.service ${D}${systemd_system_unitdir}/
install -m 644 ${WORKDIR}/agl-app-web@.service ${D}${systemd_system_unitdir}/
install -m 644 ${WORKDIR}/agl-app-flutter@.service ${D}${systemd_system_unitdir}/