{
 "app_id": "re.fossplant.songrec",
 "source_url": "https://raw.githubusercontent.com/flathub/re.fossplant.songrec/master/re.fossplant.songrec.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "51",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-run/pipewire-0",
  "--talk-name=org.kde.StatusNotifierWatcher"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:17:14.401485+00:00",
 "manifest": {
  "app-id": "re.fossplant.songrec",
  "runtime": "org.gnome.Platform",
  "runtime-version": "51",
  "sdk": "org.gnome.Sdk",
  "command": "songrec",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm22"
  ],
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm22/bin",
   "prepend-ld-library-path": "/usr/lib/sdk/llvm22/lib",
   "env": {
    "CARGO_HOME": "/run/build/songrec/.cargo"
   }
  },
  "modules": [
   {
    "name": "songrec",
    "buildsystem": "simple",
    "build-commands": [
     "cargo --offline fetch --verbose",
     "cargo --offline build --release --verbose --no-default-features -F gui,ffmpeg,pulse,mpris",
     "install -Dm755 ./target/release/songrec -t /app/bin/",
     "cp -r ./packaging/rootfs/usr/share /app/",
     "cp -r ./translations/locale /app/share/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/marin-m/SongRec/releases/download/0.7.5/songrec_tarball_0.7.5_for_flathub_build.tar.gz",
      "sha256": "e4c99bb4b52148734fa6d5c71306be9b57dc6a5922dc17478ff6ab0f4dde98eb"
     }
    ]
   }
  ]
 }
}