{
 "app_id": "io.github.opennumismat.open-numismat",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.opennumismat.open-numismat/master/io.github.opennumismat.open-numismat.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=/media",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=/run/media",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:11:51.849421+00:00",
 "manifest": {
  "app-id": "io.github.opennumismat.open-numismat",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "base": "io.qt.PySide.BaseApp",
  "base-version": "6.11",
  "command": "open-numismat",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=network",
   "--filesystem=home",
   "--filesystem=/media",
   "--filesystem=/run/media",
   "--device=dri",
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess",
   "--env=TMPDIR=/var/tmp"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "modules": [
   "python3-requirements.json",
   {
    "name": "python3-imagehash",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-build-isolation --prefix=/app --no-deps ."
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/OpenNumismat/imagehash.git",
      "commit": "f8f8f7da4e85a259767cac49f515e2b1a3f89263"
     }
    ]
   },
   {
    "name": "open-numismat",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-build-isolation --prefix=/app --no-deps .",
     "install -Dm644 open-numismat.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 open-numismat.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 open-numismat.png /app/share/icons/hicolor/48x48/apps/${FLATPAK_ID}.png",
     "install -Dm644 io.github.opennumismat.open-numismat.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "desktop-file-edit --set-key=Exec --set-value=open-numismat /app/share/applications/${FLATPAK_ID}.desktop",
     "desktop-file-edit --set-icon=${FLATPAK_ID} /app/share/applications/${FLATPAK_ID}.desktop"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/OpenNumismat/open-numismat.git",
      "tag": "1.11.1",
      "commit": "8c2ba1767050d185f7a164232eccfacff1ee2ad7",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/OpenNumismat/open-numismat/releases/latest",
       "tag-query": ".tag_name",
       "version-query": "$tag",
       "timestamp-query": ".published_at"
      }
     }
    ]
   }
  ]
 }
}