sdl2-mixer.paketlendi

This commit is contained in:
milisbir 2017-09-04 05:17:14 +03:00
parent affd48e75f
commit cba3abd150
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Description: A real-time software synthesizer.
# URL: http://www.fluidsynth.org/
# Packager: milisarge
# Depends on:
name=fluidsynth
version=1.1.3
release=1
source=(http://download.sourceforge.net/$name/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--disable-debug \
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,21 @@
# Description: A simple multi-channel audio mixer (Version 2)
# URL: http://www.libsdl.org/projects/SDL_mixer
# Packager: milisarge
# Depends on: fluidsynth sdl2 libvorbis libmodplug smpeg2 flac
name=sdl2-mixer
version=2.0.1
release=1
source=(https://www.libsdl.otg/projects/SDL_mixer/release/SDL2_mixer-2.0.1.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"
}

View File

@ -0,0 +1,19 @@
# Description: SDL2 MPEG Player Library
# URL: http://icculus.org/smpeg/
# Packager: milisarge
# Depends on: sdl2
name=smpeg2
version=2.0.0
release=1
source=(http://kaynaklar.milislinux.org//smpeg2.tar.gz)
build() {
cd ${SRC}/${name}
./autogen.sh
./configure --prefix=/usr --mandir=/usr/share/man --disable-static
make
make DESTDIR=${PKG} install
rm ${PKG}/usr/bin/plaympeg
rm -r ${PKG}/usr/share/man
}