2013-02-01 20:58:51 +11:00
|
|
|
# Description: A library for decoding various sound formats.
|
|
|
|
# URL: http://icculus.org/SDL_sound/
|
2023-07-05 10:06:33 -04:00
|
|
|
# Maintainer: UNMAINTAINED
|
|
|
|
# Depends on: flac libmikmod libmodplug libvorbis smpeg speex
|
|
|
|
# Optional: lame mpg123 opus physfs pulseaudio
|
2013-02-01 20:58:51 +11:00
|
|
|
|
|
|
|
name=sdl_sound
|
|
|
|
version=1.0.3
|
2020-05-24 12:23:35 +00:00
|
|
|
release=2
|
|
|
|
source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$version.tar.gz
|
|
|
|
sdl-sound-1.0.3-physfs-3.0.1.patch sdl-sound-1.0.3-automake-1.13.patch
|
|
|
|
sdl-sound-1.0.3-underlinking.patch)
|
2013-02-01 20:58:51 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd SDL_sound-$version
|
2020-05-24 12:23:35 +00:00
|
|
|
patch -Np1 -i $SRC/sdl-sound-1.0.3-physfs-3.0.1.patch
|
|
|
|
patch -Np1 -i $SRC/sdl-sound-1.0.3-automake-1.13.patch
|
|
|
|
patch -Np1 -i $SRC/sdl-sound-1.0.3-underlinking.patch
|
|
|
|
|
|
|
|
CFLAGS+=" -I/usr/include/smpeg -Wno-error=deprecated-declarations"
|
|
|
|
CXXFLAGS+=" -I/usr/include/smpeg -Wno-error=deprecated-declarations"
|
|
|
|
|
2013-02-01 20:58:51 +11:00
|
|
|
./configure --prefix=/usr
|
2020-05-24 12:23:35 +00:00
|
|
|
make
|
2013-02-01 20:58:51 +11:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|