2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: A simple multi-channel audio mixer (Version 2)
|
2017-09-04 04:17:14 +02:00
|
|
|
|
# URL: http://www.libsdl.org/projects/SDL_mixer
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: fluidsynth sdl2 libvorbis libmodplug smpeg2 flac
|
2017-09-04 04:17:14 +02:00
|
|
|
|
|
|
|
|
|
name=sdl2-mixer
|
|
|
|
|
version=2.0.1
|
|
|
|
|
release=1
|
2017-09-04 04:27:29 +02:00
|
|
|
|
source=(https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$version.tar.gz)
|
2017-09-04 04:17:14 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-09-04 04:17:14 +02:00
|
|
|
|
cd "${SRC}/SDL2_mixer-${version}/"
|
|
|
|
|
sed -i "s|/etc/timidity|/etc/timidity++|g" timidity/config.h
|
|
|
|
|
sed -i "s|/etc/timidity++.cfg|/etc/timidity++/timidity.cfg|g" timidity/config.h
|
|
|
|
|
export CFLAGS+=" ${CFLAGS} -I/usr/include/libmodplug"
|
|
|
|
|
./configure --disable-static --prefix=/usr
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR="${PKG}" install
|
|
|
|
|
install -Dm644 COPYING.txt "${PKG}/usr/share/licenses/${name}/LICENSE"
|
|
|
|
|
}
|