{
 "app_id": "com.visorcraft.Grexa",
 "source_url": "https://raw.githubusercontent.com/visorcraft/Grexa/master/packaging/flatpak/com.visorcraft.Grexa.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=/run/media",
  "--share=network",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=org.freedesktop.FileManager1",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.kde.kglobalaccel",
  "--persist=.config/grexa",
  "--persist=.local/share/grexa",
  "--persist=.local/state/grexa",
  "--persist=.cache/grexa"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T12:55:39.036242+00:00",
 "manifest": {
  "app-id": "com.visorcraft.Grexa",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "grexa",
  "appstream-compose": false,
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--filesystem=home",
   "--filesystem=/run/media",
   "--share=network",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.freedesktop.FileManager1",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.kglobalaccel",
   "--persist=.config/grexa",
   "--persist=.local/share/grexa",
   "--persist=.local/state/grexa",
   "--persist=.cache/grexa"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "CARGO_HOME": "/run/build/grexa/cargo"
   }
  },
  "modules": [
   {
    "name": "grexa",
    "buildsystem": "simple",
    "build-commands": [
     "cargo --offline build --release --workspace --frozen",
     "install -Dm755 target/release/grexa /app/bin/grexa",
     "install -Dm755 target/release/grexa-cli /app/bin/grexa-cli",
     "install -Dm644 packaging/com.visorcraft.Grexa.desktop /app/share/applications/com.visorcraft.Grexa.desktop",
     "install -Dm644 packaging/com.visorcraft.Grexa.metainfo.xml /app/share/metainfo/com.visorcraft.Grexa.metainfo.xml",
     "for sz in 16 24 32 48 64 96 128 192 256 512; do install -Dm644 \"packaging/icons/${sz}x${sz}/apps/com.visorcraft.Grexa.png\" \"/app/share/icons/hicolor/${sz}x${sz}/apps/com.visorcraft.Grexa.png\"; done",
     "target/release/grexa-cli manpage > grexa-cli.1",
     "install -Dm644 grexa-cli.1 /app/share/man/man1/grexa-cli.1",
     "install -d /app/share/bash-completion/completions /app/share/fish/vendor_completions.d /app/share/zsh/site-functions",
     "target/release/grexa-cli completions bash > /app/share/bash-completion/completions/grexa-cli",
     "target/release/grexa-cli completions fish > /app/share/fish/vendor_completions.d/grexa-cli.fish",
     "target/release/grexa-cli completions zsh > /app/share/zsh/site-functions/_grexa-cli",
     "install -Dm644 LICENSE /app/share/licenses/grexa/LICENSE"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../.."
     }
    ]
   }
  ]
 }
}