{
 "app_id": "com.github.rajsolai.textsnatcher",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.rajsolai.textsnatcher/master/com.github.rajsolai.textsnatcher.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--system-talk-name=org.freedesktop.Accounts"
 ],
 "module_count": 8,
 "fetched_at": "2026-09-20T11:41:12.615116+00:00",
 "manifest": {
  "app-id": "com.github.rajsolai.textsnatcher",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "base": "io.elementary.BaseApp",
  "base-version": "circe-25.08",
  "sdk": "org.gnome.Sdk",
  "command": "com.github.rajsolai.textsnatcher",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--system-talk-name=org.freedesktop.Accounts"
  ],
  "modules": [
   {
    "name": "libbsd",
    "sources": [
     {
      "type": "archive",
      "url": "https://libbsd.freedesktop.org/releases/libbsd-0.12.2.tar.xz",
      "sha256": "b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a14731014",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1567,
       "stable-only": true,
       "url-template": "https://libbsd.freedesktop.org/releases/libbsd-$version.tar.xz"
      }
     }
    ],
    "modules": [
     {
      "name": "libmd",
      "sources": [
       {
        "type": "archive",
        "url": "https://libbsd.freedesktop.org/releases/libmd-1.1.0.tar.xz",
        "sha256": "1bd6aa42275313af3141c7cf2e5b964e8b1fd488025caf2f971f43b00776b332",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 15525,
         "stable-only": true,
         "url-template": "https://libbsd.freedesktop.org/releases/libmd-$version.tar.xz"
        }
       }
      ]
     }
    ]
   },
   {
    "name": "imlib2",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/kkoudev/imlib2.git",
      "commit": "0f6782427dd4f49a4d1da03bec133e6a27f994a3"
     }
    ]
   },
   {
    "name": "scrot",
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar-gzip",
      "url": "https://api.github.com/repos/resurrecting-open-source-projects/scrot/tarball/1.12.1",
      "sha256": "b4087954fa19f2adf16e90f6d3ba6c20ae41000591501933b82a2ce7d2c23cfa",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/resurrecting-open-source-projects/scrot/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".tarball_url"
      }
     }
    ]
   },
   {
    "name": "libportal",
    "buildsystem": "meson",
    "builddir": true,
    "config-opts": [
     "-Dbackend-gtk3=enabled",
     "-Ddocs=false",
     "-Dtests=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/flatpak/libportal/archive/0.9.1.tar.gz",
      "sha256": "ea422b789ae487e04194d387bea031fd7485bf88a18aef8c767f7d1c29496a4e",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 230124,
       "stable-only": true,
       "url-template": "https://github.com/flatpak/libportal/archive/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "com.github.rajsolai.textsnatcher",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/muelli/TextSnatcher.git",
      "commit": "5d771056436ace7babbbbe259f5abeaa4c1a6103"
     }
    ]
   },
   {
    "name": "leptonica",
    "rm-configure": true,
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/DanBloomberg/leptonica/releases/download/1.79.0/leptonica-1.79.0.tar.gz",
      "sha256": "045966c9c5d60ebded314a9931007a56d9d2f7a6ac39cb5cc077c816f62300d8"
     }
    ]
   },
   {
    "name": "tesseract",
    "config-opts": [
     "--disable-static",
     "--disable-graphics",
     "--enable-legacy"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/tesseract-ocr/tesseract/archive/5.5.1.tar.gz",
      "sha256": "a7a3f2a7420cb6a6a94d80c24163e183cf1d2f1bed2df3bbc397c81808a57237",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4954,
       "stable-only": true,
       "url-template": "https://github.com/tesseract-ocr/tesseract/archive/$version.tar.gz"
      }
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/eng.traineddata",
      "sha256": "8280aed0782fe27257a68ea10fe7ef324ca0f8d85bd2fd145d1c2b560bcb66ba",
      "dest": "traineddata"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/jpn.traineddata",
      "sha256": "36bdf9ac823f5911e624c30d0553e890b8abc7c31a65b3ef14da943658c40b79",
      "dest": "traineddata"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/rus.traineddata",
      "sha256": "b617eb6830ffabaaa795dd87ea7fd251adfe9cf0efe05eb9a2e8128b7728d6b6",
      "dest": "traineddata"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/fra.traineddata",
      "sha256": "907743d98915c91a3906dfbf6e48b97598346698fe53aaa797e1a064ffcac913",
      "dest": "traineddata"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/ara.traineddata",
      "sha256": "ab9d157d8e38ca00e7e39c7d5363a5239e053f5b0dbdb3167dde9d8124335896",
      "dest": "traineddata"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/chi_sim.traineddata",
      "sha256": "4fef2d1306c8e87616d4d3e4c6c67faf5d44be3342290cf8f2f0f6e3aa7e735b",
      "dest": "traineddata"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/spa.traineddata",
      "sha256": "e2c1ffdad8b30f26c45d4017a9183d3a7f9aa69e59918be4f88b126fac99ab2c",
      "dest": "traineddata"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/tur.traineddata",
      "sha256": "e0c3338dc17503dc7d335a507c9ae01b2b46cfd07561171e1e1ac55d85e8e438",
      "dest": "traineddata"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/nld.traineddata",
      "sha256": "92e7a1ad4bf8082e268de57c7823316ec024935702c6ed2a1e473b3a071aa733",
      "dest": "traineddata"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_best/raw/main/deu.traineddata",
      "sha256": "8407331d6aa0229dc927685c01a7938fc5a641d1a9524f74838cdac599f0d06e",
      "dest": "traineddata"
     }
    ],
    "post-install": [
     "install -p -D -m 0644 \"traineddata\"/deu.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";",
     "install -p -D -m 0644 \"traineddata\"/nld.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";",
     "install -p -D -m 0644 \"traineddata\"/tur.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";",
     "install -p -D -m 0644 \"traineddata\"/eng.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";",
     "install -p -D -m 0644 \"traineddata\"/jpn.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";",
     "install -p -D -m 0644 \"traineddata\"/rus.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";",
     "install -p -D -m 0644 \"traineddata\"/fra.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";",
     "install -p -D -m 0644 \"traineddata\"/ara.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";",
     "install -p -D -m 0644 \"traineddata\"/chi_sim.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";",
     "install -p -D -m 0644 \"traineddata\"/spa.traineddata -t \"${FLATPAK_DEST}/share/tessdata/\";"
    ]
   }
  ]
 }
}