2009-12-25 21:39:48 +00:00
|
|
|
# Template file for 'SDL_mixer'
|
|
|
|
pkgname=SDL_mixer
|
2012-01-16 14:26:00 +00:00
|
|
|
version=1.2.12
|
|
|
|
homepage="http://www.libsdl.org/projects/SDL_mixer/"
|
2009-12-25 21:39:48 +00:00
|
|
|
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2009-12-25 21:39:48 +00:00
|
|
|
short_desc="Multi-channel audio mixer library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-16 14:26:00 +00:00
|
|
|
license="BSD"
|
|
|
|
checksum=1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a
|
2009-12-25 21:39:48 +00:00
|
|
|
long_desc="
|
|
|
|
SDL_mixer is a sample multi-channel audio mixer library. It supports any
|
|
|
|
number of simultaneously playing channels of 16 bit stereo audio, plus
|
|
|
|
a single channel of music, mixed by the popular MikMod MOD, Timidity MIDI,
|
|
|
|
Ogg Vorbis, and SMPEG MP3 libraries."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
2012-01-16 14:26:00 +00:00
|
|
|
# The following are dlopen(3)ed at runtime.
|
2009-12-25 21:39:48 +00:00
|
|
|
Add_dependency run libvorbis
|
|
|
|
Add_dependency run libmikmod
|
|
|
|
Add_dependency run smpeg
|
|
|
|
Add_dependency run libflac
|
2012-01-16 14:26:00 +00:00
|
|
|
Add_dependency run libfluidsynth
|
|
|
|
|
2009-12-25 21:39:48 +00:00
|
|
|
Add_dependency build SDL-devel
|
|
|
|
Add_dependency build libvorbis-devel
|
|
|
|
Add_dependency build libmikmod-devel
|
|
|
|
Add_dependency build libflac-devel
|
|
|
|
Add_dependency build smpeg-devel
|
2012-01-16 14:26:00 +00:00
|
|
|
Add_dependency build fluidsynth-devel
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
sed -e "/CONFIG_FILE_ETC/s|/etc/timidity.cfg|/etc/timidity++/timidity.cfg|" \
|
|
|
|
-e "/DEFAULT_PATH/s|/etc/timidity|/etc/timidity++|" \
|
|
|
|
-e "/DEFAULT_PATH2/s|/usr/local/lib/timidity|/usr/lib/timidity|" \
|
|
|
|
-i timidity/config.h
|
|
|
|
}
|
2009-12-25 21:39:48 +00:00
|
|
|
|
2012-01-16 14:26:00 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
2009-12-25 21:39:48 +00:00
|
|
|
}
|