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.
|
2020-04-09 23:55:34 +00:00
|
|
|
grade: stable
|
|
|
|
confinement: strict
|
2020-07-11 23:15:50 +00:00
|
|
|
base: core20
|
2020-04-08 04:33:08 +00:00
|
|
|
|
|
|
|
parts:
|
2020-04-09 23:55:34 +00:00
|
|
|
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:
|
2020-04-09 23:55:34 +00:00
|
|
|
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
|
2020-10-25 04:08:09 +00:00
|
|
|
- libasound2-dev
|
|
|
|
- libavformat-dev
|
|
|
|
- libavutil-dev
|
2020-07-11 23:15:50 +00:00
|
|
|
- libboost-atomic1.71-dev
|
|
|
|
- libboost-chrono1.71-dev
|
2020-10-25 04:08:09 +00:00
|
|
|
- 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
|
2020-10-25 04:08:09 +00:00
|
|
|
- libmicrohttpd-dev
|
|
|
|
- libmp3lame-dev
|
|
|
|
- libncursesw5-dev
|
|
|
|
- libogg-dev
|
|
|
|
- libpulse-dev
|
2020-04-08 04:33:08 +00:00
|
|
|
- libssl-dev
|
2020-10-25 04:08:09 +00:00
|
|
|
- libswresample-dev
|
|
|
|
- libsystemd-dev
|
|
|
|
- libtag1-dev
|
|
|
|
- libvorbis-dev
|
2020-04-08 04:33:08 +00:00
|
|
|
stage-packages:
|
2020-10-25 04:08:09 +00:00
|
|
|
- libasound2
|
|
|
|
- libavcodec-extra
|
|
|
|
- libavformat58
|
|
|
|
- libavutil56
|
2020-07-11 23:15:50 +00:00
|
|
|
- libboost-chrono1.71.0
|
|
|
|
- libboost-date-time1.71.0
|
2020-10-25 04:08:09 +00:00
|
|
|
- libboost-filesystem1.71.0
|
|
|
|
- libboost-system1.71.0
|
|
|
|
- libboost-thread1.71.0
|
2020-04-08 04:33:08 +00:00
|
|
|
- libcurl4
|
2020-10-25 04:08:09 +00:00
|
|
|
- libev4
|
|
|
|
- libmicrohttpd12
|
|
|
|
- libmp3lame0
|
2020-04-08 04:33:08 +00:00
|
|
|
- libncursesw5
|
2020-10-25 04:08:09 +00:00
|
|
|
- libogg0
|
2020-04-08 04:33:08 +00:00
|
|
|
- libpulse0
|
2020-10-25 04:08:09 +00:00
|
|
|
- libssl1.1
|
2020-07-11 23:15:50 +00:00
|
|
|
- libswresample3
|
2020-04-08 04:33:08 +00:00
|
|
|
- libsystemd0
|
|
|
|
- libtag1v5
|
2020-10-25 04:08:09 +00:00
|
|
|
- libvorbis0a
|
|
|
|
- libvorbisfile3
|
2020-04-08 04:33:08 +00:00
|
|
|
|
|
|
|
apps:
|
2020-04-11 21:19:14 +00:00
|
|
|
app:
|
|
|
|
desktop: usr/share/applications/musikcube.snap.desktop
|
2020-07-11 23:28:55 +00:00
|
|
|
command: bin/desktop-launch $SNAP/usr/share/musikcube/musikcube
|
2020-04-11 21:19:14 +00:00
|
|
|
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:
|
2020-07-11 23:28:55 +00:00
|
|
|
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
|
2020-04-09 23:55:34 +00:00
|
|
|
LANG: C.UTF-8
|
2020-04-08 04:33:08 +00:00
|
|
|
plugs:
|
|
|
|
- home
|
|
|
|
- removable-media
|
|
|
|
- pulseaudio
|
|
|
|
- network
|
|
|
|
- network-bind
|
|
|
|
- audio-playback
|
|
|
|
- alsa
|
2020-04-09 23:55:34 +00:00
|
|
|
- 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
|