mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Removed snap support -- it was a fun experiment by the default filesystem restrictions cause more problems than they solve.
This commit is contained in:
parent
b32130e9a3
commit
2ad8c17461
@ -208,13 +208,7 @@ file(COPY ${locales} DESTINATION bin/locales)
|
||||
install(FILES ${locales} DESTINATION share/musikcube/locales)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
if (${ENABLE_SNAP} MATCHES "true")
|
||||
message(STATUS "[snap] enabled = true")
|
||||
file(GLOB linux_share_applications "src/musikcube/data/linux/share/applications/musikcube.snap.desktop")
|
||||
else()
|
||||
message(STATUS "[snap] enabled = false")
|
||||
file(GLOB linux_share_applications "src/musikcube/data/linux/share/applications/musikcube.desktop")
|
||||
endif()
|
||||
file(GLOB linux_share_applications "src/musikcube/data/linux/share/applications/musikcube.desktop")
|
||||
install(FILES ${linux_share_applications} DESTINATION share/applications/)
|
||||
file(GLOB linux_share_icons_48 "src/musikcube/data/linux/share/icons/hicolor/48x48/apps/*")
|
||||
install(FILES ${linux_share_icons_48} DESTINATION share/icons/hicolor/48x48/apps/)
|
||||
|
@ -1,121 +0,0 @@
|
||||
name: musikcube # you probably want to 'snapcraft register <name>'
|
||||
version: 0.96.5
|
||||
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: core20
|
||||
|
||||
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
|
||||
cmake-parameters:
|
||||
- "-DCMAKE_BUILD_TYPE=Release"
|
||||
- "-DCMAKE_INSTALL_PREFIX=/usr"
|
||||
- "-DENABLE_SNAP=true"
|
||||
source: https://github.com/clangen/musikcube.git
|
||||
build-packages:
|
||||
- build-essential
|
||||
- clang
|
||||
- cmake
|
||||
- libasound2-dev
|
||||
- libavformat-dev
|
||||
- libavutil-dev
|
||||
- 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
|
||||
- libcurl4-openssl-dev
|
||||
- libev-dev
|
||||
- libmicrohttpd-dev
|
||||
- libmp3lame-dev
|
||||
- libncursesw5-dev
|
||||
- libogg-dev
|
||||
- libpulse-dev
|
||||
- libssl-dev
|
||||
- libswresample-dev
|
||||
- libsystemd-dev
|
||||
- libtag1-dev
|
||||
- libvorbis-dev
|
||||
stage-packages:
|
||||
- libasound2
|
||||
- libavcodec-extra
|
||||
- libavformat58
|
||||
- libavutil56
|
||||
- libboost-chrono1.71.0
|
||||
- libboost-date-time1.71.0
|
||||
- libboost-filesystem1.71.0
|
||||
- libboost-system1.71.0
|
||||
- libboost-thread1.71.0
|
||||
- libcurl4
|
||||
- libev4
|
||||
- libmicrohttpd12
|
||||
- libmp3lame0
|
||||
- libncursesw5
|
||||
- libogg0
|
||||
- libpulse0
|
||||
- libssl1.1
|
||||
- libswresample3
|
||||
- libsystemd0
|
||||
- libtag1v5
|
||||
- libvorbis0a
|
||||
- libvorbisfile3
|
||||
|
||||
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
|
||||
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
|
Loading…
Reference in New Issue
Block a user