{
 "app_id": "io.github.woelper.Oculante",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.woelper.Oculante/master/io.github.woelper.Oculante.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:12:30.994020+00:00",
 "manifest": {
  "app-id": "io.github.woelper.Oculante",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "oculante",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--device=dri",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=home"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "oculante",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/oculante/cargo"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "install -Dm644 ./res/flathub/$FLATPAK_ID.desktop /app/share/applications/$FLATPAK_ID.desktop",
     "install -Dm644 ./res/flathub/$FLATPAK_ID.metainfo.xml /app/share/appdata/$FLATPAK_ID.metainfo.xml",
     "install -Dm644 ./res/icons/icon.png /app/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png",
     "install -Dm755 ./target/release/oculante -t /app/bin/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/woelper/oculante/archive/refs/tags/0.9.2.tar.gz",
      "sha256": "c79bc52b1d919b4ba702b4b1edad0d734287af80c592e8b5bb7bf7d70f1b0497"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}