{
 "app_id": "io.github.OkuBrowser.oku",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.OkuBrowser.oku/master/io.github.OkuBrowser.oku.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "48",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--socket=cups",
  "--device=all",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=host",
  "--filesystem=xdg-run/gvfs",
  "--talk-name=org.freedesktop.Flatpak",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.gtk.vfs.*"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:10:24.841543+00:00",
 "manifest": {
  "app-id": "io.github.OkuBrowser.oku",
  "runtime": "org.gnome.Platform",
  "runtime-version": "48",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "oku",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all",
   "--socket=pulseaudio",
   "--socket=cups",
   "--filesystem=host",
   "--filesystem=xdg-run/gvfs",
   "--filesystem=xdg-run/gvfsd",
   "--talk-name=org.freedesktop.Flatpak",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.gtk.vfs.*"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/doc"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "RUSTFLAGS": "--remap-path-prefix =../",
    "CARGO_HOME": "/run/build/oku/cargo"
   }
  },
  "modules": [
   {
    "name": "libfuse",
    "buildsystem": "meson",
    "config-opts": [
     "-Dexamples=false",
     "-Dutils=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libfuse/libfuse.git",
      "tag": "fuse-3.16.1",
      "commit": "1f0dfae4084577997291bb0e1b94aeff89a5e70f"
     }
    ]
   },
   {
    "name": "oku",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 fusermount-wrapper.sh /app/bin/fusermount3",
     "./prebuild.sh",
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "install -Dm755 ./target/release/oku -t /app/bin/",
     "install -Dm755 ./resources.gresource -t /app/bin/",
     "install -Dm644 ./data/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 ./data/${FLATPAK_ID}.desktop -t /app/share/applications/",
     "mkdir -p /app/share/icons/hicolor",
     "cp -avr ./data/hicolor /app/share/icons/",
     "install -Dm644 ./README.md -t /app/share/doc/oku/",
     "install -Dm644 ./COPYING -t /app/share/doc/oku/"
    ],
    "sources": [
     {
      "type": "file",
      "path": "./fusermount-wrapper.sh"
     },
     {
      "type": "git",
      "url": "https://github.com/OkuBrowser/oku.git",
      "tag": "v0.1.1"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}