app-id: dev.myyc.soroll runtime: org.freedesktop.Platform runtime-version: "25.08" sdk: org.freedesktop.Sdk command: soroll finish-args: # Network access for DLNA/HEOS discovery and control - --share=network # Audio access for speaker discovery - --socket=pulseaudio # X11 + XShm access - --socket=x11 - --share=ipc # Wayland access - --socket=wayland # OpenGL access for rendering - --device=dri # DBus access for connectivity checking - --socket=session-bus # Filesystem access for caching - --filesystem=xdg-cache - --filesystem=xdg-config # For window decorations - --talk-name=org.freedesktop.portal.Desktop - --talk-name=org.freedesktop.portal.FileChooser modules: - name: soroll buildsystem: simple sources: - type: dir path: . # Only include the built application, not source skip: - .git - .dart_tool - .idea - flatpak-flutter - "*.md" - "*.yaml" - "*.yml" - lib - test - android - ios - macos - windows - web build-commands: # Verify the app was pre-built - test -f build/linux/x64/release/bundle/soroll || (echo "Error: Please run 'flutter build linux --release' first" && exit 1) # Install the binary to /app/bin - install -Dm755 build/linux/x64/release/bundle/soroll /app/bin/soroll # Copy lib and data directories maintaining structure - cp -r build/linux/x64/release/bundle/lib /app/bin/ - cp -r build/linux/x64/release/bundle/data /app/bin/ # Install desktop file - install -Dm644 linux/soroll.desktop /app/share/applications/dev.myyc.soroll.desktop # Install icons in multiple sizes - test -f linux/icons/dev.myyc.soroll-64.png && install -Dm644 linux/icons/dev.myyc.soroll-64.png /app/share/icons/hicolor/64x64/apps/dev.myyc.soroll.png || install -Dm644 linux/icons/soroll-64.png /app/share/icons/hicolor/64x64/apps/dev.myyc.soroll.png - test -f linux/icons/dev.myyc.soroll-128.png && install -Dm644 linux/icons/dev.myyc.soroll-128.png /app/share/icons/hicolor/128x128/apps/dev.myyc.soroll.png || install -Dm644 linux/icons/soroll-128.png /app/share/icons/hicolor/128x128/apps/dev.myyc.soroll.png - test -f linux/icons/dev.myyc.soroll-256.png && install -Dm644 linux/icons/dev.myyc.soroll-256.png /app/share/icons/hicolor/256x256/apps/dev.myyc.soroll.png || install -Dm644 linux/icons/soroll-256.png /app/share/icons/hicolor/256x256/apps/dev.myyc.soroll.png - test -f linux/icons/dev.myyc.soroll-512.png && install -Dm644 linux/icons/dev.myyc.soroll-512.png /app/share/icons/hicolor/512x512/apps/dev.myyc.soroll.png || install -Dm644 linux/icons/soroll-512.png /app/share/icons/hicolor/512x512/apps/dev.myyc.soroll.png