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