{
 "app_id": "org.tunaos.letters",
 "source_url": "https://raw.githubusercontent.com/tuna-os/gtk-office-suite/main/flathub/org.tunaos.letters.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=/run/user",
  "--own-name=org.tunaos.letters",
  "--filesystem=xdg-documents"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T17:57:36.508468+00:00",
 "manifest": {
  "app-id": "org.tunaos.letters",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "letters",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=/run/user",
   "--own-name=org.tunaos.letters",
   "--filesystem=xdg-documents"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "CARGO_HOME": "/run/build/letters-rust/cargo"
   }
  },
  "modules": [
   {
    "name": "hunspell-en-us",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 en_US.dic /app/share/hunspell/en_US.dic",
     "install -Dm644 en_US.aff /app/share/hunspell/en_US.aff"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/LibreOffice/dictionaries/master/en/en_US.dic",
      "sha256": "f0b1a234bd178bdd01875b2a392a9647f888b8fe879f79c52aae62c2759b3647"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/LibreOffice/dictionaries/master/en/en_US.aff",
      "sha256": "e746c882dd6f303c2c46e7452804b9201115a6942cfeb15f18f8edf774d2e24e"
     }
    ]
   },
   {
    "name": "letters-rust",
    "buildsystem": "simple",
    "build-commands": [
     "cargo --offline build --release -p letters",
     "install -Dm755 target/release/letters /app/bin/letters",
     "install -Dm644 flatpak/org.tunaos.letters.desktop /app/share/applications/org.tunaos.letters.desktop",
     "install -Dm644 flatpak/org.tunaos.letters.gschema.xml /app/share/glib-2.0/schemas/org.tunaos.letters.gschema.xml",
     "glib-compile-schemas /app/share/glib-2.0/schemas/",
     "install -Dm644 flatpak/icons/org.tunaos.letters.svg /app/share/icons/hicolor/scalable/apps/org.tunaos.letters.svg",
     "install -Dm644 flatpak/org.tunaos.letters.metainfo.xml /app/share/metainfo/org.tunaos.letters.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tuna-os/gtk-office-suite.git",
      "tag": "v1.1.0"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}