2009-12-25 22:39:48 +01:00
|
|
|
# Template file for 'SDL_mixer'
|
|
|
|
pkgname=SDL_mixer
|
2012-01-16 15:26:00 +01:00
|
|
|
version=1.2.12
|
2014-09-16 10:29:31 +02:00
|
|
|
revision=11
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-12-09 10:42:22 +01:00
|
|
|
configure_args="--disable-static"
|
2014-05-13 11:10:21 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2014-01-05 08:30:06 +01:00
|
|
|
makedepends="SDL-devel libvorbis-devel libmikmod-devel>=3.2.0 libflac-devel smpeg-devel fluidsynth-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
# The following deps are dlopen(3)ed at runtime.
|
|
|
|
depends="libvorbis libmikmod smpeg libflac"
|
2009-12-25 22:39:48 +01:00
|
|
|
short_desc="Multi-channel audio mixer library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-16 15:26:00 +01:00
|
|
|
license="BSD"
|
2012-12-07 09:18:40 +01:00
|
|
|
homepage="http://www.libsdl.org/projects/SDL_mixer/"
|
|
|
|
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
|
2012-01-16 15:26:00 +01:00
|
|
|
checksum=1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a
|
2009-12-25 22:39:48 +01:00
|
|
|
|
2012-01-16 15:26:00 +01:00
|
|
|
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 22:39:48 +01:00
|
|
|
|
2012-01-16 15:26:00 +01:00
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
2009-12-25 22:39:48 +01:00
|
|
|
}
|
2013-04-12 09:01:46 +02:00
|
|
|
|
|
|
|
SDL_mixer-devel_package() {
|
2014-01-05 08:30:06 +01:00
|
|
|
depends="SDL-devel ${sourcepkg}>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:01:46 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-05 08:30:06 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 09:01:46 +02:00
|
|
|
}
|
|
|
|
}
|