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 - --filesystem=xdg-run/fmp - --own-name=org.mpris.MediaPlayer2.FRESHMusicPlayer 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 - ./dotnet-install.sh --install-dir /app/opt/dotnet/ --version 6.0.100 sources: - type: file url: https://dot.net/v1/dotnet-install.sh sha256: 760596d2e182e0edf05f4a10bd0fa266086d700fdd96438d2663f28e538912e3 - 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