summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2011-11-27 14:37:03 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-10 21:58:15 -0200
commit884f3ff82287b04601ef944bbd7c87be8f408d60 (patch)
treed5e96caaaa5b879c9d22ec2691bbeaf3b7639829
parent15c5ddab180571fbfa22cd152f90d377f501333d (diff)
downloadslackbuilds-884f3ff82287b04601ef944bbd7c87be8f408d60.tar.gz
audio/fluidsynth: Updated for version 1.1.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--audio/fluidsynth/README3
-rw-r--r--audio/fluidsynth/fluidsynth.SlackBuild36
-rw-r--r--audio/fluidsynth/fluidsynth.info6
3 files changed, 27 insertions, 18 deletions
diff --git a/audio/fluidsynth/README b/audio/fluidsynth/README
index 9ab6ee4256..a309ca2db2 100644
--- a/audio/fluidsynth/README
+++ b/audio/fluidsynth/README
@@ -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.
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.
diff --git a/audio/fluidsynth/fluidsynth.SlackBuild b/audio/fluidsynth/fluidsynth.SlackBuild
index 0d7efafe0c..493c2a8b19 100644
--- a/audio/fluidsynth/fluidsynth.SlackBuild
+++ b/audio/fluidsynth/fluidsynth.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fluidsynth
-# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fluidsynth
-VERSION=1.1.3
+VERSION=1.1.5
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,20 +65,26 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --disable-static \
- --enable-ladspa=${LADSPA:-no} \
- --build=$ARCH-slackware-linux
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_EXE_LINKER_FLAGS="-ltermcap" \
+ -DCMAKE_SHARED_LINKER_FLAGS="-ltermcap" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX="$LIBDIRSUFFIX" \
+ -DDOC_INSTALL_DIR="doc" \
+ -DMAN_INSTALL_DIR="man/man1" \
+ -Denable-ladspa="${LADSPA:-no}" \
+ ..
-make
-make install-strip DESTDIR=$PKG
+ make
+ 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 {} \;
diff --git a/audio/fluidsynth/fluidsynth.info b/audio/fluidsynth/fluidsynth.info
index 4fdde7e1bf..4eb8272648 100644
--- a/audio/fluidsynth/fluidsynth.info
+++ b/audio/fluidsynth/fluidsynth.info
@@ -1,8 +1,8 @@
PRGNAM="fluidsynth"
-VERSION="1.1.3"
+VERSION="1.1.5"
HOMEPAGE="http://www.fluidsynth.org/"
-DOWNLOAD="http://downloads.sourceforge.net/fluidsynth/fluidsynth-1.1.3.tar.gz"
-MD5SUM="0d3e3cc770b4da413010dfb7dfdce9c8"
+DOWNLOAD="http://downloads.sourceforge.net/fluidsynth/fluidsynth-1.1.5.tar.gz"
+MD5SUM="657e49e682b316432a4421dbb0313c3e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"