{
 "app_id": "io.github.soulaudio.SoulPlayer",
 "source_url": "https://raw.githubusercontent.com/soulaudio/soul-player/main/.flatpak/io.github.soulaudio.SoulPlayer.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "46",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--socket=x11",
  "--socket=wayland",
  "--share=ipc",
  "--socket=pulseaudio",
  "--filesystem=home",
  "--share=network",
  "--device=all"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T12:56:16.976387+00:00",
 "manifest": {
  "app-id": "io.github.soulaudio.SoulPlayer",
  "runtime": "org.gnome.Platform",
  "runtime-version": "46",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-nightly",
   "org.freedesktop.Sdk.Extension.node20"
  ],
  "command": "soul-player",
  "finish-args": [
   "--socket=x11",
   "--socket=wayland",
   "--share=ipc",
   "--socket=pulseaudio",
   "--filesystem=home",
   "--share=network",
   "--device=all"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "soul-player",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-nightly/bin:/usr/lib/sdk/node20/bin",
     "env": {
      "CARGO_HOME": "/run/build/soul-player/cargo",
      "npm_config_cache": "/run/build/soul-player/npm-cache"
     }
    },
    "build-commands": [
     "mkdir -p .cargo",
     "cp cargo-config.toml .cargo/config.toml",
     "cd applications/desktop && yarn build && node copy-dist.cjs && cd ../..",
     "cargo build --release --package soul-player-desktop --offline",
     "install -Dm755 target/release/soul-player-desktop /app/bin/soul-player",
     "install -Dm644 applications/desktop/src-tauri/soul-player.desktop /app/share/applications/io.github.soulaudio.SoulPlayer.desktop",
     "install -Dm644 applications/desktop/src-tauri/icons/32x32.png /app/share/icons/hicolor/32x32/apps/io.github.soulaudio.SoulPlayer.png",
     "install -Dm644 applications/desktop/src-tauri/icons/128x128.png /app/share/icons/hicolor/128x128/apps/io.github.soulaudio.SoulPlayer.png",
     "install -Dm644 applications/desktop/src-tauri/icons/128x128@2x.png /app/share/icons/hicolor/256x256/apps/io.github.soulaudio.SoulPlayer.png",
     "install -Dm644 .flatpak/io.github.soulaudio.SoulPlayer.metainfo.xml /app/share/metainfo/io.github.soulaudio.SoulPlayer.metainfo.xml"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../",
      "skip": [
       ".flatpak/cargo-sources.json",
       ".flatpak/cargo-config.toml"
      ]
     },
     {
      "type": "file",
      "path": "cargo-config.toml",
      "dest-filename": "cargo-config.toml"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}