{
 "app_id": "io.github.manisandro.gImageReader",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.manisandro.gImageReader/master/io.github.manisandro.gImageReader.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=home",
  "--filesystem=xdg-run/gvfsd",
  "--talk-name=org.gtk.vfs.*",
  "--talk-name=org.a11y.Bus",
  "--own-name=org.gnome.gimagereader.*",
  "--system-talk-name=org.freedesktop.Avahi"
 ],
 "module_count": 23,
 "fetched_at": "2026-09-20T15:25:05.927628+00:00",
 "manifest": {
  "app-id": "io.github.manisandro.gImageReader",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "gimagereader-gtk",
  "rename-desktop-file": "gimagereader-gtk.desktop",
  "rename-appdata-file": "gimagereader-gtk.appdata.xml",
  "rename-icon": "gimagereader",
  "copy-icon": true,
  "add-extensions": {
   "io.github.manisandro.gImageReader.tessdata": {
    "directory": "share/tessdata",
    "version": "4.1.0",
    "bundle": true
   }
  },
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--talk-name=org.a11y.Bus",
   "--own-name=org.gnome.gimagereader.*",
   "--talk-name=org.gtk.vfs.*",
   "--system-talk-name=org.freedesktop.Avahi",
   "--filesystem=xdg-run/gvfsd",
   "--env=TESSDATA_PREFIX=/app/share",
   "--filesystem=home",
   "--device=all"
  ],
  "cleanup": [
   "/include",
   "/lib/atkmm-1.6",
   "/lib/cmake",
   "/lib/cairomm-1.0",
   "/lib/girepository-1.0",
   "/lib/gdkmm-3.0",
   "/lib/giomm-2.4",
   "/lib/glibmm-2.4",
   "/lib/gtkmm-3.0",
   "/lib/libglibmm_generate_extra_defs*",
   "/lib/pangomm-1.4",
   "/lib/pkgconfig",
   "/lib/sigc++-2.0",
   "/man",
   "/share/aclocal",
   "/share/doc",
   "/share/gir-1.0",
   "/share/gtk-doc",
   "/share/man",
   "/share/pkgconfig",
   "/share/vala",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "gimagereader",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DINTERFACE_TYPE=gtk",
     "-DENABLE_VERSIONCHECK=0"
    ],
    "post-install": [
     "install -Dm644 data/icons/gimagereader.svg \"${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/gimagereader.svg\""
    ],
    "modules": [
     "shared-modules/intltool/intltool-0.51.json",
     {
      "name": "boost",
      "buildsystem": "simple",
      "build-commands": [
       "./bootstrap.sh --prefix=/app --with-libraries=system",
       "./b2 -j $FLATPAK_BUILDER_N_JOBS install"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.bz2",
        "sha256": "49551aff3b22cbc5c5a9ed3dbc92f0e23ea50a0f7325b0d198b705e8ee3fc305",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 6845,
         "stable-only": true,
         "url-template": "https://archives.boost.io/release/$version/source/boost_${major}_${minor}_$patch.tar.bz2"
        }
       }
      ]
     },
     {
      "name": "sane-backends",
      "buildsystem": "autotools",
      "config-opts": [
       "--disable-saned"
      ],
      "post-install": [
       "rm /app/etc/sane.d/dll.conf",
       "rm /app/etc/sane.d/net.conf",
       "echo 127.0.0.1 > /app/etc/sane.d/net.conf",
       "echo net > /app/etc/sane.d/dll.conf",
       "echo escl >> /app/etc/sane.d/dll.conf",
       "echo airscan >> /app/etc/sane.d/dll.conf"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://gitlab.com/sane-project/backends.git",
        "tag": "1.4.0",
        "commit": "c7e4b5e35e3d614d2b1181d760a717bfc395a203",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 4760,
         "tag-template": "$version"
        }
       }
      ]
     },
     {
      "name": "podofo",
      "buildsystem": "cmake-ninja",
      "builddir": true,
      "cleanup": [
       "/bin",
       "/share"
      ],
      "config-opts": [
       "-DPODOFO_BUILD_LIB_ONLY=1"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/podofo/podofo/archive/refs/tags/1.1.1.tar.gz",
        "sha256": "16943528b37798d8663ffedc97190803e525d0a1dcb021fdbf9d35242831890a",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 10527,
         "url-template": "https://github.com/podofo/podofo/archive/refs/tags/$version.tar.gz"
        }
       }
      ]
     },
     {
      "name": "djvulibre",
      "sources": [
       {
        "type": "archive",
        "url": "https://downloads.sourceforge.net/djvu/djvulibre-3.5.30.tar.gz",
        "sha256": "ee5e457d4cfebe566f94b99e5e3d3cc7f5c79ddb741c2ac2ba2e456f00329644",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 10159,
         "stable-only": true,
         "url-template": "https://downloads.sourceforge.net/djvu/djvulibre-$version.tar.gz"
        }
       }
      ]
     },
     {
      "name": "gtkmm",
      "sources": [
       {
        "sha256": "19e383c82d5dd89db275e00b82864e90414d4c3fb3d100b2f996bcc2338a4cc7",
        "type": "archive",
        "url": "https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.11.tar.xz",
        "x-checker-data": {
         "type": "gnome",
         "name": "gtkmm",
         "versions": {
          "<": "3.25"
         }
        }
       }
      ],
      "buildsystem": "meson",
      "config-opts": [
       "-Dmaintainer-mode=false",
       "-Dbuild-demos=false",
       "-Dbuild-tests=false"
      ],
      "modules": [
       {
        "name": "sigc++",
        "sources": [
         {
          "sha256": "235a40bec7346c7b82b6a8caae0456353dc06e71f14bc414bcc858af1838719a",
          "type": "archive",
          "url": "https://download.gnome.org/sources/libsigc++/2.10/libsigc++-2.10.8.tar.xz",
          "x-checker-data": {
           "type": "gnome",
           "name": "libsigc++",
           "versions": {
            "<": "2.11"
           }
          }
         }
        ],
        "buildsystem": "meson",
        "config-opts": [
         "-Dbuild-examples=false"
        ]
       },
       {
        "name": "glibmm",
        "sources": [
         {
          "sha256": "64f11d3b95a24e2a8d4166ecff518730f79ecc27222ef41faf7c7e0340fc9329",
          "type": "archive",
          "url": "https://download.gnome.org/sources/glibmm/2.66/glibmm-2.66.8.tar.xz",
          "x-checker-data": {
           "type": "gnome",
           "name": "glibmm",
           "versions": {
            "<": "2.67"
           }
          }
         }
        ],
        "buildsystem": "meson",
        "config-opts": [
         "-Dbuild-examples=false"
        ]
       },
       {
        "name": "cairomm",
        "sources": [
         {
          "sha256": "7e0d5c7f29175d573a03ab5c45aef63f48dd91a5caf335a404cd763e4b7cea4a",
          "type": "archive",
          "url": "https://www.cairographics.org/releases/cairomm-1.14.6.tar.xz",
          "x-checker-data": {
           "type": "anitya",
           "project-id": 7959,
           "url-template": "https://www.cairographics.org/releases/cairomm-$version.tar.xz",
           "versions": {
            "<": "1.15"
           }
          }
         }
        ],
        "buildsystem": "meson",
        "config-opts": [
         "-Dbuild-examples=false"
        ]
       },
       {
        "name": "pangomm",
        "sources": [
         {
          "sha256": "b92016661526424de4b9377f1512f59781f41fb16c9c0267d6133ba1cd68db22",
          "type": "archive",
          "url": "https://download.gnome.org/sources/pangomm/2.46/pangomm-2.46.4.tar.xz",
          "x-checker-data": {
           "type": "gnome",
           "name": "pangomm",
           "versions": {
            "<": "2.47"
           }
          }
         }
        ],
        "buildsystem": "meson"
       },
       {
        "name": "atkmm",
        "sources": [
         {
          "sha256": "ae449192a582a2582a95e0602b15d792bbd639e836339b81ef916aa87540ac5c",
          "type": "archive",
          "url": "https://download.gnome.org/sources/atkmm/2.28/atkmm-2.28.5.tar.xz",
          "x-checker-data": {
           "type": "gnome",
           "name": "atkmm",
           "versions": {
            "<": "2.29"
           }
          }
         }
        ],
        "buildsystem": "meson"
       }
      ]
     },
     {
      "name": "gtksourceviewmm",
      "config-opts": [
       "--disable-documentation"
      ],
      "modules": [
       {
        "name": "gtkspellmm",
        "config-opts": [
         "--disable-documentation"
        ],
        "modules": [
         {
          "name": "gtkspell3",
          "config-opts": [
           "--disable-documentation"
          ],
          "sources": [
           {
            "type": "archive",
            "url": "https://downloads.sourceforge.net/gtkspell/gtkspell3-3.0.10.tar.xz",
            "sha256": "b040f63836b347eb344f5542443dc254621805072f7141d49c067ecb5a375732",
            "x-checker-data": {
             "type": "anitya",
             "project-id": 13111,
             "stable-only": true,
             "url-template": "https://downloads.sourceforge.net/gtkspell/gtkspell3-$version.tar.xz"
            }
           }
          ]
         }
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://downloads.sourceforge.net/gtkspell/gtkspellmm-3.0.5.tar.xz",
          "sha256": "5b875a5753ce593274d0c6e803af6300973020c5443905999aba96ed3cef1545",
          "x-checker-data": {
           "type": "anitya",
           "project-id": 353541,
           "stable-only": true,
           "url-template": "https://downloads.sourceforge.net/gtkspell/gtkspellmm-$version.tar.xz"
          }
         }
        ]
       },
       {
        "name": "gtksourceview",
        "config-opts": [
         "--disable-documentation"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://download.gnome.org/sources/gtksourceview/3.24/gtksourceview-3.24.11.tar.xz",
          "sha256": "691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd",
          "x-checker-data": {
           "type": "gnome",
           "name": "gtksourceview",
           "stable-only": true,
           "versions": {
            "<": "3.25"
           }
          }
         },
         {
          "type": "patch",
          "path": "patches/gtksourceview-gcc14.patch"
         }
        ]
       }
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://download.gnome.org/sources/gtksourceviewmm/3.21/gtksourceviewmm-3.21.3.tar.xz",
        "sha256": "dbb00b1c28e0407cc27d8b07a2ed0b4ea22f92e4b3e3006431cbd6726b6256b5",
        "x-checker-data": {
         "type": "gnome",
         "name": "gtksourceviewmm",
         "stable-only": true,
         "versions": {
          "<": "3.22"
         }
        }
       }
      ]
     },
     {
      "name": "poppler",
      "config-opts": [
       "-DENABLE_ZLIB=ON",
       "-DENABLE_LIBTIFF=ON",
       "-DENABLE_LIBPNG=ON",
       "-DENABLE_GLIB=ON",
       "-DENABLE_QT5=OFF",
       "-DENABLE_QT6=OFF",
       "-DENABLE_CMS='lcms2'",
       "-DENABLE_DCTDECODER='libjpeg'",
       "-DENABLE_SPLASH=OFF",
       "-DENABLE_BOOST=OFF",
       "-DENABLE_CPP=OFF"
      ],
      "buildsystem": "cmake-ninja",
      "builddir": true,
      "sources": [
       {
        "type": "archive",
        "url": "https://poppler.freedesktop.org/poppler-26.06.0.tar.xz",
        "sha256": "4cb4e5a3dc8cb5eec751c8a23c8ba19f61f96dedc0cd07d2aee6b0c8e2cf6ba4",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 3686,
         "stable-only": true,
         "url-template": "https://poppler.freedesktop.org/poppler-$version.tar.xz"
        }
       }
      ]
     },
     {
      "name": "libxml++",
      "buildsystem": "meson",
      "config-opts": [
       "-Dbuild-examples=false"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://download.gnome.org/sources/libxml++/3.2/libxml++-3.2.5.tar.xz",
        "sha256": "0c9b381b5a83d6b3ab4b0b865d7256dab27d575981b63be2f859edcb94da59c7",
        "x-checker-data": {
         "type": "gnome",
         "name": "libxml++",
         "stable-only": true,
         "versions": {
          "<": "3.3"
         }
        }
       }
      ]
     },
     {
      "name": "libzip",
      "buildsystem": "cmake-ninja",
      "config-opts": [
       "-DCMAKE_INSTALL_LIBDIR=/app/lib",
       "-DCMAKE_INSTALL_INCLUDEDIR=/app/include"
      ],
      "cleanup": [
       "/bin"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://libzip.org/download/libzip-1.11.4.tar.xz",
        "sha256": "8a247f57d1e3e6f6d11413b12a6f28a9d388de110adc0ec608d893180ed7097b",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 10649,
         "url-template": "https://libzip.org/download/libzip-$version.tar.xz"
        }
       }
      ]
     },
     {
      "name": "tesseract",
      "buildsystem": "autotools",
      "config-opts": [
       "--disable-graphics"
      ],
      "modules": [
       {
        "name": "libleptonica",
        "sources": [
         {
          "type": "archive",
          "url": "https://github.com/DanBloomberg/leptonica/archive/refs/tags/1.87.0.tar.gz",
          "sha256": "fa2b40c5caea96d1bb93a97486262aed8731b69ce25a84a6bf5d25323e33f631",
          "x-checker-data": {
           "type": "anitya",
           "project-id": 1549,
           "url-template": "https://github.com/DanBloomberg/leptonica/archive/refs/tags/$version.tar.gz"
          }
         }
        ]
       }
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.5.2.tar.gz",
        "sha256": "6235ea0dae45ea137f59c09320406f5888383741924d98855bd2ce0d16b54f21",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 4954,
         "url-template": "https://github.com/tesseract-ocr/tesseract/archive/refs/tags/$version.tar.gz"
        }
       }
      ]
     },
     {
      "name": "tessdata_fast",
      "buildsystem": "simple",
      "build-commands": [
       "rm -rf ${FLATPAK_DEST}/share/tessdata",
       "mkdir -p ${FLATPAK_DEST}/share/tessdata",
       "cp -av * ${FLATPAK_DEST}/share/tessdata/"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/tesseract-ocr/tessdata_fast",
        "tag": "4.1.0",
        "commit": "65727574dfcd264acbb0c3e07860e4e9e9b22185",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 326567,
         "tag-template": "$version"
        }
       }
      ]
     },
     {
      "name": "enchant",
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/rrthomas/enchant/releases/download/v2.8.16/enchant-2.8.16.tar.gz",
        "sha256": "d73162b5eff401a6397e1215e2b103bcef83f921c396c7f6b1394d2450d124e2",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 6601,
         "stable-only": true,
         "url-template": "https://github.com/rrthomas/enchant/releases/download/v$version/enchant-$version.tar.gz"
        }
       }
      ],
      "cleanup": [
       "*.a",
       "*.la",
       "/bin",
       "/include",
       "/share"
      ]
     }
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/manisandro/gimagereader",
      "tag": "v3.4.3",
      "commit": "8b9c9fb7389d9ca9c5086bef15665db8268eb21e",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 8889,
       "stable-only": true,
       "tag-template": "v$version"
      }
     }
    ]
   }
  ]
 }
}