{
 "app_id": "io.github.dynobo.sphereview",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.dynobo.sphereview/master/io.github.dynobo.sphereview.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:10:54.665220+00:00",
 "manifest": {
  "app-id": "io.github.dynobo.sphereview",
  "command": "sphereview",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.node24"
  ],
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri"
  ],
  "modules": [
   {
    "name": "sphereview",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/node24/bin",
     "env": {
      "CARGO_HOME": "/run/build/sphereview/cargo",
      "CARGO_NET_OFFLINE": "true",
      "npm_config_cache": "/run/build/sphereview/flatpak-node/npm-cache"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo build --offline --release --all-features",
     "install -Dm0755 target/release/sphereview -t ${FLATPAK_DEST}/bin/",
     "install -Dm644 resources/assets/io.github.dynobo.sphereview.svg -t ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/",
     "install -Dm644 io.github.dynobo.sphereview.desktop -t ${FLATPAK_DEST}/share/applications/",
     "install -Dm644 io.github.dynobo.sphereview.appdata.xml -t ${FLATPAK_DEST}/share/metainfo/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dynobo/sphereview.git",
      "tag": "v0.1.6",
      "commit": "fe0428b9088dcf8ea4b02088d0eaece2fb10eb20"
     },
     "cargo-sources.json",
     "node-sources.json"
    ]
   }
  ]
 }
}