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 /build
/mesonbuild /mesonbuild
/playerctl-fpm /playerctl-fpm
.swp *.swp
.swo *.swo
.swn *.swn
.snap *.snap
env /env

View File

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