{
 "app_id": "org.freedesktop.TuhiGui",
 "source_url": "https://raw.githubusercontent.com/whot/tuhigui/master/org.freedesktop.TuhiGui.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "3.30",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--talk-name=org.freedesktop.tuhi1",
  "--own-name=org.freedesktop.tuhi1",
  "--system-talk-name=org.bluez"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-20T12:52:10.439515+00:00",
 "manifest": {
  "app-id": "org.freedesktop.TuhiGui",
  "runtime": "org.gnome.Platform",
  "runtime-version": "3.30",
  "sdk": "org.gnome.Sdk",
  "command": "tuhi-gui",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--talk-name=org.freedesktop.tuhi1",
   "--own-name=org.freedesktop.tuhi1",
   "--system-talk-name=org.bluez"
  ],
  "modules": [
   {
    "name": "pyxdg",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "git://anongit.freedesktop.org/xdg/pyxdg"
     }
    ],
    "build-commands": [
     "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
    ]
   },
   {
    "name": "python-pyparsing",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/pyparsing/pyparsing/releases/download/pyparsing_2.4.0/pyparsing-2.4.0.tar.gz",
      "sha512": "71877dc006cce5c1b1d45e7cc89cd60e03cb80353387fb0c6498cfc0d69af465dc574d1bceb87248033e7a82694aa940e9fce1ca80b2ef538a8df51f697ef530"
     }
    ],
    "build-commands": [
     "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
    ]
   },
   {
    "name": "python-svgwrite",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mozman/svgwrite.git"
     }
    ],
    "build-commands": [
     "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
    ]
   },
   {
    "name": "tuhi",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tuhiproject/tuhi"
     }
    ],
    "build-commands": [
     "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
    ]
   },
   {
    "name": "tuhigui",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "."
     }
    ],
    "post-install": [
     "cp tuhi-gui-flatpak.py /app/bin/tuhi-gui",
     "chmod +x /app/bin/tuhi-gui"
    ]
   }
  ]
 }
}