musikcube/snap/snapcraft.yaml

122 lines
3.1 KiB
YAML
Raw Normal View History

2020-04-08 04:33:08 +00:00
name: musikcube # you probably want to 'snapcraft register <name>'
2020-12-08 01:16:32 +00:00
version: 0.96.2
2020-04-08 04:33:08 +00:00
summary: a terminal-based music player, metadata indexer, and server
description: |
musikcube is a fully functional terminal-based music player, library, and
streaming audio server that runs natively on Windows, macOS, and Linux. It
also runs well on a Raspberry Pi with a custom DAC (e.g. IQaudIO DAC+,
HiFiBerry DAC+ and others), and can output 24bit/192k audio comfortably.
grade: stable
confinement: strict
2020-07-11 23:15:50 +00:00
base: core20
2020-04-08 04:33:08 +00:00
parts:
desktop-glib-musikcube:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: glib-only/
plugin: make
build-packages:
- libglib2.0-dev
stage-packages:
- libglib2.0-bin
2020-04-08 04:33:08 +00:00
musikcube:
after:
- desktop-glib-musikcube
2020-04-08 04:33:08 +00:00
plugin: cmake
2020-07-11 23:15:50 +00:00
cmake-parameters:
- "-DCMAKE_BUILD_TYPE=Release"
- "-DCMAKE_INSTALL_PREFIX=/usr"
- "-DENABLE_SNAP=true"
2020-04-08 04:33:08 +00:00
source: https://github.com/clangen/musikcube.git
build-packages:
- build-essential
- clang
- cmake
- libasound2-dev
- libavformat-dev
- libavutil-dev
2020-07-11 23:15:50 +00:00
- libboost-atomic1.71-dev
- libboost-chrono1.71-dev
- libboost-date-time1.71-dev
- libboost-filesystem1.71-dev
- libboost-system1.71-dev
- libboost-thread1.71-dev
2020-04-08 04:33:08 +00:00
- libcurl4-openssl-dev
- libev-dev
- libmicrohttpd-dev
- libmp3lame-dev
- libncursesw5-dev
- libogg-dev
- libpulse-dev
2020-04-08 04:33:08 +00:00
- libssl-dev
- libswresample-dev
- libsystemd-dev
- libtag1-dev
- libvorbis-dev
2020-04-08 04:33:08 +00:00
stage-packages:
- libasound2
- libavcodec-extra
- libavformat58
- libavutil56
2020-07-11 23:15:50 +00:00
- libboost-chrono1.71.0
- libboost-date-time1.71.0
- libboost-filesystem1.71.0
- libboost-system1.71.0
- libboost-thread1.71.0
2020-04-08 04:33:08 +00:00
- libcurl4
- libev4
- libmicrohttpd12
- libmp3lame0
2020-04-08 04:33:08 +00:00
- libncursesw5
- libogg0
2020-04-08 04:33:08 +00:00
- libpulse0
- libssl1.1
2020-07-11 23:15:50 +00:00
- libswresample3
2020-04-08 04:33:08 +00:00
- libsystemd0
- libtag1v5
- libvorbis0a
- libvorbisfile3
2020-04-08 04:33:08 +00:00
apps:
app:
desktop: usr/share/applications/musikcube.snap.desktop
command: bin/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: bin/desktop-launch $SNAP/usr/share/musikcube/musikcubed
2020-04-09 04:03:36 +00:00
environment:
2020-04-08 04:33:08 +00:00
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
2020-04-09 04:03:36 +00:00
ALSA_CONFIG_PATH: /snap/$SNAPCRAFT_PROJECT_NAME/current/usr/share/alsa/alsa.conf
LANG: C.UTF-8
2020-04-08 04:33:08 +00:00
plugs:
- home
- removable-media
- pulseaudio
- network
- network-bind
- audio-playback
- alsa
- desktop
2020-04-08 04:33:08 +00:00
slots:
- mpris
2020-04-09 04:03:36 +00:00
layout:
/usr/share/alsa:
bind: $SNAP/usr/share/alsa