forked from ports/contrib
19 lines
595 B
Plaintext
19 lines
595 B
Plaintext
# Description: A sample multi-channel audio mixer library.
|
|
# URL: https://www.github.com/libsdl-org/SDL_mixer
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: libvorbis smpeg libmikmod flac
|
|
|
|
name=sdl_mixer
|
|
version=1.2.13
|
|
_commit=b33c434caa458a767f374a121a17ca1bd9229c79
|
|
release=1
|
|
source=(https://www.github.com/libsdl-org/SDL_mixer/archive/$_commit/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd SDL_mixer-$_commit
|
|
sed -i -e 's|/usr/local/lib/timidity|/usr/share/timidity|g' timidity/config.h
|
|
CONFIG_SHELL=/bin/bash ./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|