2018-08-19 22:31:48 +10:00
|
|
|
# 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
|
2020-06-26 19:06:05 +02:00
|
|
|
version=2.1.2
|
2018-08-19 22:31:48 +10:00
|
|
|
release=1
|
|
|
|
source=(https://pub.freerdp.com/releases/freerdp-$version.tar.gz
|
|
|
|
xfreerdp.1)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
2020-06-26 19:06:05 +02:00
|
|
|
echo -n "$version" > freerdp-$version/.source_version
|
|
|
|
|
|
|
|
cmake -Sfreerdp-$version -Bbuild \
|
2018-08-19 22:31:48 +10:00
|
|
|
-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
|
|
|
|
|
2020-06-26 19:06:05 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2018-08-19 22:31:48 +10:00
|
|
|
|
2020-05-27 14:48:36 +02:00
|
|
|
install -m 0664 $SRC/xfreerdp.1 $PKG/usr/share/man/man1
|
2018-08-19 22:31:48 +10:00
|
|
|
}
|