blob: 3eadd85e7b6b3975285777d201a11afcb23b5533 (
plain)
1 # Description: A library for decoding various sound formats.
2 # URL: http://icculus.org/SDL_sound/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Aaron Marks, nymacro at gmail dot com
5 # Depends on: flac libmikmod libmodplug libvorbis physfs smpeg speex
6
7 name=sdl_sound
8 version=1.0.3
9 release=2
10 source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$version.tar.gz
11 sdl-sound-1.0.3-physfs-3.0.1.patch sdl-sound-1.0.3-automake-1.13.patch
12 sdl-sound-1.0.3-underlinking.patch)
13
14 build() {
15 cd SDL_sound-$version
16 patch -Np1 -i $SRC/sdl-sound-1.0.3-physfs-3.0.1.patch
17 patch -Np1 -i $SRC/sdl-sound-1.0.3-automake-1.13.patch
18 patch -Np1 -i $SRC/sdl-sound-1.0.3-underlinking.patch
19
20 CFLAGS+=" -I/usr/include/smpeg -Wno-error=deprecated-declarations"
21 CXXFLAGS+=" -I/usr/include/smpeg -Wno-error=deprecated-declarations"
22
23 ./configure --prefix=/usr
24 make
25 make DESTDIR=$PKG install
26 }
|