summaryrefslogtreecommitdiffstats
path: root/audio/snd/snd.SlackBuild
diff options
context:
space:
mode:
author awg <awg@cock.li>2018-07-18 21:46:08 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-21 06:53:30 +0700
commit29fc018fb1f0601a9a964aff7721323102226980 (patch)
treec9345ae7c6ff1807d02e6cf35daceccfc311e744 /audio/snd/snd.SlackBuild
parent9b885200fb13b2760354b250603fe5d813dd85f2 (diff)
downloadslackbuilds-29fc018fb1f0601a9a964aff7721323102226980.tar.gz
slackbuilds-29fc018fb1f0601a9a964aff7721323102226980.tar.xz
audio/snd: Updated for version 18.5.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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