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,15 +67,6 @@ parts:
stage-packages: stage-packages:
- libsecret-1-dev - libsecret-1-dev
- libjsoncpp-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: slots:
dbus-svc: dbus-svc:
@ -85,6 +76,8 @@ slots:
apps: apps:
fluffychat: fluffychat:
extensions:
- gnome-3-28
command: fluffychat command: fluffychat
plugs: plugs:
- desktop - desktop
@ -97,29 +90,3 @@ apps:
- home - home
slots: slots:
- dbus-svc - 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