contrib/sdl2_mixer/Pkgfile

23 lines
614 B
Plaintext
Raw Normal View History

# 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
# 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)
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
}