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.SlackBuild27
1 files changed, 11 insertions, 16 deletions
diff --git a/audio/snd/snd.SlackBuild b/audio/snd/snd.SlackBuild
index 0fccd5aef2..3a975125ee 100644
--- a/audio/snd/snd.SlackBuild
+++ b/audio/snd/snd.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
-# SlackBuild for Snd, 27 October 2017
-# AW Green <awg@posteo.us>
+# SlackBuild for Snd, 16 July 2018
+# awg <awg@cock.li>
# All rights reserved.
#
# Permission to use, copy, modify, or distribute this software for any
@@ -21,7 +21,7 @@
## in the Snd source distribution.
PRGNAM=snd
-VERSION=${VERSION:-17.8}
+VERSION=${VERSION:-18.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,20 +52,16 @@ else
LIBDIRSUFFIX=""
fi
-if [ "${PULSEAUDIO:-no}" = "yes" ]; then
- AUDSYS="--with-pulseaudio"
-else
- AUDSYS="--with-alsa"
-fi
-
if [ "${GTK:-no}" = "yes" ]; then
- GUITK="--with-gtk"
+ GUITK="with-gtk"
else
- GUITK="--with-motif"
+ GUITK="with-motif"
fi
-if [ "${OPENGL}" = "yes" ]; then
- OPENGL="--with-gl"
+if [ "${OPENGL:-no}" = "yes" ]; then
+ OPENGL="with-gl"
+else
+ OPENGL="without-gl"
fi
set -e
@@ -92,9 +88,8 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--with-s7 \
- $AUDSYS \
- $GUITK \
- $OPENGL \
+ --$GUITK \
+ --$OPENGL \
--with-fftw \
--with-doc-dir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux