chore: Simplify snapcraft

This commit is contained in:
Krille Fear 2021-12-28 13:53:28 +01:00
parent 7c88ce89b1
commit 396b8ee012

View File

@ -67,16 +67,7 @@ parts:
stage-packages:
- libsecret-1-dev
- libjsoncpp-dev
gnome-3-28-extension:
build-packages:
- gcc
- libgtk-3-dev
make-parameters:
- PLATFORM_PLUG=gnome-3-28-1804
plugin: make
source: $SNAPCRAFT_EXTENSIONS_DIR/desktop
source-subdir: gnome
slots:
dbus-svc:
interface: dbus
@ -85,6 +76,8 @@ slots:
apps:
fluffychat:
extensions:
- gnome-3-28
command: fluffychat
plugs:
- desktop
@ -97,29 +90,3 @@ apps:
- home
slots:
- dbus-svc
#command-chain:
# - snap/command-chain/desktop-launch
assumes:
- snapd2.43
plugs:
gnome-3-28-1804:
default-provider: gnome-3-28-1804
interface: content
target: $SNAP/gnome-platform
gtk-3-themes:
default-provider: gtk-common-themes
interface: content
target: $SNAP/data-dir/themes
icon-themes:
default-provider: gtk-common-themes
interface: content
target: $SNAP/data-dir/icons
sound-themes:
default-provider: gtk-common-themes
interface: content
target: $SNAP/data-dir/sounds
environment:
SNAP_DESKTOP_RUNTIME: $SNAP/gnome-platform
#layout:
# /usr/share/xml/iso-codes:
# bind: $SNAP/gnome-platform/usr/share/xml/iso-codes