summaryrefslogtreecommitdiff
path: root/extra/timidity++/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/timidity++/PKGBUILD')
-rw-r--r--extra/timidity++/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/extra/timidity++/PKGBUILD b/extra/timidity++/PKGBUILD
index 37f707e9e..bbcf6a742 100644
--- a/extra/timidity++/PKGBUILD
+++ b/extra/timidity++/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 165513 2012-08-21 19:57:50Z eric $
+# $Id: PKGBUILD 173850 2012-12-25 00:34:49Z foutrelis $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=timidity++
pkgver=2.14.0
-pkgrel=3
+pkgrel=4
pkgdesc="A MIDI to WAVE converter and player"
arch=('i686' 'x86_64')
url="http://timidity.sourceforge.net"
license=('GPL')
-depends=('libao' 'libvorbis' 'jack' 'ncurses')
-makedepends=('xaw3d>=1.6' 'gtk2' 'tk' 'libxaw')
+depends=('libao' 'jack')
+makedepends=('xaw3d' 'gtk2' 'tk' 'libxaw')
optdepends=('gtk2: for using the GTK+ interface' 'tk: for using the Tk interface' \
'xaw3d: for using the Xaw interface')
backup=('etc/timidity++/timidity.cfg')
@@ -22,6 +22,8 @@ sha1sums=('15ec27f1ea3e718a8d61603521fc16df5c0dd24b'
build() {
cd "${srcdir}/TiMidity++-${pkgver}"
+ sed -i -e 's/tcl8.5/tcl8.6 tcl8.5/' -e 's/tk8.5/tk8.6 tk8.5/' configure
+ sed -i 's/my_interp->result/(char *) Tcl_GetObjResult(my_interp)/' interface/tk_c.c
./configure --prefix=/usr --mandir=/usr/share/man --with-default-path=/etc/timidity++/ \
--enable-server --enable-alsaseq --enable-spectrogram --enable-network --enable-xft \
--enable-audio=alsa,oss,ao,vorbis,flac,jack \