{
 "app_id": "io.github.tanaybhomia.Whisp",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.tanaybhomia.Whisp/master/io.github.tanaybhomia.Whisp.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:12:21.936173+00:00",
 "manifest": {
  "app-id": "io.github.tanaybhomia.Whisp",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "whisp",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--env=TESSDATA_PREFIX=/app/share/tessdata/"
  ],
  "modules": [
   {
    "name": "leptonica",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/DanBloomberg/leptonica/releases/download/1.83.1/leptonica-1.83.1.tar.gz",
      "sha256": "8f18615e0743af7df7f50985c730dfcf0c93548073d1f56621e4156a8b54d3dd"
     }
    ]
   },
   {
    "name": "tesseract",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_TRAINING_TOOLS=OFF",
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/tesseract-ocr/tesseract/archive/5.3.4.tar.gz",
      "sha256": "141afc12b34a14bb691a939b4b122db0d51bd38feda7f41696822bacea7710c7"
     }
    ],
    "modules": [
     {
      "name": "tesseract-data",
      "buildsystem": "simple",
      "build-commands": [
       "mkdir -p ${FLATPAK_DEST}/share/tessdata",
       "cp eng.traineddata ${FLATPAK_DEST}/share/tessdata/"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/eng.traineddata",
        "sha256": "7d4322bd2a7749724879683fc3912cb542f19906c83bcc1a52132556427170b2"
       }
      ]
     }
    ]
   },
   {
    "name": "python3-pillow",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} --no-build-isolation Pillow"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/source/P/Pillow/pillow-11.1.0.tar.gz",
      "sha256": "368da70808b36d73b4b390a8ffac11069f8a5c85f29eff1f1b01bcf3ef5b2a20",
      "dest-filename": "pillow-11.1.0.tar.gz"
     }
    ]
   },
   {
    "name": "python3-pytesseract",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} --no-build-isolation pytesseract"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/source/p/pytesseract/pytesseract-0.3.10.tar.gz",
      "sha256": "f1c3a8b0f07fd01a1085d451f5b8315be6eec1d5577a6796d46dc7a62bd4120f",
      "dest-filename": "pytesseract-0.3.10.tar.gz"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/source/p/packaging/packaging-24.1.tar.gz",
      "sha256": "026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002",
      "dest-filename": "packaging-24.1.tar.gz"
     }
    ]
   },
   {
    "name": "whisp",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tanaybhomia/Whisp.git",
      "tag": "v1.5.0",
      "commit": "c6c23e66317bb5d306dbfcff8b9312c560843261"
     }
    ]
   }
  ]
 }
}