updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sdl_mixer-all / PKGBUILD
blobcbbf93c9ba383f787fc3e04d7b49f8e0a86ce0b2
1 # Contributor: rabyte <rabyte__gmail>
2 # Contributor: Roberto Carvajal <roberto@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 # Contributor: Lukas Sabota <punkrockguy318@cocmast.net> (Timidity Patch)
6 pkgname=sdl_mixer-all
7 pkgver=1.2.8
8 pkgrel=1
9 pkgdesc="A simple multi-channel audio mixer"
10 arch=('i686' 'x86_64')
11 url="http://www.libsdl.org/projects/SDL_mixer/"
12 license=('LGPL2')
13 depends=('sdl>=1.2.10' 'libmikmod' 'audiofile' 'libmad')
14 makedepends=('libtremor')
15 provides=('sdl_mixer')
16 conflicts=('sdl_mixer')
17 options=('!libtool')
18 source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$pkgver.tar.gz \
19         timidity-path.diff)
20 md5sums=('0b5b91015d0f3bd9597e094ba67c4d65'
21          '9e94ae8dab5e5f85b99c0939d8c2c20e')
23 build() {
24   cd $startdir/src/SDL_mixer-$pkgver
26   patch -Np1 -i ../timidity-path.diff || return 1
28   ./configure --prefix=/usr --enable-music-libmikmod --enable-native-midi-gpl \
29     --enable-music-ogg-tremor --enable-music-mp3-mad-gpl
30   make || return 1
31   make DESTDIR=$startdir/pkg install