opt/freerdp2/Pkgfile

26 lines
807 B
Plaintext
Raw Normal View History

2018-08-19 14:31:48 +02:00
# Description: Remote desktop protocol implementation.
# URL: https://www.freerdp.com/
2018-08-19 14:31:48 +02: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
2021-02-27 12:01:02 +01:00
# Optional: alsa-lib cups directfb ffmpeg gst-plugins-base neon pulseaudio wayland xmlto
2018-08-19 14:31:48 +02:00
name=freerdp2
2021-08-10 11:25:14 +02:00
version=2.4.0
2018-08-19 14:31:48 +02:00
release=1
2020-07-21 21:26:53 +02:00
source=(https://pub.freerdp.com/releases/freerdp-$version.tar.gz)
2018-08-19 14:31:48 +02:00
build() {
cmake -S freerdp-$version -B build \
-D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-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 \
2021-02-27 12:01:02 +01:00
-Wno-dev
2021-08-10 11:25:14 +02:00
cmake --build build -j ${JOBS:-1}
2020-06-26 19:06:05 +02:00
DESTDIR=$PKG cmake --install build
2018-08-19 14:31:48 +02:00
}