{
 "app_id": "io.github.chud_lori.datagrep",
 "source_url": "https://raw.githubusercontent.com/chud-lori/datagrep/main/packaging/flatpak/io.github.chud_lori.datagrep.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc",
  "--device=dri",
  "--share=network",
  "--socket=ssh-auth",
  "--filesystem=home",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T12:59:49.011515+00:00",
 "manifest": {
  "app-id": "io.github.chud_lori.datagrep",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "datagrep",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--share=network",
   "--socket=ssh-auth",
   "--filesystem=home",
   "--talk-name=org.freedesktop.secrets"
  ],
  "modules": [
   {
    "name": "datagrep",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/datagrep/cargo"
     }
    },
    "build-commands": [
     "cargo --offline build --release -p datagrep-cli",
     "install -Dm755 target/release/datagrep /app/bin/datagrep-cli",
     "cargo --offline build --release --manifest-path ui/gtk4/Cargo.toml",
     "install -Dm755 ui/gtk4/target/release/datagrep-gtk /app/bin/datagrep",
     "install -Dm644 packaging/flatpak/io.github.chud_lori.datagrep.desktop -t /app/share/applications",
     "install -Dm644 packaging/flatpak/io.github.chud_lori.datagrep.metainfo.xml -t /app/share/metainfo",
     "install -Dm644 packaging/icons/datagrep.svg /app/share/icons/hicolor/scalable/apps/io.github.chud_lori.datagrep.svg",
     "install -Dm644 packaging/icons/datagrep.png /app/share/icons/hicolor/256x256/apps/io.github.chud_lori.datagrep.png"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../..",
      "skip": [
       ".git",
       ".flatpak-builder",
       "target",
       "dist",
       "xtask/target",
       "ui/gtk4/target",
       "ui/macos/.build"
      ]
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}