summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/sdl_sound/PKGBUILD36
1 files changed, 20 insertions, 16 deletions
diff --git a/abs/extra/sdl_sound/PKGBUILD b/abs/extra/sdl_sound/PKGBUILD
index 87885c2..cf47cae 100644
--- a/abs/extra/sdl_sound/PKGBUILD
+++ b/abs/extra/sdl_sound/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 22259 2008-12-24 15:26:14Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Maintainer: dorphell <dorphell@archlinux.org>
+
pkgname=sdl_sound
-pkgver=1.0.1
-pkgrel=7
+pkgver=1.0.3
+pkgrel=2
pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
-arch=(i686 x86_64)
-depends=('sdl' 'libmikmod' 'libvorbis' 'flac>=1.1.4' 'speex')
-source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$pkgver.tar.gz flac.patch)
+arch=('i686' 'x86_64')
url="http://icculus.org/SDL_sound/"
+license=('LGPL')
+depends=('sdl' 'libmikmod' 'libvorbis' 'flac' 'speex' 'smpeg')
+options=('!libtool')
+source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$pkgver.tar.gz
+ flac.patch)
+md5sums=('aa09cd52df85d29bee87a664424c94b5'
+ '302aa9dc94cc71dd3339ca3177d36e1c')
build() {
- cd $startdir/src/SDL_sound-$pkgver
- patch -Np1 -i ../flac.patch || return 1
- aclocal
- autoconf
- automake --foreign
+ cd ${srcdir}/SDL_sound-${pkgver}
+
+ CFLAGS="$CFLAGS -I/usr/include/smpeg" \
+ CXXFLAGS="$CXXFLAGS -I/usr/include/smpeg" \
./configure --prefix=/usr
+
make || return 1
- make DESTDIR=$startdir/pkg install
- # libtoolslay
- find $startdir/pkg -name '*.la' -exec rm {} \;
+ make DESTDIR=${pkgdir} install
}
-md5sums=('49e197ef7c8ab623d0640dc74be43160' '302aa9dc94cc71dd3339ca3177d36e1c')
+