rustdesk.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "id": "com.rustdesk.RustDesk",
  3. "runtime": "org.freedesktop.Platform",
  4. "runtime-version": "24.08",
  5. "sdk": "org.freedesktop.Sdk",
  6. "command": "rustdesk",
  7. "cleanup": ["/include", "/lib/pkgconfig", "/share/gtk-doc"],
  8. "rename-desktop-file": "rustdesk.desktop",
  9. "rename-icon": "rustdesk",
  10. "modules": [
  11. "shared-modules/libappindicator/libappindicator-gtk3-12.10.json",
  12. {
  13. "name": "xdotool",
  14. "no-autogen": true,
  15. "make-install-args": ["PREFIX=${FLATPAK_DEST}"],
  16. "sources": [
  17. {
  18. "type": "archive",
  19. "url": "https://github.com/jordansissel/xdotool/releases/download/v3.20211022.1/xdotool-3.20211022.1.tar.gz",
  20. "sha256": "96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada"
  21. }
  22. ]
  23. },
  24. {
  25. "name": "pam",
  26. "buildsystem": "autotools",
  27. "config-opts": ["--disable-selinux"],
  28. "sources": [
  29. {
  30. "type": "archive",
  31. "url": "https://github.com/linux-pam/linux-pam/releases/download/v1.3.1/Linux-PAM-1.3.1.tar.xz",
  32. "sha256": "eff47a4ecd833fbf18de9686632a70ee8d0794b79aecb217ebd0ce11db4cd0db"
  33. }
  34. ]
  35. },
  36. {
  37. "name": "rustdesk",
  38. "buildsystem": "simple",
  39. "build-commands": [
  40. "bsdtar -Oxf rustdesk.deb data.tar.xz | bsdtar -xf -",
  41. "cp -r usr/* /app/",
  42. "mkdir -p /app/bin && ln -s /app/share/rustdesk/rustdesk /app/bin/rustdesk"
  43. ],
  44. "sources": [
  45. {
  46. "type": "file",
  47. "path": "rustdesk.deb"
  48. },
  49. {
  50. "type": "file",
  51. "path": "com.rustdesk.RustDesk.metainfo.xml"
  52. }
  53. ]
  54. }
  55. ],
  56. "finish-args": [
  57. "--share=ipc",
  58. "--socket=fallback-x11",
  59. "--socket=wayland",
  60. "--share=network",
  61. "--filesystem=home",
  62. "--device=dri",
  63. "--socket=pulseaudio",
  64. "--talk-name=org.freedesktop.Flatpak"
  65. ]
  66. }