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.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/audio/snd/snd.SlackBuild b/audio/snd/snd.SlackBuild
index 21426eed9e..1f1b1b8a83 100644
--- a/audio/snd/snd.SlackBuild
+++ b/audio/snd/snd.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
-# SlackBuild for Snd, 8 May 2017
-# Arthur W. Green <awg@posteo.us>
+# SlackBuild for Snd, 8 August 2017
+# AW Green <awg@posteo.us>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification,
@@ -26,7 +26,7 @@
## in the Snd source distribution for more on this.
PRGNAM=snd
-VERSION=${VERSION:-17.4}
+VERSION=${VERSION:-17.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,6 +57,12 @@ else
LIBDIRSUFFIX=""
fi
+if [ "${GTK:-no}" = "yes" ]; then
+ GUITK="--with-gtk"
+else
+ GUITK="--with-motif"
+fi
+
if [ "${OPENGL}" = "yes" ]; then
OPENGL="--with-gl"
fi
@@ -86,7 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--with-s7 \
--with-alsa \
- --with-motif \
+ $GUITK \
$OPENGL \
--with-fftw \
--with-doc-dir=/usr/doc/$PRGNAM-$VERSION \