milis/talimatname/genel/s/sdl2-mixer/talimat

21 lines
716 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: A simple multi-channel audio mixer (Version 2)
# URL: http://www.libsdl.org/projects/SDL_mixer
# Paketçi: milisarge
# Gerekler: fluidsynth sdl2 libvorbis libmodplug smpeg2 flac
name=sdl2-mixer
version=2.0.1
release=1
source=(https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$version.tar.gz)
build() {
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"
}