{
 "app_id": "io.github.ilius.pyglossary",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.ilius.pyglossary/master/io.github.ilius.pyglossary.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--filesystem=xdg-run/gvfsd",
  "--talk-name=org.gtk.vfs.*"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:11:19.994367+00:00",
 "manifest": {
  "app-id": "io.github.ilius.pyglossary",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "pyglossary",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--talk-name=org.gtk.vfs.*",
   "--filesystem=xdg-run/gvfsd"
  ],
  "modules": [
   {
    "name": "lzo",
    "config-opts": [
     "--enable-shared",
     "--disable-static"
    ],
    "cleanup": [
     "/include",
     "/share/doc",
     "*.la",
     "/lib/*.so"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz",
      "sha256": "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1868,
       "url-template": "https://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "xapian-core",
    "config-opts": [
     "--disable-sse",
     "--disable-backend-chert",
     "--disable-backend-remote",
     "--disable-documentation"
    ],
    "sources": [
     {
      "type": "archive",
      "sha256": "bcbc99cfbf16080119c2571fc296794f539bd542ca3926f17c2999600830ab61",
      "url": "https://oligarchy.co.uk/xapian/1.4.27/xapian-core-1.4.27.tar.xz",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 15919,
       "url-template": "https://oligarchy.co.uk/xapian/$version/xapian-core-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libzim",
    "buildsystem": "meson",
    "builddir": true,
    "config-opts": [
     "--wrap-mode=nodownload",
     "-Dtest_data_dir=none"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/openzim/libzim.git",
      "tag": "9.8.0",
      "commit": "9f9ae88149ad057f5b9233e33ddc5f0d38a3adb9",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 20193,
       "tag-template": "$version"
      }
     }
    ]
   },
   {
    "name": "pyglossary",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py build",
     "python3 setup.py install \"--prefix=${FLATPAK_DEST}\"",
     "desktop-file-edit --set-key=Exec --set-value=\"pyglossary --ui=gtk %U\" --set-icon=${FLATPAK_ID} pkg/pyglossary.desktop",
     "install -Dm644 pkg/pyglossary.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 io.github.ilius.pyglossary.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm644 res/pyglossary.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg"
    ],
    "modules": [
     "python3-modules.json"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ilius/pyglossary.git",
      "tag": "5.4.2",
      "commit": "1b22233895a1e3616bd19410619f73f6941db155",
      "x-checker-data": {
       "is-main-source": true,
       "type": "anitya",
       "project-id": 58943,
       "tag-template": "$version"
      }
     },
     {
      "type": "file",
      "path": "io.github.ilius.pyglossary.metainfo.xml"
     }
    ]
   }
  ]
 }
}