summaryrefslogtreecommitdiff
path: root/audio/snd/snd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/snd/snd.SlackBuild')
-rw-r--r--audio/snd/snd.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/audio/snd/snd.SlackBuild b/audio/snd/snd.SlackBuild
index 27fd7c0bc9..0fccd5aef2 100644
--- a/audio/snd/snd.SlackBuild
+++ b/audio/snd/snd.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# SlackBuild for Snd, 24 September 2017
+# SlackBuild for Snd, 27 October 2017
# AW Green <awg@posteo.us>
# All rights reserved.
#
@@ -21,7 +21,7 @@
## in the Snd source distribution.
PRGNAM=snd
-VERSION=${VERSION:-17.7}
+VERSION=${VERSION:-17.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,6 +52,12 @@ else
LIBDIRSUFFIX=""
fi
+if [ "${PULSEAUDIO:-no}" = "yes" ]; then
+ AUDSYS="--with-pulseaudio"
+else
+ AUDSYS="--with-alsa"
+fi
+
if [ "${GTK:-no}" = "yes" ]; then
GUITK="--with-gtk"
else
@@ -86,7 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--with-s7 \
- --with-alsa \
+ $AUDSYS \
$GUITK \
$OPENGL \
--with-fftw \