summaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-gallery/flutter-gallery.service
diff options
context:
space:
mode:
authorJoel Winarske <joel.winarske@gmail.com>2024-03-21 08:56:25 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-03-21 17:44:33 +0000
commit7995b8ff68f04cb6cdcefd7a5aa8345498ba0abb (patch)
treedaa2933274c412d0dccdacfe7e1a5d4c166bbdf4 /meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-gallery/flutter-gallery.service
parent3058f411221cebcd4f97941d8e9a4c7d65a193b1 (diff)
Update meta-flutter
-renames meta-flutter to flutter-layer -adds meta-flutter-apps named flutter-apps-layer -moves flutter-gallery to dynamic layer Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I273ca820b86273e7e7de11cc25c57fca295643fc
Diffstat (limited to 'meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-gallery/flutter-gallery.service')
-rw-r--r--meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-gallery/flutter-gallery.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-gallery/flutter-gallery.service b/meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-gallery/flutter-gallery.service
new file mode 100644
index 00000000..80e31dda
--- /dev/null
+++ b/meta-agl-flutter/dynamic-layers/flutter-apps-layer/recipes-graphics/flutter-apps/first-party/flutter-gallery/flutter-gallery.service
@@ -0,0 +1,13 @@
+[Unit]
+Requires=agl-compositor.service
+After=agl-compositor.service
+
+[Service]
+User=agl-driver
+EnvironmentFile=/etc/default/flutter
+EnvironmentFile=-/etc/default/flutter-gallery
+Environment=XDG_RUNTIME_DIR=/run/user/1001/
+ExecStart=/usr/bin/flutter-auto --b=/usr/share/flutter/gallery/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --f --window-type=BG
+
+[Install]
+WantedBy=graphical.target