{
 "app_id": "io.gitlab.ilshat_apps.manuscript",
 "source_url": "https://raw.githubusercontent.com/flathub/io.gitlab.ilshat_apps.manuscript/master/io.gitlab.ilshat_apps.manuscript.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-pictures:ro"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:12:40.231493+00:00",
 "manifest": {
  "app-id": "io.gitlab.ilshat_apps.manuscript",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "manuscript",
  "finish-args": [
   "--filesystem=xdg-documents",
   "--filesystem=xdg-pictures:ro",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--share=network",
   "--device=dri"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "CARGO_HOME": "/run/build/manuscript/cargo",
    "CARGO_REGISTRIES_CRATES_IO_PROTOCOL": "sparse"
   }
  },
  "modules": [
   {
    "name": "libspelling",
    "buildsystem": "meson",
    "config-opts": [
     "-Dvapi=false",
     "-Ddocs=false",
     "-Dintrospection=disabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.gnome.org/GNOME/libspelling/-/archive/0.4.10/libspelling-0.4.10.tar.bz2",
      "sha256": "d6388f3dc207269743ec920b14bb3be55ab4bd97a18e167b52a09cec0554dc2b"
     }
    ]
   },
   {
    "name": "inter-font",
    "buildsystem": "simple",
    "build-commands": [
     "install -d /app/share/fonts",
     "cp InterVariable.ttf InterVariable-Italic.ttf /app/share/fonts/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/rsms/inter/releases/download/v4.1/Inter-4.1.zip",
      "sha256": "9883fdd4a49d4fb66bd8177ba6625ef9a64aa45899767dde3d36aa425756b11e"
     }
    ]
   },
   {
    "name": "manuscript",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/manuscript/cargo"
     }
    },
    "build-commands": [
     "mkdir -p .cargo\ncat > .cargo/config.toml <<CONF\n[source.crates-io]\nreplace-with = \"vendored-sources\"\n[source.vendored-sources]\ndirectory = \"cargo/vendor\"\nCONF\n",
     "cargo --offline build --release --verbose",
     "install -Dm755 target/release/manuscript /app/bin/manuscript",
     "install -Dm644 data/io.gitlab.ilshat_apps.manuscript.desktop /app/share/applications/io.gitlab.ilshat_apps.manuscript.desktop",
     "install -Dm644 data/io.gitlab.ilshat_apps.manuscript.metainfo.xml /app/share/metainfo/io.gitlab.ilshat_apps.manuscript.metainfo.xml",
     "install -Dm644 data/icons/hicolor/scalable/apps/io.gitlab.ilshat_apps.manuscript.svg /app/share/icons/hicolor/scalable/apps/io.gitlab.ilshat_apps.manuscript.svg",
     "install -Dm644 LICENSE /app/share/licenses/io.gitlab.ilshat_apps.manuscript/LICENSE"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.com/ilshat-apps/manuscript.git",
      "tag": "v1.5.1",
      "commit": "fd430e4dc49cddff4349adc50ddd34ec795a23e7"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}