2020-01-21 11:58:50 +01:00
|
|
|
# Description: A sample multi-channel audio mixer library.
|
|
|
|
# URL: http://www.libsdl.org/projects/SDL_mixer/
|
2020-01-21 11:59:55 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-01-21 11:58:50 +01:00
|
|
|
# Depends on: libvorbis libmodplug flac libsdl2 mpg123
|
|
|
|
|
|
|
|
name=sdl2_mixer
|
|
|
|
version=2.0.4
|
2020-01-21 11:59:55 +01:00
|
|
|
release=3
|
|
|
|
source=(https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$version.tar.gz)
|
2020-01-21 11:58:50 +01:00
|
|
|
|
|
|
|
build() {
|
2020-01-21 11:59:55 +01:00
|
|
|
cd SDL2_mixer-$version
|
|
|
|
|
|
|
|
sed -i "s|/etc/timidity|/etc/timidity++|g" timidity/options.h
|
|
|
|
sed -i "s|/etc/timidity++.cfg|/etc/timidity++/timidity.cfg|g" timidity/options.h
|
|
|
|
|
|
|
|
CONFIG_SHELL=/bin/bash ./configure \
|
|
|
|
--prefix=/usr
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2020-01-21 11:58:50 +01:00
|
|
|
}
|