summaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter/recipes-graphics/flutter-apps/flutter-gallery_aglflutter.inc
blob: 61bcaa0ec84d18a5f76d27229e9764c248867354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FILESEXTRAPATHS:prepend := "${THISDIR}/flutter-gallery:"

SRC_URI += "file://flutter-gallery.service"

inherit systemd

do_install:append() {
    install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service
}

#FILES:${PN} += "${systemd_system_unitdir}"

RDEPENDS:${PN} += "agl-flutter-env"

SYSTEMD_SERVICE:${PN} = "flutter-gallery.service"
# Explicitly disable auto-start to avoid interferring with Toyota workspace
# tooling usecase.
SYSTEMD_AUTO_ENABLE:${PN} = "disable"