audio/fluidsynth: Updated for version 1.1.5.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2011-11-27 14:37:03 -06:00 committed by Niels Horn
parent 15c5ddab18
commit 884f3ff822
3 changed files with 27 additions and 18 deletions

View file

@ -3,4 +3,7 @@ specifications. FluidSynth reads and handles MIDI events from the MIDI
input device. It is the software analogue of a MIDI synthesizer. input device. It is the software analogue of a MIDI synthesizer.
FluidSynth can also play midifiles using a Soundfont. FluidSynth can also play midifiles using a Soundfont.
If you want to build support for ladspa plugins, you can pass
LADSPA=yes to the script. That requires ladspa_sdk.
Optional deps are lash, portaudio, and jack-audio-connection-kit. Optional deps are lash, portaudio, and jack-audio-connection-kit.

View file

@ -2,7 +2,7 @@
# Slackware build script for fluidsynth # Slackware build script for fluidsynth
# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands # Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fluidsynth PRGNAM=fluidsynth
VERSION=1.1.3 VERSION=1.1.5
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -65,20 +65,26 @@ cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
chmod -R u+w,go+r-w,a-s . chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \ mkdir build
CXXFLAGS="$SLKCFLAGS" \ cd build
./configure \ cmake \
--prefix=/usr \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \ -DCMAKE_EXE_LINKER_FLAGS="-ltermcap" \
--localstatedir=/var \ -DCMAKE_SHARED_LINKER_FLAGS="-ltermcap" \
--mandir=/usr/man \ -DCMAKE_INSTALL_PREFIX=/usr \
--disable-static \ -DLIB_SUFFIX="$LIBDIRSUFFIX" \
--enable-ladspa=${LADSPA:-no} \ -DDOC_INSTALL_DIR="doc" \
--build=$ARCH-slackware-linux -DMAN_INSTALL_DIR="man/man1" \
-Denable-ladspa="${LADSPA:-no}" \
..
make make
make install-strip DESTDIR=$PKG make install DESTDIR=$PKG
cd -
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;

View file

@ -1,8 +1,8 @@
PRGNAM="fluidsynth" PRGNAM="fluidsynth"
VERSION="1.1.3" VERSION="1.1.5"
HOMEPAGE="http://www.fluidsynth.org/" HOMEPAGE="http://www.fluidsynth.org/"
DOWNLOAD="http://downloads.sourceforge.net/fluidsynth/fluidsynth-1.1.3.tar.gz" DOWNLOAD="http://downloads.sourceforge.net/fluidsynth/fluidsynth-1.1.5.tar.gz"
MD5SUM="0d3e3cc770b4da413010dfb7dfdce9c8" MD5SUM="657e49e682b316432a4421dbb0313c3e"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger" MAINTAINER="Heinz Wiesinger"