blob: 692544638df18b2d025b083cf8e7c0ac32f357ea (
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
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 patch -p0 -i $SRC/ffmpeg.patch
14
15 mkdir build; cd build
16
17 cmake ../$name-$version \
18 -DCMAKE_BUILD_TYPE=RELEASE \
19 -DCMAKE_INSTALL_PREFIX=/usr \
20 -DCMAKE_SKIP_RPATH=ON \
21 -DWITH_PULSEAUDIO=$([ -f /usr/include/pulse/pulseaudio.h ] && echo "ON" || echo "OFF") \
22 -DWITH_SERVER=OFF \
23 -DWITH_CLIENT=ON
24 make
25 make DESTDIR=$PKG install
26 }
|