update snapcraft yaml

This commit is contained in:
Tony Crisci
2021-01-18 17:52:34 -05:00
parent 89d26e396e
commit cb9b5f9bc5
2 changed files with 11 additions and 6 deletions

10
.gitignore vendored
View File

@@ -3,8 +3,8 @@ tags
/build
/mesonbuild
/playerctl-fpm
.swp
.swo
.swn
.snap
env
*.swp
*.swo
*.swn
*.snap
/env

View File

@@ -30,15 +30,20 @@ slots:
interface: dbus
bus: session
name: org.mpris.MediaPlayer2.playerctld
system-observe:
interface: system-observe
desktop-legacy:
interface: desktop-legacy
apps:
playerctl:
command: playerctl
slots: [ system-observe, desktop-legacy ]
environment:
LD_LIBRARY_PATH: $SNAP/usr/local/lib/$SNAPCRAFT_ARCH_TRIPLET
playerctld:
command: playerctld
slots: [ dbus-svc ]
slots: [ dbus-svc, system-observe, desktop-legacy ]
environment:
LD_LIBRARY_PATH: $SNAP/usr/local/lib/$SNAPCRAFT_ARCH_TRIPLET