FreeRDP/packaging/flatpak/com.freerdp.FreeRDP.json
Ondrej Holy 5a28b046d5 [winpr,ncrypt] bundle pkcs11.h and drop pkcs11-helper dependency
The ncrypt implementation currently relies on the pkcs11-helper library.
That is not available on RHEL for example. Let's bundle the standardized
header file from https://github.com/latchset/pkcs11-headers to avoid the
need for extra dependency.

Related: https://github.com/FreeRDP/FreeRDP/discussions/9982
2024-04-22 17:42:52 +02:00

119 lines
2.7 KiB
JSON

{
"app-id": "com.freerdp.FreeRDP",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"build-options": {
"cflags": "-O3",
"cxxflags": "-O3"
},
"command": "freerdp.sh",
"cleanup": [
"*.a",
"*.la",
"/include",
"/lib/cmake",
"/lib/pkgconfig",
"/sbin",
"/share/doc",
"/share/examples",
"/share/man"
],
"finish-args": [
"--device=dri",
/* 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": "23.08",
"add-ld-path": "."
},
"org.freedesktop.Platform.openh264": {
"directory": "lib/openh264",
"version": "2.4.1",
"add-ld-path": "."
}
},
"modules": [
"modules/openssl.json",
"modules/libusb.json",
"modules/uriparser.json",
"modules/cJSON.json",
"modules/xprop.json",
"modules/pcsc.json",
"modules/krb5.json",
"modules/opensc.json",
{
"name": "freerdp",
"buildsystem": "cmake-ninja",
"builddir": true,
"cleanup": [],
"config-opts": [
"-DCMAKE_VERBOSE_MAKEFILE=ON",
"-DCMAKE_BUILD_TYPE:STRING=Release",
"-DCMAKE_INSTALL_LIBDIR:PATH=lib",
"-DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON",
"-DCHANNEL_TSMF:BOOL=OFF",
"-DCHANNEL_URBDRC:BOOL=ON",
"-DBUILD_TESTING:BOOL=OFF",
"-DWITH_MANPAGES:BOOL=OFF",
"-DWITH_KRB5:BOOL=ON",
"-DWITH_PCSC:BOOL=ON",
"-DWITH_SDL_IMAGE_DIALOGS:BOOL=ON",
"-DWITH_INTERNAL_MD4:BOOL=ON",
"-DWITH_INTERNAL_MD5:BOOL=ON",
"-DWITH_INTERNAL_RC4:BOOL=ON",
"-DWITH_PKCS11:BOOL=ON",
"-DWITH_SWSCALE:BOOL=ON",
"-DWITH_SERVER:BOOL=ON",
"-DWITH_SAMPLE:BOOL=ON",
"-DWITH_CUPS:BOOL=ON",
"-DWITH_OPUS:BOOL=ON",
"-DWITH_FUSE:BOOL=OFF",
"-DWITH_FFMPEG:BOOL=ON",
"-DWITH_WINPR_UTILS_IMAGE_PNG:BOOL=ON",
"-DWITH_WINPR_UTILS_IMAGE_WEBP:BOOL=ON",
"-DWITH_WINPR_UTILS_IMAGE_JPEG:BOOL=ON",
"-DWITH_URIPARSER:BOOL=ON",
"-DWITH_DSP_FFMPEG:BOOL=ON",
"-DWITH_OSS:BOOL=OFF",
"-DWITH_WEBVIEW:BOOL=OFF",
"-DWITH_PULSE:BOOL=ON"
],
"sources": [
{
"type": "dir",
"path": "../.."
}
]
},
{
"name": "wrapper",
"buildsystem": "simple",
"build-commands": [
"install -D freerdp.sh /app/bin/freerdp.sh",
"mkdir -p /app/lib/ffmpeg",
"mkdir -p /app/lib/openh264"
],
"sources": [
{
"type": "file",
"path": "freerdp.sh"
}
]
}
]
}