summaryrefslogtreecommitdiff
path: root/freerdp
diff options
context:
space:
mode:
authorAlan Mizrahi <alan+crux@mizrahi.com.ve>2014-11-12 16:41:35 +0900
committerAlan Mizrahi <alan+crux@mizrahi.com.ve>2014-11-12 16:41:35 +0900
commit9078ed2548239f6211d588a03a3099d840763b4c (patch)
tree88448e2e535c6e9abc36cdf325cc0fc46fd7941e /freerdp
parent68f9c3a492eadc7cb72c23924dd8cc6b35672cb4 (diff)
downloadopt-9078ed2548239f6211d588a03a3099d840763b4c.tar.gz
opt-9078ed2548239f6211d588a03a3099d840763b4c.tar.xz
pulseaudio: Fixed pulseaudio as a dependency. Closes FS#1036.
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