2022-11-08 11:16:48 +08:00
|
|
|
{
|
2023-03-05 23:35:30 +08:00
|
|
|
"id": "com.rustdesk.RustDesk",
|
2022-11-08 11:16:48 +08:00
|
|
|
"runtime": "org.freedesktop.Platform",
|
2024-10-07 21:50:01 +08:00
|
|
|
"runtime-version": "23.08",
|
2022-11-08 11:16:48 +08:00
|
|
|
"sdk": "org.freedesktop.Sdk",
|
|
|
|
"command": "rustdesk",
|
2024-10-07 21:50:01 +08:00
|
|
|
"icon": "share/icons/hicolor/scalable/apps/rustdesk.svg",
|
2022-11-08 11:16:48 +08:00
|
|
|
"modules": [
|
|
|
|
"shared-modules/libappindicator/libappindicator-gtk3-12.10.json",
|
2024-10-07 21:50:01 +08:00
|
|
|
"xdotool.json",
|
2024-10-07 18:55:25 +08:00
|
|
|
{
|
|
|
|
"name": "pam",
|
2024-10-07 21:50:01 +08:00
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"./configure --disable-selinux --prefix=/app && make -j4 install"
|
|
|
|
],
|
2024-05-02 13:23:32 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2024-09-30 10:54:05 +08:00
|
|
|
"url": "https://github.com/linux-pam/linux-pam/releases/download/v1.3.1/Linux-PAM-1.3.1.tar.xz",
|
2024-05-02 13:23:32 +08:00
|
|
|
"sha256": "eff47a4ecd833fbf18de9686632a70ee8d0794b79aecb217ebd0ce11db4cd0db"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-11-08 11:16:48 +08:00
|
|
|
{
|
|
|
|
"name": "rustdesk",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
2024-10-07 21:50:01 +08:00
|
|
|
"bsdtar -zxvf rustdesk.deb",
|
|
|
|
"tar -xvf ./data.tar.xz",
|
|
|
|
"cp -r ./usr/* /app/",
|
2023-03-05 22:00:44 +08:00
|
|
|
"mkdir -p /app/bin && ln -s /app/lib/rustdesk/rustdesk /app/bin/rustdesk",
|
2024-10-07 21:50:01 +08:00
|
|
|
"mv /app/share/applications/rustdesk.desktop /app/share/applications/com.rustdesk.RustDesk.desktop",
|
|
|
|
"mv /app/share/applications/rustdesk-link.desktop /app/share/applications/com.rustdesk.RustDesk-link.desktop",
|
|
|
|
"sed -i '/^Icon=/ c\\Icon=com.rustdesk.RustDesk' /app/share/applications/*.desktop",
|
|
|
|
"mv /app/share/icons/hicolor/scalable/apps/rustdesk.svg /app/share/icons/hicolor/scalable/apps/com.rustdesk.RustDesk.svg",
|
|
|
|
"for size in 16 24 32 48 64 128 256 512; do\n rsvg-convert -w $size -h $size -f png -o $size.png scalable.svg\n install -Dm644 $size.png /app/share/icons/hicolor/${size}x${size}/apps/com.rustdesk.RustDesk.png\n done"
|
2022-11-08 11:16:48 +08:00
|
|
|
],
|
2024-10-07 21:50:01 +08:00
|
|
|
"cleanup": ["/include", "/lib/pkgconfig", "/share/gtk-doc"],
|
2022-11-08 11:16:48 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "file",
|
2024-10-07 21:50:01 +08:00
|
|
|
"path": "./rustdesk.deb"
|
2023-03-05 23:35:30 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
2024-10-07 21:50:01 +08:00
|
|
|
"path": "../res/scalable.svg"
|
2022-11-08 11:16:48 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"finish-args": [
|
|
|
|
"--share=ipc",
|
2024-10-07 21:50:01 +08:00
|
|
|
"--socket=x11",
|
2022-11-08 16:52:45 +08:00
|
|
|
"--socket=fallback-x11",
|
2022-11-08 11:16:48 +08:00
|
|
|
"--socket=wayland",
|
|
|
|
"--share=network",
|
2022-11-08 16:52:45 +08:00
|
|
|
"--filesystem=home",
|
|
|
|
"--device=dri",
|
|
|
|
"--socket=pulseaudio",
|
|
|
|
"--talk-name=org.freedesktop.Flatpak"
|
2022-11-08 11:16:48 +08:00
|
|
|
]
|
2024-10-07 21:50:01 +08:00
|
|
|
}
|