118 lines
3.2 KiB
JSON
118 lines
3.2 KiB
JSON
{
|
|
"app-id": "com.freerdp.FreeRDP",
|
|
"runtime": "org.freedesktop.Platform",
|
|
"runtime-version": "18.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",
|
|
"--socket=fallback-x11",
|
|
/* Needs to talk to the network */
|
|
"--share=network",
|
|
/* Play sounds redirected from guests */
|
|
"--socket=pulseaudio",
|
|
/* Wayland access */
|
|
"--socket=wayland",
|
|
/* Allow rw access to download folder */
|
|
"--filesystem=xdg-download"
|
|
],
|
|
"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.3.tar.bz2",
|
|
"sha256": "d22afb28c86d85fff10a50156a7d0fa930c80ae865d70b26d805fd28a17a521b"
|
|
}
|
|
]
|
|
},
|
|
"shared-modules/udev/udev-175.json",
|
|
"shared-modules/dbus-glib/dbus-glib-0.110.json",
|
|
{
|
|
"name": "libusb",
|
|
"config-opts": ["--disable-static"],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/libusb/libusb.git",
|
|
"tag": "v1.0.22",
|
|
"commit": "0034b2afdcdb1614e78edaa2a9e22d5936aeae5d"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pcsc",
|
|
"config-opts": [
|
|
"--disable-libsystemd",
|
|
"--enable-pic",
|
|
"--disable-libusb",
|
|
"--enable-shared",
|
|
"--with-systemdsystemunitdir=/app/lib/systemd/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://salsa.debian.org/rousseau/PCSC.git",
|
|
"tag": "pcsc-1.8.24",
|
|
"commit": "73d95ada3221c060cbd7b6aa2375453f9d0e359b"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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_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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|