{
 "app_id": "uk.co.cappsy.Tesseract",
 "source_url": "https://raw.githubusercontent.com/flathub/uk.co.cappsy.Tesseract/master/uk.co.cappsy.Tesseract.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--filesystem=xdg-config/cosmic",
  "--talk-name=com.system76.CosmicSettingsDaemon"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:17:35.764079+00:00",
 "manifest": {
  "id": "uk.co.cappsy.Tesseract",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "base": "com.system76.Cosmic.BaseApp",
  "base-version": "stable",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "tesseract",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--talk-name=com.system76.CosmicSettingsDaemon",
   "--filesystem=xdg-config/cosmic:rw"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "CARGO_HOME": "/run/build/tesseract/cargo"
   }
  },
  "modules": [
   {
    "name": "tesseract",
    "buildsystem": "simple",
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "install -Dm755 ./target/release/tesseract -t /app/bin",
     "install -Dm644 ./resources/app.desktop /app/share/applications/uk.co.cappsy.Tesseract.desktop",
     "install -Dm644 ./resources/app.metainfo.xml /app/share/metainfo/uk.co.cappsy.Tesseract.metainfo.xml",
     "install -Dm644 ./resources/icons/hicolor/scalable/apps/icon.svg /app/share/icons/hicolor/scalable/apps/uk.co.cappsy.Tesseract.svg"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/cappsyco/tesseract.git",
      "tag": "v0.3.3"
     },
     "./cargo-sources.json"
    ]
   }
  ]
 }
}