mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
6bfecc191d
This reverts commit 8a59d91ef9
.
123 lines
3.1 KiB
YAML
123 lines
3.1 KiB
YAML
name: musikcube # you probably want to 'snapcraft register <name>'
|
|
version: 0.93.0
|
|
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
|
|
base: core18
|
|
|
|
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
|
|
|
|
musikcube:
|
|
after:
|
|
- desktop-glib-musikcube
|
|
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
|
|
- clang
|
|
- cmake
|
|
- libboost-thread1.65-dev
|
|
- libboost-system1.65-dev
|
|
- libboost-filesystem1.65-dev
|
|
- libboost-date-time1.65-dev
|
|
- libboost-atomic1.65-dev
|
|
- libboost-chrono1.65-dev
|
|
- libogg-dev
|
|
- libvorbis-dev
|
|
- libavutil-dev
|
|
- libavformat-dev
|
|
- libswresample-dev
|
|
- libncursesw5-dev
|
|
- libasound2-dev
|
|
- libpulse-dev
|
|
- libmicrohttpd-dev
|
|
- libmp3lame-dev
|
|
- libcurl4-openssl-dev
|
|
- libev-dev
|
|
- libtag1-dev
|
|
- libsystemd-dev
|
|
- libssl-dev
|
|
- libopenmpt-dev
|
|
stage-packages:
|
|
- libboost-thread1.65.1
|
|
- libboost-system1.65.1
|
|
- libboost-chrono1.65.1
|
|
- libboost-filesystem1.65.1
|
|
- libboost-date-time1.65.1
|
|
- libmicrohttpd12
|
|
- libcurl4
|
|
- libogg0
|
|
- libvorbis0a
|
|
- libvorbisfile3
|
|
- libncursesw5
|
|
- libasound2
|
|
- libpulse0
|
|
- libmp3lame0
|
|
- libev4
|
|
- libavcodec-extra
|
|
- libavutil55
|
|
- libavformat57
|
|
- libswresample2
|
|
- libsystemd0
|
|
- libtag1v5
|
|
- libopenmpt0
|
|
|
|
apps:
|
|
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
|
|
LANG: C.UTF-8
|
|
plugs:
|
|
- home
|
|
- removable-media
|
|
- pulseaudio
|
|
- network
|
|
- network-bind
|
|
- audio-playback
|
|
- alsa
|
|
- desktop
|
|
slots:
|
|
- mpris
|
|
|
|
layout:
|
|
/usr/share/alsa:
|
|
bind: $SNAP/usr/share/alsa
|