mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-26 18:19:05 +00:00
OK, final set of snapcraft.yaml changes for 0.90.0 (hopefully)
This commit is contained in:
parent
024830da0f
commit
83da35e6c7
@ -26,6 +26,8 @@ parts:
|
||||
plugin: cmake
|
||||
configflags:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||
- -DENABLE_SNAP=true
|
||||
source: https://github.com/clangen/musikcube.git
|
||||
build-packages:
|
||||
- build-essential
|
||||
@ -76,9 +78,27 @@ parts:
|
||||
- libtag1v5
|
||||
|
||||
apps:
|
||||
musikcube:
|
||||
desktop: share/applications/musikcube.desktop
|
||||
command: desktop-launch $SNAP/share/musikcube/musikcube
|
||||
app:
|
||||
desktop: usr/share/applications/musikcube.snap.desktop
|
||||
command: desktop-launch $SNAP/usr/share/musikcube/musikcube
|
||||
environment:
|
||||
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
|
||||
ALSA_CONFIG_PATH: /snap/$SNAPCRAFT_PROJECT_NAME/current/usr/share/alsa/alsa.conf
|
||||
LANG: C.UTF-8
|
||||
plugs:
|
||||
- home
|
||||
- removable-media
|
||||
- pulseaudio
|
||||
- network
|
||||
- network-bind
|
||||
- audio-playback
|
||||
- alsa
|
||||
- desktop
|
||||
slots:
|
||||
- mpris
|
||||
|
||||
daemon:
|
||||
command: desktop-launch $SNAP/usr/share/musikcube/musikcubed
|
||||
environment:
|
||||
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
|
||||
ALSA_CONFIG_PATH: /snap/$SNAPCRAFT_PROJECT_NAME/current/usr/share/alsa/alsa.conf
|
||||
|
Loading…
Reference in New Issue
Block a user