{
 "app_id": "io.github.roadmvn.Klypse",
 "source_url": "https://raw.githubusercontent.com/Roadmvn/Klypse/main/packaging/flatpak/io.github.roadmvn.Klypse.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-pictures"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T17:38:45.654005+00:00",
 "manifest": {
  "app-id": "io.github.roadmvn.Klypse",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "klypse",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=xdg-pictures"
  ],
  "modules": [
   {
    "name": "klypse",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/klypse/cargo",
      "CARGO_NET_OFFLINE": "true"
     }
    },
    "build-commands": [
     "cargo build --workspace --release --locked --offline",
     "install -Dm0755 target/release/klypse /app/bin/klypse",
     "install -Dm0644 crates/klypse-app/resources/io.github.roadmvn.Klypse.desktop /app/share/applications/io.github.roadmvn.Klypse.desktop",
     "install -Dm0644 crates/klypse-app/resources/io.github.roadmvn.Klypse.metainfo.xml /app/share/metainfo/io.github.roadmvn.Klypse.metainfo.xml",
     "install -Dm0644 crates/klypse-app/resources/icons/hicolor/scalable/apps/io.github.roadmvn.Klypse.svg /app/share/icons/hicolor/scalable/apps/io.github.roadmvn.Klypse.svg",
     "install -Dm0644 crates/klypse-app/resources/io.github.roadmvn.Klypse.gschema.xml /app/share/glib-2.0/schemas/io.github.roadmvn.Klypse.gschema.xml",
     "glib-compile-schemas --strict /app/share/glib-2.0/schemas",
     "install -d /app/share/locale/fr/LC_MESSAGES",
     "msgfmt --check --check-format --output-file=/app/share/locale/fr/LC_MESSAGES/klypse.mo crates/klypse-app/resources/po/fr.po"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../..",
      "skip": [
       ".flatpak-builder",
       ".git",
       ".worktrees",
       "build",
       "target"
      ]
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}