2018-12-17 12:36:55 +03:00
|
|
|
{
|
|
|
|
"app-id": "com.freerdp.FreeRDP",
|
|
|
|
"runtime": "org.freedesktop.Platform",
|
2022-09-21 16:28:42 +03:00
|
|
|
"runtime-version": "22.08",
|
2018-12-17 12:36:55 +03:00
|
|
|
"sdk": "org.freedesktop.Sdk",
|
|
|
|
"build-options" : {
|
2022-09-21 16:28:42 +03:00
|
|
|
"cflags": "-O3",
|
|
|
|
"cxxflags": "-O3"
|
2018-12-17 12:36:55 +03:00
|
|
|
},
|
2019-01-22 17:18:59 +03:00
|
|
|
"command": "freerdp.sh",
|
2018-12-17 12:36:55 +03:00
|
|
|
"cleanup": [
|
2022-09-21 16:28:42 +03:00
|
|
|
"*.la",
|
|
|
|
"/include",
|
|
|
|
"/lib/cmake",
|
|
|
|
"/lib/pkgconfig"
|
2018-12-17 12:36:55 +03:00
|
|
|
],
|
|
|
|
"finish-args": [
|
|
|
|
/* X11 + XShm access */
|
|
|
|
"--share=ipc",
|
2020-02-19 12:28:46 +03:00
|
|
|
"--socket=x11",
|
2018-12-17 12:36:55 +03:00
|
|
|
/* Needs to talk to the network */
|
|
|
|
"--share=network",
|
|
|
|
/* Play sounds redirected from guests */
|
|
|
|
"--socket=pulseaudio",
|
2022-01-12 13:06:19 +03:00
|
|
|
"--socket=cups",
|
2018-12-17 12:36:55 +03:00
|
|
|
/* Wayland access */
|
|
|
|
"--socket=wayland",
|
2020-02-19 12:28:46 +03:00
|
|
|
/* Allow rw access to download folder */
|
|
|
|
"--filesystem=xdg-download"
|
2018-12-17 12:36:55 +03:00
|
|
|
],
|
2020-08-03 10:11:47 +03:00
|
|
|
"add-build-extensions": {
|
|
|
|
"org.freedesktop.Platform.ffmpeg-full": {
|
|
|
|
"directory": "lib/ffmpeg",
|
2022-09-21 16:28:42 +03:00
|
|
|
"version": "22.08",
|
2020-08-03 10:11:47 +03:00
|
|
|
"add-ld-path": "."
|
|
|
|
},
|
2022-09-21 16:28:42 +03:00
|
|
|
"org.freedesktop.Platform.openh264": {
|
2020-08-03 10:11:47 +03:00
|
|
|
"directory": "lib/openh264",
|
2022-09-21 16:28:42 +03:00
|
|
|
"version": "2.3.0",
|
2020-08-03 10:11:47 +03:00
|
|
|
"add-ld-path": "."
|
|
|
|
}
|
|
|
|
},
|
2018-12-17 12:36:55 +03:00
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* libfreerdp use xprop to try to detect keyboard layout
|
|
|
|
*/
|
|
|
|
"name": "xprop",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2022-01-12 13:06:19 +03:00
|
|
|
"url": "https://xorg.freedesktop.org/releases/individual/app/xprop-1.2.5.tar.bz2",
|
|
|
|
"sha256": "9b92ed0316bf2486121d8bac88bd1878f16b43bd335f18009b1f941f1eca93a1"
|
2018-12-17 12:36:55 +03:00
|
|
|
}
|
2022-09-21 16:28:42 +03:00
|
|
|
],
|
|
|
|
"cleanup": [
|
|
|
|
"/share/doc",
|
|
|
|
"/share/man"
|
|
|
|
]
|
2018-12-17 12:36:55 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "libusb",
|
|
|
|
"config-opts": ["--disable-static"],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/libusb/libusb.git",
|
2022-09-21 16:28:42 +03:00
|
|
|
"tag": "v1.0.26"
|
2018-12-17 12:36:55 +03:00
|
|
|
}
|
2022-09-21 16:28:42 +03:00
|
|
|
],
|
|
|
|
"cleanup": [
|
|
|
|
"/share/doc",
|
|
|
|
"/share/man"
|
|
|
|
]
|
2018-12-17 12:36:55 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "pcsc",
|
|
|
|
"config-opts": [
|
|
|
|
"--disable-libsystemd",
|
|
|
|
"--enable-pic",
|
|
|
|
"--disable-libusb",
|
2019-03-15 10:52:07 +03:00
|
|
|
"--enable-shared",
|
|
|
|
"--with-systemdsystemunitdir=/app/lib/systemd/"
|
2018-12-17 12:36:55 +03:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
2020-02-19 12:28:46 +03:00
|
|
|
"url": "https://github.com/LudovicRousseau/PCSC.git",
|
2022-09-21 16:28:42 +03:00
|
|
|
"tag": "1.9.9"
|
2018-12-17 12:36:55 +03:00
|
|
|
}
|
2022-09-21 16:28:42 +03:00
|
|
|
],
|
|
|
|
"cleanup": [
|
|
|
|
"/share/doc",
|
|
|
|
"/share/man"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "openssl111",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"./config --prefix=/app",
|
|
|
|
"make -j $FLATPAK_BUILDER_N_JOBS",
|
|
|
|
"make install"
|
|
|
|
],
|
|
|
|
"cleanup": [
|
|
|
|
"/share/doc",
|
|
|
|
"/share/man",
|
|
|
|
"/bin"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://www.openssl.org/source/openssl-1.1.1q.tar.gz",
|
|
|
|
"sha256": "d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "freerdp",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"cleanup": [
|
|
|
|
],
|
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_VERBOSE_MAKEFILE=ON",
|
|
|
|
"-DCMAKE_BUILD_TYPE:STRING=Release",
|
|
|
|
"-DCMAKE_INSTALL_LIBDIR:PATH=lib",
|
2022-11-16 16:30:01 +03:00
|
|
|
"-DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON",
|
2022-09-21 16:28:42 +03:00
|
|
|
"-DCHANNEL_TSMF:BOOL=OFF",
|
|
|
|
"-DCHANNEL_URBDRC:BOOL=ON",
|
|
|
|
"-DBUILD_TESTING:BOOL=OFF",
|
|
|
|
"-DWITH_MANPAGES:BOOL=OFF",
|
2022-12-07 04:57:05 +03:00
|
|
|
"-DWITH_KRB5:BOOL=OFF",
|
2022-09-21 16:28:42 +03:00
|
|
|
"-DWITH_PCSC:BOOL=ON",
|
2022-09-22 10:38:10 +03:00
|
|
|
"-DWITH_PKCS11:BOOL=ON",
|
2022-09-21 16:28:42 +03:00
|
|
|
"-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": "dir",
|
|
|
|
"path": "../.."
|
|
|
|
}
|
2018-12-17 12:36:55 +03:00
|
|
|
]
|
|
|
|
},
|
2022-09-21 16:28:42 +03:00
|
|
|
{
|
2019-01-22 17:18:59 +03:00
|
|
|
"name": "wrapper",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
2022-09-21 16:28:42 +03:00
|
|
|
"install -D freerdp.sh /app/bin/freerdp.sh",
|
|
|
|
"mkdir -p /app/lib/ffmpeg",
|
|
|
|
"mkdir -p /app/lib/openh264"
|
2019-01-22 17:18:59 +03:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "freerdp.sh"
|
|
|
|
}
|
|
|
|
]
|
2022-09-21 16:28:42 +03:00
|
|
|
}
|
2018-12-17 12:36:55 +03:00
|
|
|
]
|
|
|
|
}
|