opt/freerdp2/Pkgfile

26 lines
796 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
# Optional: ffmpeg gst-plugins-base alsa-lib cups directfb neon pulseaudio xmlto
name=freerdp2
version=2.2.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 \
-D WITH_WAYLAND=OFF
2020-06-26 19:06:05 +02:00
cmake --build build
DESTDIR=$PKG cmake --install build
2018-08-19 14:31:48 +02:00
}