opt/freerdp/Pkgfile
2017-03-23 10:43:21 +09:00

25 lines
757 B
Plaintext

# Description: Remote desktop protocol implementation
# URL: http://www.freerdp.com/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: xorg-libx11 xorg-libxrender xorg-libxcursor xorg-libxext
# Optional: ffmpeg alsa-lib cups directfb neon pulseaudio
name=freerdp
version=git-20170320-aece09042fdb0199408745e15e945c139ba95c34
release=2
source=(https://github.com/FreeRDP/FreeRDP/archive/${version##*-}.zip)
build() {
mkdir build; cd build
cmake ../FreeRDP-${version##*-} \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DWITH_PULSEAUDIO=$([ -f /usr/include/pulse/pulseaudio.h ] && echo "ON" || echo "OFF") \
-DWITH_SERVER=OFF \
-DWITH_CLIENT=ON
make
make DESTDIR=$PKG install
}