app-id: com.quineglobal.drome
runtime: org.gnome.Platform
runtime-version: '49'
sdk: org.gnome.Sdk
command: quintodrome
finish-args:
- --share=ipc
- --share=network
- --socket=wayland
- --socket=fallback-x11
- --socket=pulseaudio
- --device=dri
- --filesystem=xdg-music
modules:
- name: quintodrome
buildsystem: simple
sources:
- type: file
path: ../quintodrome.deb
- type: file
path: com.quineglobal.drome.metainfo.xml
- type: file
path: ../../src-tauri/icons/icon.png
build-commands:
- ar -x quintodrome.deb
- tar -xf data.tar.*
- install -Dm755 usr/bin/quintodrome /app/bin/quintodrome
- install -Dm755 usr/bin/navidrome /app/bin/navidrome
- install -Dm644 usr/share/applications/Quintodrome.desktop
/app/share/applications/com.quineglobal.drome.desktop
- desktop-file-edit --set-icon=com.quineglobal.drome
/app/share/applications/com.quineglobal.drome.desktop
- |
for icon in usr/share/icons/hicolor/*x*/apps/quintodrome.png; do
size=$(basename "$(dirname "$(dirname "$icon")")")
case "$size" in *@*) continue ;; esac
install -Dm644 "$icon" "/app/share/icons/hicolor/$size/apps/com.quineglobal.drome.png"
done
- install -Dm644 icon.png
/app/share/icons/hicolor/512x512/apps/com.quineglobal.drome.png
- install -Dm644 com.quineglobal.drome.metainfo.xml
/app/share/metainfo/com.quineglobal.drome.metainfo.xml