From d23dbd02554620e5185359b67c300c2d9886e4ae Mon Sep 17 00:00:00 2001 From: AW Green Date: Fri, 27 Oct 2017 16:37:09 +0700 Subject: [PATCH] audio/snd: Updated for version 17.8. Signed-off-by: Willy Sudiarto Raharjo --- audio/snd/README | 13 +++++++------ audio/snd/snd.SlackBuild | 12 +++++++++--- audio/snd/snd.info | 6 +++--- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/audio/snd/README b/audio/snd/README index c2847b1fc0..d0b04dbf6f 100644 --- a/audio/snd/README +++ b/audio/snd/README @@ -3,12 +3,13 @@ programmable, supports a variety of audio and sample file formats, includes a complete implementation of Common Lisp Music (CLM), can be run sans GUI as a scripting engine, and more. -This SlackBuild configures Snd to use Scheme (s7), ALSA, and Motif, as -these options are well-supported by Snd's author and extensively tested. -But if you prefer GTK3 to Motif, then enable it like so: +This SlackBuild configures Snd to use Scheme (s7), ALSA, and Motif. + +If you prefer Pulse Audio to ALSA, then begin the build like so: + PULSEAUDIO=yes sh ./snd.SlackBuild + +Using GTK3 instead of Motif is also easy. GTK=yes sh ./snd.SlackBuild -Support for OpenGL spectrogram rendering can also be enabled: +To enable support for OpenGL spectrogram rendering: OPENGL=yes sh ./snd.SlackBuild -This option is not appropriate for all configurations, so it is disabled -by default. 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 # 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 \ diff --git a/audio/snd/snd.info b/audio/snd/snd.info index 3350cfc41d..66aa95db2d 100644 --- a/audio/snd/snd.info +++ b/audio/snd/snd.info @@ -1,8 +1,8 @@ PRGNAM="snd" -VERSION="17.7" +VERSION="17.8" HOMEPAGE="https://ccrma.stanford.edu/software/snd/" -DOWNLOAD="ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-17.7.tar.gz" -MD5SUM="8cd826b0458a1c5f5916639e5d3eb9bd" +DOWNLOAD="ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-17.8.tar.gz" +MD5SUM="cf22ac80e116dab68ef098ab02e1ef80" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""