From a45b13ab6ba8008a461c70078ef885f7c29452a8 Mon Sep 17 00:00:00 2001 From: Lisandro Pérez Meyer Date: Tue, 14 Nov 2023 17:53:42 -0300 Subject: Add flutter-ics-homescreen recipe. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug-AGL: SPEC-4969 Change-Id: I5792df93372160e85d524dc81c3de8d2f523501e Signed-off-by: Lisandro Pérez Meyer Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29409 Reviewed-by: Scott Murray Tested-by: Jan-Simon Moeller Reviewed-by: Jan-Simon Moeller --- .../files/flutter-ics-homescreen.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service (limited to 'recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service') diff --git a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service new file mode 100644 index 000000000..a61b4a1de --- /dev/null +++ b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service @@ -0,0 +1,14 @@ +[Unit] +Requires=agl-compositor.service applaunchd.service +After=agl-compositor.service applaunchd.service + +[Service] +User=agl-driver +EnvironmentFile=/etc/default/flutter +EnvironmentFile=-/etc/default/flutter-ics-homescreen +Environment=XDG_RUNTIME_DIR=/run/user/1001/ +ExecStart=/usr/bin/flutter-auto --b=/usr/share/flutter/flutter_ics_homescreen/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --j=/usr/share/flutter/flutter-ics-homescreen.json --xdg-shell-app-id=homescreen +Restart=on-failure + +[Install] +WantedBy=graphical.target -- cgit 1.2.3-korg