blob: e62253a2e354c4e154a0384a33a594d486b8c82d (
plain)
1 # Description: Remote desktop protocol implementation
2 # URL: http://www.freerdp.com/
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends on: xorg-libx11 xorg-libxrender xorg-libxcursor xorg-libxext
5 # Optional: ffmpeg alsa-lib cups directfb neon pulseaudio xmlto
6
7 name=freerdp
8 version=1.0.2
9 release=2
10 source=(http://pub.freerdp.com/releases/freerdp-$version.tar.gz ffmpeg.patch)
11
12 build() {
13 # fix build with different versions of ffmpeg
14 patch -p1 -i $SRC/ffmpeg.patch -d $name-$version
15
16 mkdir build; cd build
17
18 cmake ../$name-$version \
19 -DCMAKE_BUILD_TYPE=RELEASE \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DCMAKE_SKIP_RPATH=ON \
22 -DWITH_PULSEAUDIO=$([ -f /usr/include/pulse/pulseaudio.h ] && echo "ON" || echo "OFF") \
23 -DWITH_SERVER=OFF \
24 -DWITH_CLIENT=ON
25 make
26 make DESTDIR=$PKG install
27 }
|