summaryrefslogtreecommitdiff
path: root/freerdp
diff options
context:
space:
mode:
Diffstat (limited to 'freerdp')
-rw-r--r--freerdp/Pkgfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/freerdp/Pkgfile b/freerdp/Pkgfile
index 1f0e9b068..692544638 100644
--- a/freerdp/Pkgfile
+++ b/freerdp/Pkgfile
@@ -17,9 +17,8 @@ build() {
cmake ../$name-$version \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE4_BUILD_TESTS=OFF \
-DCMAKE_SKIP_RPATH=ON \
- -DWITH_PULSEAUDIO=ON \
+ -DWITH_PULSEAUDIO=$([ -f /usr/include/pulse/pulseaudio.h ] && echo "ON" || echo "OFF") \
-DWITH_SERVER=OFF \
-DWITH_CLIENT=ON
make

Generated by cgit