mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-28 00:35:40 +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
|
plugin: cmake
|
||||||
configflags:
|
configflags:
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
- -DENABLE_SNAP=true
|
||||||
source: https://github.com/clangen/musikcube.git
|
source: https://github.com/clangen/musikcube.git
|
||||||
build-packages:
|
build-packages:
|
||||||
- build-essential
|
- build-essential
|
||||||
@ -76,9 +78,27 @@ parts:
|
|||||||
- libtag1v5
|
- libtag1v5
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
musikcube:
|
app:
|
||||||
desktop: share/applications/musikcube.desktop
|
desktop: usr/share/applications/musikcube.snap.desktop
|
||||||
command: desktop-launch $SNAP/share/musikcube/musikcube
|
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:
|
environment:
|
||||||
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
|
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
|
ALSA_CONFIG_PATH: /snap/$SNAPCRAFT_PROJECT_NAME/current/usr/share/alsa/alsa.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user