{
 "app_id": "org.freedesktop.Piper",
 "source_url": "https://raw.githubusercontent.com/flathub/org.freedesktop.Piper/master/org.freedesktop.Piper.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--system-talk-name=org.freedesktop.ratbag1"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-19T13:02:34.082663+00:00",
 "manifest": {
  "id": "org.freedesktop.Piper",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "command": "piper",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--system-talk-name=org.freedesktop.ratbag1",
   "--device=dri"
  ],
  "modules": [
   {
    "name": "python3-evdev",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"evdev\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/63/fe/a17c106a1f4061ce83f04d14bcedcfb2c38c7793ea56bfb906a6fadae8cb/evdev-1.9.2.tar.gz",
      "sha256": "5d3278892ce1f92a74d6bf888cc8525d9f68af85dbe336c95d1c87fb8f423069"
     }
    ]
   },
   {
    "name": "python-lxml",
    "buildsystem": "simple",
    "ensure-writable": [
     "/app/lib/python*/site-packages/easy-install.pth",
     "/app/lib/python*/site-packages/setuptools.pth",
     "/lib/python*/site-packages/easy-install.pth",
     "/lib/python*/site-packages/setuptools.pth"
    ],
    "build-commands": [
     "python3 setup.py build --with-cython",
     "python3 setup.py install --prefix=/app --root=/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/lxml/lxml.git",
      "tag": "lxml-6.0.2",
      "commit": "283d02ec8966c0e99f4666dc7bdd936479e97246"
     },
     {
      "type": "shell",
      "commands": [
       "sed -i 's/if not platform_/if not dirs/' setup.py"
      ]
     }
    ]
   },
   {
    "name": "Piper",
    "buildsystem": "meson",
    "config-opts": [
     "-Druntime-dependency-checks=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libratbag/piper.git",
      "commit": "c6e54f69dfa4cbe5dbe38b0a47b736f773b41e11"
     }
    ]
   }
  ]
 }
}