{
 "app_id": "com.github.unrud.RemoteTouchpad",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.unrud.RemoteTouchpad/master/com.github.unrud.RemoteTouchpad.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:07:55.447320+00:00",
 "manifest": {
  "app-id": "com.github.unrud.RemoteTouchpad",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "remote-touchpad",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=ipc",
   "--share=network"
  ],
  "modules": [
   {
    "name": "remote-touchpad",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Unrud/remote-touchpad",
      "tag": "v1.5.5",
      "commit": "d7cd061142df1366cf7eef844d34f65022fdd122",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/Unrud/remote-touchpad/releases/latest",
       "tag-query": ".tag_name"
      }
     },
     {
      "type": "git",
      "url": "https://github.com/godbus/dbus",
      "tag": "v5.2.2",
      "commit": "a8ac15ba63645f02ffd57f4b443203279ab40b30",
      "dest": "vendor/github.com/godbus/dbus/v5"
     },
     {
      "type": "git",
      "url": "https://github.com/skip2/go-qrcode",
      "commit": "da1b6568686e89143e94f980a98bc2dbd5537f13",
      "dest": "vendor/github.com/skip2/go-qrcode"
     },
     {
      "type": "git",
      "url": "https://github.com/golang/net",
      "tag": "v0.59.0",
      "commit": "540d04cfe5028e2655754591a4d3e08c586809f2",
      "dest": "vendor/golang.org/x/net"
     },
     {
      "type": "git",
      "url": "https://github.com/golang/sys",
      "tag": "v0.48.0",
      "commit": "613e2570718ecde85c04e69ebd5585c3881c442c",
      "dest": "vendor/golang.org/x/sys"
     },
     {
      "type": "file",
      "path": "modules.txt",
      "dest": "vendor"
     }
    ],
    "buildsystem": "simple",
    "build-commands": [
     ". /usr/lib/sdk/golang/enable.sh; go build -tags portal,x11",
     "install -Dm0755 -t /app/bin remote-touchpad",
     "install -Dm0755 -t /app/bin desktop/remote-touchpad-wait-on-error",
     "install -Dm0644 -t /app/share/metainfo desktop/com.github.unrud.RemoteTouchpad.metainfo.xml",
     "install -Dm0644 -t /app/share/applications desktop/com.github.unrud.RemoteTouchpad.desktop",
     "install -Dm0644 -t /app/share/icons/hicolor/scalable/apps desktop/com.github.unrud.RemoteTouchpad.svg",
     "for res in 16 32 48 64 128 256 512; do\n  rsvg-convert --height \"${res}\" --keep-aspect-ratio --format png --output com.github.unrud.RemoteTouchpad.png desktop/com.github.unrud.RemoteTouchpad.svg || exit 1\n  install -Dm0644 -t \"/app/share/icons/hicolor/${res}x${res}/apps\" com.github.unrud.RemoteTouchpad.png || exit 1\ndone\n"
    ]
   }
  ]
 }
}