{
 "app_id": "org.tigervnc.vncviewer",
 "source_url": "https://raw.githubusercontent.com/flathub/org.tigervnc.vncviewer/master/org.tigervnc.vncviewer.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:16:47.247189+00:00",
 "manifest": {
  "app-id": "org.tigervnc.vncviewer",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "vncviewer",
  "rename-icon": "tigervnc",
  "rename-desktop-file": "vncviewer.desktop",
  "finish-args": [
   "--persist=vnc",
   "--share=ipc",
   "--share=network",
   "--socket=x11"
  ],
  "cleanup": [
   "/bin/fltk-config",
   "/bin/fluid",
   "/bin/vncconfig",
   "/bin/vncpasswd",
   "/bin/x0vncserver",
   "/etc",
   "/include",
   "/lib/libpam*",
   "/lib/pkgconfig",
   "/lib/security",
   "/lib/systemd",
   "/libexec",
   "/sbin",
   "/share/doc",
   "/share/fltk",
   "/share/man",
   "/share/mime",
   "/share/runtime",
   "Linux-PAM.mo",
   "fluid.desktop",
   "fluid.png"
  ],
  "modules": [
   {
    "name": "fltk",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/fltk/fltk.git",
      "tag": "release-1.3.9",
      "commit": "a66273e72621887fcbd0ee5dca2dd133356d5d8a"
     }
    ]
   },
   {
    "name": "pam",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-doc"
    ],
    "post-install": [
     "cp -r libpam/include/* $FLATPAK_DEST/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/linux-pam/linux-pam.git",
      "tag": "v1.6.1",
      "commit": "9438e084e2b318bf91c3912c0b8ff056e1835486"
     }
    ]
   },
   {
    "name": "vncviewer",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_CXX_FLAGS=-lpng16"
    ],
    "post-install": [
     "install -Dm644 org.tigervnc.vncviewer.metainfo.xml $FLATPAK_DEST/share/metainfo/org.tigervnc.vncviewer.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/TigerVNC/tigervnc.git",
      "tag": "v1.14.0",
      "commit": "4a09a96661624dff14662d6e9849e06a6c70ae03"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/TigerVNC/tigervnc/4a09a96661624dff14662d6e9849e06a6c70ae03/vncviewer/org.tigervnc.vncviewer.metainfo.xml.in",
      "dest-filename": "org.tigervnc.vncviewer.metainfo.xml",
      "sha256": "743a7565b95490ede10eae15259fab432fd1c385adece44c455553f7faf21bb2"
     },
     {
      "type": "patch",
      "path": "metainfo.patch",
      "strip-components": 0
     }
    ]
   }
  ]
 }
}