mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
127 lines
3.3 KiB
JSON
127 lines
3.3 KiB
JSON
{
|
|
"app-id": "com.freerdp.FreeRDP",
|
|
"runtime": "org.freedesktop.Platform",
|
|
"runtime-version": "21.08",
|
|
"sdk": "org.freedesktop.Sdk",
|
|
"build-options" : {
|
|
"cflags": "-O2 -g",
|
|
"cxxflags": "-O2 -g"
|
|
},
|
|
"command": "freerdp.sh",
|
|
"cleanup": [
|
|
],
|
|
"finish-args": [
|
|
/* X11 + XShm access */
|
|
"--share=ipc",
|
|
"--socket=x11",
|
|
/* Needs to talk to the network */
|
|
"--share=network",
|
|
/* Play sounds redirected from guests */
|
|
"--socket=pulseaudio",
|
|
"--socket=cups",
|
|
/* Wayland access */
|
|
"--socket=wayland",
|
|
/* Allow rw access to download folder */
|
|
"--filesystem=xdg-download"
|
|
],
|
|
"add-build-extensions": {
|
|
"org.freedesktop.Platform.ffmpeg-full": {
|
|
"directory": "lib/ffmpeg",
|
|
"version": "21.08",
|
|
"add-ld-path": "."
|
|
},
|
|
"org.freedesktop.Platform.openh264": {
|
|
"directory": "lib/openh264",
|
|
"version": "2.1.0",
|
|
"add-ld-path": "."
|
|
}
|
|
},
|
|
"modules": [
|
|
{
|
|
/**
|
|
* libfreerdp use xprop to try to detect keyboard layout
|
|
*/
|
|
"name": "xprop",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://xorg.freedesktop.org/releases/individual/app/xprop-1.2.5.tar.bz2",
|
|
"sha256": "9b92ed0316bf2486121d8bac88bd1878f16b43bd335f18009b1f941f1eca93a1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libusb",
|
|
"config-opts": ["--disable-static"],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/libusb/libusb.git",
|
|
"tag": "v1.0.24"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pcsc",
|
|
"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.5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "wrapper",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"install -D freerdp.sh /app/bin/freerdp.sh"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"path": "freerdp.sh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "freerdp",
|
|
"buildsystem": "cmake-ninja",
|
|
"cleanup": [
|
|
],
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE:STRING=Release",
|
|
"-DCMAKE_INSTALL_LIBDIR:PATH=lib",
|
|
"-DCHANNEL_TSMF:BOOL=ON",
|
|
"-DCHANNEL_URBDRC:BOOL=ON",
|
|
"-DBUILD_TESTING:BOOL=OFF",
|
|
"-DWITH_MANPAGES:BOOL=OFF",
|
|
"-DWITH_GSSAPI:BOOL=OFF",
|
|
"-DWITH_PCSC:BOOL=ON",
|
|
"-DWITH_SWSCALE:BOOL=ON",
|
|
"-DWITH_SERVER:BOOL=ON",
|
|
"-DWITH_SAMPLE:BOOL=ON",
|
|
"-DWITH_CUPS:BOOL=ON",
|
|
"-DWITH_FFMPEG:BOOL=ON",
|
|
"-DWITH_DSP_FFMPEG:BOOL=ON",
|
|
"-DWITH_OSS:BOOL=OFF",
|
|
"-DWITH_PULSE:BOOL=ON"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/FreeRDP/FreeRDP.git",
|
|
"branch": "master"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|