2018-08-19 22:31:48 +10:00
|
|
|
# Description: Remote desktop protocol implementation.
|
2020-11-06 23:23:59 -06:00
|
|
|
# URL: https://www.freerdp.com/
|
2018-08-19 22:31:48 +10:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: cmake glib xorg-libxcursor xorg-libxinerama xorg-libxkbfile xorg-libxrandr xorg-libxv
|
|
|
|
# Optional: ffmpeg gst-plugins-base alsa-lib cups directfb neon pulseaudio xmlto
|
|
|
|
|
|
|
|
name=freerdp2
|
2020-07-21 13:44:21 +02:00
|
|
|
version=2.2.0
|
2018-08-19 22:31:48 +10:00
|
|
|
release=1
|
2020-07-21 21:26:53 +02:00
|
|
|
source=(https://pub.freerdp.com/releases/freerdp-$version.tar.gz)
|
2018-08-19 22:31:48 +10:00
|
|
|
|
|
|
|
build() {
|
2020-07-21 13:44:21 +02:00
|
|
|
cmake -S freerdp-$version -B build \
|
|
|
|
-D CMAKE_BUILD_TYPE=RELEASE \
|
2020-11-22 11:30:07 +01:00
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2020-07-21 13:44:21 +02:00
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-D CMAKE_SKIP_RPATH=ON \
|
|
|
|
-D WITH_SERVER=OFF \
|
|
|
|
-D WITH_CLIENT=ON \
|
|
|
|
-D WITH_LIBSYSTEMD=OFF \
|
|
|
|
-D WITH_WAYLAND=OFF
|
2020-06-26 19:06:05 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2018-08-19 22:31:48 +10:00
|
|
|
}
|