[arch-commits] Commit in sdl_sound/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Dec 24 15:25:08 UTC 2008
Date: Wednesday, December 24, 2008 @ 10:25:08
Author: allan
Revision: 22258
upgpkg: sdl_sound 1.0.3-2
fix mp3 playback (FS#12559)
Modified:
sdl_sound/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-12-24 13:13:43 UTC (rev 22257)
+++ PKGBUILD 2008-12-24 15:25:08 UTC (rev 22258)
@@ -4,12 +4,12 @@
pkgname=sdl_sound
pkgver=1.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
arch=('i686' 'x86_64')
url="http://icculus.org/SDL_sound/"
license=('LGPL')
-depends=('sdl' 'libmikmod' 'libvorbis' 'flac' 'speex')
+depends=('sdl' 'libmikmod' 'libvorbis' 'flac' 'speex' 'smpeg')
options=('!libtool')
source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$pkgver.tar.gz
flac.patch)
@@ -18,7 +18,11 @@
build() {
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=${pkgdir} install
}
More information about the arch-commits
mailing list