FRESHMusicPlayer/Distribution/io.github.royce551.FRESHMusicPlayer.yml

44 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2021-05-02 13:05:02 -04:00
app-id: io.github.royce551.FRESHMusicPlayer
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
- --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.desktop /app/share/applications
- mkdir -p /app/share/icons/hicolor/scalable/apps
- cp Distribution/logo.svg /app/share/icons/hicolor/scalable/apps/io.github.royce551.FRESHMusicPlayer.svg
- mkdir -p /app/share/metainfo
- cp Distribution/io.github.royce551.FRESHMusicPlayer.metainfo.xml /app/share/metainfo/
sources:
- type: git
url: https://github.com/Royce551/FRESHMusicPlayer