{
 "app_id": "com.linoise.Linoise",
 "source_url": "https://raw.githubusercontent.com/luckyduckcode/Linoise/main/com.linoise.Linoise.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "47",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=xdg-music",
  "--talk-name=org.mpris.MediaPlayer2.Linoise"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T13:04:32.445439+00:00",
 "manifest": {
  "app-id": "com.linoise.Linoise",
  "runtime": "org.gnome.Platform",
  "runtime-version": "47",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.node20"
  ],
  "command": "linoise",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=xdg-music",
   "--talk-name=org.mpris.MediaPlayer2.Linoise"
  ],
  "modules": [
   {
    "name": "linoise",
    "buildsystem": "simple",
    "build-options": {
     "build-args": [
      "--share=network"
     ],
     "env": {
      "CARGO_NET_GIT_FETCH_WITH_CLI": "true"
     }
    },
    "build-commands": [
     ". /usr/lib/sdk/node20/enable.sh\nnpm install --production=false\nnpm run build\n",
     "mkdir -p src-tauri/resources",
     "cp -r dist/* src-tauri/resources/ || true",
     ". /usr/lib/sdk/rust-stable/enable.sh\ncd src-tauri && cargo build --release\n",
     "install -D -m 755 src-tauri/target/release/linoise-backend -t /app/bin/",
     "ln -sf /app/bin/linoise-backend /app/bin/linoise",
     "mkdir -p /app/share/linoise",
     "cp -r dist/* /app/share/linoise/ || true",
     "install -D -m 644 com.linoise.Linoise.png -t /app/share/icons/hicolor/128x128/apps/",
     "install -D -m 644 com.linoise.Linoise.desktop -t /app/share/applications/",
     "install -D -m 644 com.linoise.Linoise.metainfo.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "."
     }
    ]
   }
  ]
 }
}