{
 "app_id": "re.sonny.Eloquent",
 "source_url": "https://raw.githubusercontent.com/flathub/re.sonny.Eloquent/master/re.sonny.Eloquent.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:17:20.151636+00:00",
 "manifest": {
  "id": "re.sonny.Eloquent",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "re.sonny.Eloquent",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk25"
  ],
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--env=PATH=/app/jre/bin:/usr/bin:/app/bin"
  ],
  "modules": [
   {
    "name": "fasttext",
    "buildsystem": "simple",
    "build-commands": [
     "sed -i 's/-march=native//g' Makefile",
     "make",
     "mkdir /app/fastText",
     "cp fasttext *.o /app/fastText"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/facebookresearch/fastText.git",
      "commit": "1142dc4c4ecbc19cc16eee5cdd28472e689267e6"
     }
    ]
   },
   {
    "name": "fasttext-model",
    "buildsystem": "simple",
    "build-commands": [
     "cp lid.176.bin /app/fastText"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://dl.fbaipublicfiles.com/fasttext/supervised-models/lid.176.bin",
      "sha256": "7e69ec5451bc261cc7844e49e4792a85d7f09c06789ec800fc4a44aec362764e"
     }
    ]
   },
   {
    "name": "LanguageTool",
    "buildsystem": "simple",
    "build-commands": [
     "cp -r . /app/LanguageTool"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://internal1.languagetool.org/snapshots/LanguageTool-20260824-snapshot.zip",
      "sha256": "5fb3f3eb85bcce46b6836990be87a76f322f1fcb318540a3ac347ce7428f9d19"
     }
    ],
    "modules": [
     {
      "name": "openjdk",
      "buildsystem": "simple",
      "build-commands": [
       "/usr/lib/sdk/openjdk25/install.sh"
      ]
     }
    ]
   },
   {
    "name": "libportal",
    "buildsystem": "meson",
    "config-opts": [
     "-Dtests=false",
     "-Dbackend-gtk3=disabled",
     "-Dbackend-gtk4=enabled",
     "-Dbackend-qt5=disabled",
     "-Ddocs=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/flatpak/libportal/releases/download/0.9.1/libportal-0.9.1.tar.xz",
      "sha256": "de801ee349ed3c255a9af3c01b1a401fab5b3fc1c35eb2fd7dfb35d4b8194d7f"
     }
    ]
   },
   {
    "name": "Eloquent",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/sonnyp/Eloquent.git",
      "commit": "0e8d0cae5f2939ac763e9f9b616fb083626107d2",
      "tag": "v1.5"
     }
    ]
   }
  ]
 }
}