2021-05-02 13:05:02 -04:00
|
|
|
app-id: io.github.royce551.FRESHMusicPlayer.Blueprint
|
|
|
|
runtime: org.freedesktop.Platform
|
|
|
|
runtime-version: '20.08'
|
|
|
|
sdk: org.freedesktop.Sdk
|
|
|
|
command: fmp
|
|
|
|
finish-args:
|
|
|
|
- --socket=x11
|
|
|
|
- --socket=pulseaudio
|
|
|
|
- --filesystem=home
|
2021-06-09 19:49:54 -04:00
|
|
|
- --filesystem=xdg-run/fmp
|
2021-06-09 19:25:23 -04:00
|
|
|
- --own-name=org.mpris.MediaPlayer2.FRESHMusicPlayer
|
2021-05-02 13:05:02 -04:00
|
|
|
build-options:
|
|
|
|
build-args:
|
|
|
|
- --share=network
|
|
|
|
cleanup:
|
|
|
|
- '/include'
|
|
|
|
- '/usr/include'
|
|
|
|
- '/app/opt/dotnet'
|
|
|
|
modules:
|
|
|
|
- name: dotnet
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- chmod +x dotnet-install.sh
|
2022-04-06 23:19:04 -04:00
|
|
|
- ./dotnet-install.sh --install-dir /app/opt/dotnet/ --version 6.0.100
|
2021-05-02 13:05:02 -04:00
|
|
|
sources:
|
|
|
|
- type: file
|
|
|
|
url: https://dot.net/v1/dotnet-install.sh
|
2022-04-06 23:13:38 -04:00
|
|
|
sha256: 760596d2e182e0edf05f4a10bd0fa266086d700fdd96438d2663f28e538912e3
|
2021-05-02 13:05:02 -04:00
|
|
|
- name: fmp
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- cd FRESHMusicPlayer/FRESHMusicPlayer-Avalonia; /app/opt/dotnet/dotnet publish FRESHMusicPlayer-Avalonia.csproj -c Release -r linux-x64 -o /app/opt/freshmusicplayer
|
|
|
|
- mkdir -p /app/bin
|
|
|
|
- ln -s /app/opt/freshmusicplayer/FRESHMusicPlayer /app/bin/fmp
|
|
|
|
- mkdir -p /app/share/applications
|
|
|
|
- cp Distribution/io.github.royce551.FRESHMusicPlayer.Blueprint.desktop /app/share/applications
|
|
|
|
- mkdir -p /app/share/icons/hicolor/scalable/apps
|
2021-05-02 13:16:07 -04:00
|
|
|
- cp Distribution/io.github.royce551.FRESHMusicPlayer.Blueprint.svg /app/share/icons/hicolor/scalable/apps/
|
2021-05-02 13:05:02 -04:00
|
|
|
- mkdir -p /app/share/metainfo
|
|
|
|
- cp Distribution/io.github.royce551.FRESHMusicPlayer.Blueprint.metainfo.xml /app/share/metainfo/
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://github.com/Royce551/FRESHMusicPlayer
|