{
 "app_id": "org.gnome.Hamster",
 "source_url": "https://raw.githubusercontent.com/flathub/org.gnome.Hamster/master/org.gnome.Hamster.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--filesystem=xdg-documents"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:14:50.895567+00:00",
 "manifest": {
  "app-id": "org.gnome.Hamster",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "command": "hamster",
  "rename-desktop-file": "org.gnome.Hamster.GUI.desktop",
  "rename-icon": "org.gnome.Hamster.GUI",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--filesystem=xdg-documents"
  ],
  "modules": [
   "shared-modules/intltool/intltool-0.51.json",
   {
    "name": "python3-dbus-python",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"dbus-python==1.2.18\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/b1/5c/ccfc167485806c1936f7d3ba97db6c448d0089c5746ba105b6eb22dba60e/dbus-python-1.2.18.tar.gz",
      "sha256": "92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260"
     }
    ]
   },
   {
    "name": "python3-pyxdg",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyxdg\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/e5/8d/cf41b66a8110670e3ad03dab9b759704eeed07fa96e90fdc0357b2ba70e2/pyxdg-0.28-py2.py3-none-any.whl",
      "sha256": "bdaf595999a0178ecea4052b7f4195569c1ff4d344567bccdc12dfdf02d545ab"
     }
    ]
   },
   {
    "name": "hamster",
    "buildsystem": "simple",
    "builddir": true,
    "build-commands": [
     "sed -i '/org.gnome.Hamster.GUI.metainfo.xml/d' data/wscript",
     "./waf configure --prefix=${FLATPAK_DEST}",
     "./waf build",
     "./waf install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/projecthamster/hamster.git",
      "commit": "81be67e08a6c2a69f2f042df5459dba886cbd7de"
     },
     {
      "type": "file",
      "path": "org.gnome.Hamster.metainfo.xml"
     }
    ],
    "post-install": [
     "install -vD --mode 644 org.gnome.Hamster.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "desktop-file-edit  --remove-key=DBusActivatable ${FLATPAK_DEST}/share/applications/org.gnome.Hamster.GUI.desktop"
    ]
   }
  ]
 }
}