32 lines
874 B
Plaintext
32 lines
874 B
Plaintext
# Description: Remote desktop protocol implementation.
|
|
# URL: http://www.freerdp.com/
|
|
# 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.1.2
|
|
release=1
|
|
source=(https://pub.freerdp.com/releases/freerdp-$version.tar.gz
|
|
xfreerdp.1)
|
|
|
|
build() {
|
|
|
|
echo -n "$version" > freerdp-$version/.source_version
|
|
|
|
cmake -Sfreerdp-$version -Bbuild \
|
|
-DCMAKE_BUILD_TYPE=RELEASE \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DWITH_SERVER=OFF \
|
|
-DWITH_CLIENT=ON \
|
|
-DWITH_LIBSYSTEMD=OFF \
|
|
-DWITH_WAYLAND=OFF
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
install -m 0664 $SRC/xfreerdp.1 $PKG/usr/share/man/man1
|
|
}
|