{
 "app_id": "io.github.hrkfdn.ncspot",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.hrkfdn.ncspot/master/io.github.hrkfdn.ncspot.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--talk-name=org.gnome.SessionManager",
  "--talk-name=org.freedesktop.Notifications",
  "--own-name=org.mpris.MediaPlayer2.ncspot.*"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:14.681506+00:00",
 "manifest": {
  "app-id": "io.github.hrkfdn.ncspot",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "ncspot",
  "finish-args": [
   "--share=network",
   "--socket=pulseaudio",
   "--talk-name=org.freedesktop.Notifications",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--own-name=org.mpris.MediaPlayer2.ncspot.*",
   "--talk-name=org.gnome.SessionManager"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "ncspot",
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/ncspot/cargo"
     }
    },
    "sources": [
     "cargo-sources.json",
     {
      "type": "git",
      "url": "https://github.com/hrkfdn/ncspot.git",
      "tag": "v1.3.4",
      "commit": "47c12502908a952f03e7c9f8224eb28d10c0ca07",
      "x-checker-data": {
       "type": "anitya",
       "is-main-source": true,
       "project-id": 235448,
       "tag-template": "v$version"
      }
     },
     {
      "type": "file",
      "path": "io.github.hrkfdn.ncspot.metainfo.xml"
     }
    ],
    "buildsystem": "simple",
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml",
     "cargo --offline build --release --locked",
     "install -Dm 755 target/release/ncspot /app/bin/ncspot",
     "desktop-file-edit --set-icon=io.github.hrkfdn.ncspot misc/ncspot.desktop",
     "install -Dm 644 misc/ncspot.desktop /app/share/applications/io.github.hrkfdn.ncspot.desktop",
     "install -Dm 644 images/logo.svg /app/share/icons/hicolor/scalable/apps/io.github.hrkfdn.ncspot.svg",
     "install -Dm 644 io.github.hrkfdn.ncspot.metainfo.xml /app/share/appdata/io.github.hrkfdn.ncspot.metainfo.xml"
    ]
   }
  ]
 }
}