ap/timidity: Upgraded to timidity-2.13.1.

slackware-14.2
Damien Goutte-Gattat 13 years ago
parent 6f6fd3524d
commit 118cedde62
  1. 1
      ap/timidity/TiMidity++-2.13.0.tar.gz.sha1
  2. 1
      ap/timidity/TiMidity++-2.13.1.tar.gz.sha1
  3. 63
      ap/timidity/timidity.SlackBuild

@ -1 +0,0 @@
fc3687c2db8fe3d7c26def7e96171f59ac44bce3 TiMidity++-2.13.0.tar.gz

@ -0,0 +1 @@
fb09eb13c9ce2dcf046bd4a55032a46c34192c42 TiMidity++-2.13.1.tar.gz

@ -1,43 +1,45 @@
#!/bin/bash
# Build script for Slackware
# Damien Goutte-Gattat "gouttegd" < dgouttegattat at incenp.org >
# Copyright (C) 2008,2009 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications, is
# permitted provided that the following conditions are met:
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest TiMidity++ sourcecode is available at:
# http://timidity.sourceforge.net/
# <http://timidity.sourceforge.net/>.
#
# Recommends: ap/jack-audio-connection-kit
# Recommends: ap/jack
# Source package infos
NAMESRC=${NAMESRC:-TiMidity++}
VERSION=${VERSION:-2.13.0}
VERSION=${VERSION:-2.13.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://kent.dl.sourceforge.net/sourceforge/timidity/$ARCHIVE}
PATCHSET=${PATCHSET:-freepats-20060219.tar.bz2}
PATCHSET_WGET=${PATCHSET_WGET:-http://freepats.opensrc.org/$PATCHSET}
PATCHSET_WGET=${PATCHSET_WGET:-http://freepats.zenvoid.org/$PATCHSET}
# Built package infos
# Build infos
NAMETGZ=${NAMETGZ:-timidity}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
TARGET=${TARGET:-i486}
JOBS=${JOBS:-1}
# Directories
TMP=${TMP:-/tmp}
@ -62,6 +64,9 @@ case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
;;
*)
CPUOPT="-O2"
;;
@ -94,21 +99,17 @@ CXXFLAGS=$CPUOPT \
--enable-dynamic=ncurses \
--enable-network \
--enable-spectrogram
make -j 3
make install DESTDIR=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF 32-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
make -j $JOBS
make install-strip DESTDIR=$PKG
# Compress man and info pages
find $(find $PKG -type d -name man -o -name info) -type f | \
xargs gzip -9 2> /dev/null
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 \
AUTHORS COPYING ChangeLog{,.1} INSTALL NEWS README TODO \
AUTHORS COPYING ChangeLog* INSTALL NEWS README TODO \
doc/C/CHANGES.02i doc/C/FAQ doc/C/README.* \
$PKG/usr/doc/$NAME
# Install the patch set

Loading…
Cancel
Save