{
 "app_id": "io.github.KangLin.RabbitRemoteControl",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.KangLin.RabbitRemoteControl/master/io.github.KangLin.RabbitRemoteControl.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pcsc",
  "--socket=pulseaudio",
  "--socket=ssh-auth",
  "--socket=x11",
  "--device=all",
  "--device=dri",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-public-share",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=home:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.secrets",
  "--system-talk-name=org.freedesktop.Avahi"
 ],
 "module_count": 21,
 "fetched_at": "2026-09-20T06:38:44.097709+00:00",
 "manifest": {
  "id": "io.github.KangLin.RabbitRemoteControl",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "RabbitRemoteControlApp",
  "base": "io.qt.qtwebengine.BaseApp",
  "base-version": "6.11",
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "build-options": {
   "env": {
    "V": "1",
    "QTWEBENGINE_DISABLE_SANDBOX": "1"
   }
  },
  "cleanup": [
   "*.la",
   "*.a",
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/licenses"
  ],
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=pulseaudio",
   "--socket=pcsc",
   "--socket=ssh-auth",
   "--socket=x11",
   "--device=all",
   "--filesystem=xdg-documents",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--system-talk-name=org.freedesktop.Avahi",
   "--filesystem=xdg-public-share",
   "--filesystem=home:ro",
   "--device=dri",
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess"
  ],
  "modules": [
   {
    "name": "xprop",
    "disabled": false,
    "sources": [
     {
      "type": "archive",
      "url": "https://xorg.freedesktop.org/releases/individual/app/xprop-1.2.8.tar.xz",
      "sha256": "d689e2adb7ef7b439f6469b51cda8a7daefc83243854c2a3b8f84d0f029d67ee"
     }
    ],
    "cleanup": [
     "/bin/xprop",
     "/share/doc",
     "/share/man"
    ]
   },
   {
    "name": "pcsc",
    "disabled": false,
    "config-opts": [
     "--disable-libsystemd",
     "--enable-pic",
     "--disable-libusb",
     "--enable-shared",
     "--with-systemdsystemunitdir=/app/lib/systemd/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/LudovicRousseau/PCSC.git",
      "tag": "1.9.9",
      "commit": "15c16c7796607b1c8a2ce253d3f536918ab26b4a"
     }
    ],
    "cleanup": [
     "/bin/pcsc-spy",
     "/sbin",
     "/share/doc",
     "/share/man",
     "/lib/systemd"
    ]
   },
   {
    "name": "krb5",
    "disabled": false,
    "sources": [
     {
      "type": "archive",
      "url": "https://kerberos.org/dist/krb5/1.22/krb5-1.22.1.tar.gz",
      "sha256": "1a8832b8cad923ebbf1394f67e2efcf41e3a49f460285a66e35adec8fa0053af"
     },
     {
      "type": "script",
      "commands": [
       "autoreconf --install --symlink"
      ]
     }
    ],
    "buildsystem": "autotools",
    "subdir": "src",
    "cleanup": [
     "/sbin",
     "/bin",
     "/share"
    ]
   },
   {
    "name": "libssh",
    "disabled": false,
    "sources": [
     {
      "type": "archive",
      "url": "https://www.libssh.org/files/0.12/libssh-0.12.0.tar.xz",
      "sha256": "1a6af424d8327e5eedef4e5fe7f5b924226dd617ac9f3de80f217d82a36a7121"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DWITH_EXAMPLES=OFF",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DWITH_SERVER=ON",
     "-DSERVER_TESTING=OFF"
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "libfuse",
    "disabled": false,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libfuse/libfuse/archive/refs/tags/fuse-3.16.2.tar.gz",
      "sha256": "1bc306be1a1f4f6c8965fbdd79c9ccca021fdc4b277d501483a711cbd7dbcd6c"
     }
    ],
    "buildsystem": "meson",
    "builddir": true,
    "config-opts": [
     "-Dexamples=false",
     "-Dutils=false"
    ]
   },
   {
    "name": "curl",
    "disabled": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/curl/curl/releases/download/curl-8_16_0/curl-8.16.0.tar.xz",
      "sha256": "40c8cddbcb6cc6251c03dea423a472a6cea4037be654ba5cf5dec6eb2d22ff1d"
     }
    ],
    "buildsystem": "autotools",
    "config-opts": [
     "--with-openssl"
    ]
   },
   {
    "name": "FreeRDP",
    "disabled": false,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/FreeRDP/FreeRDP.git",
      "tag": "3.31.1"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_VERBOSE_MAKEFILE=OFF",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCHANNEL_TSMF:BOOL=OFF",
     "-DBUILD_TESTING:BOOL=OFF",
     "-DWITH_MANPAGES:BOOL=OFF",
     "-DWITH_WAYLAND:BOOL=OFF",
     "-DWITH_GSSAPI:BOOL=OFF",
     "-DWITH_SAMPLE:BOOL=OFF",
     "-DWITH_OSS:BOOL=OFF",
     "-DWITH_CLIENT_SDL=OFF",
     "-DWITH_CLIENT=OFF",
     "-DCHANNEL_URBDRC:BOOL=ON",
     "-DWITH_KRB5=ON"
    ],
    "cleanup": [
     "/bin",
     "/share",
     "/share/licenses"
    ]
   },
   {
    "name": "libvncserver",
    "disabled": false,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/LibVNC/libvncserver/archive/refs/tags/LibVNCServer-0.9.15.tar.gz",
      "sha256": "62352c7795e231dfce044beb96156065a05a05c974e5de9e023d688d8ff675d7"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DWITH_OPENSSL=ON",
     "-DWITH_GCRYPT=OFF",
     "-DWITH_EXAMPLES=OFF",
     "-DWITH_TESTS=OFF",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "cleanup": [
     "/bin",
     "/lib/libvncserver.so*"
    ]
   },
   {
    "name": "pixman",
    "disabled": false,
    "sources": [
     {
      "type": "archive",
      "url": "https://cairographics.org/releases/pixman-0.46.4.tar.xz",
      "sha512": "83b133e7969ba34f883f4e08dcc5d388c4397f43ce836c191c05945fe77c16ff501d531600780c12678a0d08105828a6bdeff2156b63f9c1a84087bc7f40ae9f"
     }
    ],
    "buildsystem": "meson",
    "builddir": true
   },
   {
    "name": "pam",
    "disabled": false,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/linux-pam/linux-pam.git",
      "tag": "v1.6.1"
     }
    ],
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-doc"
    ],
    "post-install": [
     "cp -r libpam/include/* $FLATPAK_DEST/include"
    ]
   },
   {
    "name": "tigervnc",
    "disabled": false,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/KangLin/tigervnc.git",
      "commit": "e65dd4121630693d311d1445cdc2a6074c5a5295"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_VIEWER=OFF",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "cleanup": [
     "/bin",
     "/lib/*.so*"
    ]
   },
   {
    "name": "libpcap",
    "disabled": false,
    "sources": [
     {
      "type": "archive",
      "url": "http://www.tcpdump.org/release/libpcap-1.11.0.tar.gz",
      "sha256": "596389bc8560ea027dff9db8aaf6c173d992366d9aef4baf5d7c6d180b4d49ad",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1702,
       "url-template": "http://www.tcpdump.org/release/libpcap-$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "/share"
    ]
   },
   {
    "name": "PcapPlusPlus",
    "disabled": false,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/seladb/PcapPlusPlus/archive/refs/tags/v26.07.tar.gz",
      "sha256": "58efbebde9df37134ca6abffdc585562155b7fc0937ced1fd6569a8c93a22ba6"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DPCAPPP_BUILD_EXAMPLES=OFF",
     "-DPCAPPP_BUILD_TESTS=OFF",
     "-DPCAPPP_INSTALL=ON"
    ],
    "cleanup": [
     "/usr/share",
     "/usr/local"
    ]
   },
   {
    "name": "lxqt-build-tools.git",
    "disabled": false,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/lxqt/lxqt-build-tools.git",
      "tag": "2.2.0"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ]
   },
   {
    "name": "qtermwidget",
    "disabled": false,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/lxqt/qtermwidget.git",
      "tag": "2.2.0"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ]
   },
   {
    "name": "cmark",
    "disabled": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/commonmark/cmark/archive/refs/tags/0.31.1.tar.gz",
      "sha256": "3da93db5469c30588cfeb283d9d62edfc6ded9eb0edc10a4f5bbfb7d722ea802"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMARK_SHARED=OFF",
     "-DCMARK_TESTS=OFF",
     "-DCMARK_STATIC=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "cleanup": [
     "/bin",
     "/share/man"
    ]
   },
   {
    "name": "cmark-gfm",
    "disabled": false,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/github/cmark-gfm/archive/refs/tags/0.29.0.gfm.13.tar.gz",
      "sha256": "5abc61798ebd9de5660bc076443c07abad2b8d15dbc11094a3a79644b8ad243a"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMARK_SHARED=OFF",
     "-DCMARK_TESTS=OFF",
     "-DCMARK_STATIC=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "post-install": [
     "cp /app/lib/cmake/cmark-gfm.cmake $FLATPAK_DEST/lib/cmake/cmark-gfmConfig.cmake",
     "cp /app/lib/cmake-gfm-extensions/cmark-gfm-extensions.cmake $FLATPAK_DEST/lib/cmake-gfm-extensions/cmark-gfm-extensionsConfig.cmake"
    ],
    "cleanup": [
     "/bin",
     "/share/man"
    ]
   },
   {
    "name": "qtkeychain",
    "disabled": false,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/frankosterfeld/qtkeychain.git",
      "tag": "0.15.0"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_WITH_QT6=ON"
    ]
   },
   {
    "name": "QFtpServer",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/KangLin/QFtpServer.git",
      "commit": "4e98ea4402cea73a9e028250aa025cd9bcbf337a"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DWITH_APP=OFF"
    ]
   },
   {
    "name": "RabbitCommon",
    "disabled": false,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/KangLin/RabbitCommon.git",
      "commit": "1ecf6b3760d5a6c8a0f7b7a993e82f3bcd68f16d",
      "disable-shallow-clone": true
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_MimeTypeBrowser=OFF",
     "-DBUILD_APP=OFF",
     "-DBUILD_TEST=OFF",
     "-DWITH_CMARK=OFF",
     "-DWITH_CMARK_GFM=ON",
     "-Dcmark-gfm_DIR=/app/lib/cmake",
     "-Dcmark-gfm-extensions_DIR=/app/lib/cmake-gfm-extensions",
     "-DWITH_WebEngineWidgets=ON"
    ],
    "cleanup": [
     "/bin",
     "/etc",
     "/share/applications",
     "/share/doc"
    ]
   },
   {
    "name": "RabbitRemoteControl",
    "disabled": false,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/KangLin/RabbitRemoteControl.git",
      "commit": "b875da9417c1760799d4375d7270cc2febeb41c5",
      "disable-shallow-clone": true
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_FREERDP=ON"
    ],
    "cleanup": [
     "-usr/bin/cmark",
     "-usr/bin/cmark-gfm",
     "-usr/local/bin/cmark",
     "-usr/local/bin/cmark-gfm",
     "-usr/local/include",
     "-usr/local/lib/cmake*",
     "-usr/local/lib/pkgconfig",
     "-usr/local/lib/*.a"
    ],
    "post-install": [
     "desktop-file-edit --set-key=Path --set-value=/bin /app/share/applications/io.github.KangLin.RabbitRemoteControl.desktop",
     "install -Dm0644 io.github.KangLin.RabbitRemoteControl.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/",
     "mkdir -p /app/export/share/applications",
     "ln -sf /app/share/applications/io.github.KangLin.RabbitRemoteControl.desktop /app/export/share/applications/",
     "update-desktop-database /app/share/applications"
    ]
   }
  ]
 }
}