From bfd61509e8c9ce3eb47c657cc2b150bc9a1f4dcb Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Mon, 25 Mar 2019 23:41:38 -0700 Subject: [PATCH] Throw a bunch of stuff that seems appropriate at the snapcraft file --- snapcraft.yaml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 177a2a31a..e8f1ea3ad 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -12,6 +12,26 @@ grade: devel confinement: devmode base: core18 +plugs: + gnome-3-28-1804: + interface: content + target: $SNAP/gnome-platform + default-provider: gnome-3-28-1804 + gtk-3-themes: + interface: content + target: $SNAP/data-dir/themes + default-provider: gtk-common-themes + icon-themes: + interface: content + target: $SNAP/data-dir/icons + default-provider: gtk-common-themes + +slots: + lutris: + interface: dbus + bus: session + name: net.lutris.Lutris + parts: lutris: plugin: python @@ -26,9 +46,14 @@ parts: - gir1.2-gnomedesktop-3.0 - gir1.2-webkit2-4.0 - gir1.2-notify-0.7 - apps: lutris: - command: bin/lutris + command: desktop-launch $SNAP/bin/lutris + plugs: + - desktop + - gsettings + - home + slots: [ lutris ] + desktop: usr/share/applications/net.lutris.Lutris.desktop lutris-wrapper: command: bin/lutris-wrapper