# # Platform Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=sdl_mixer pkgver=1.2.11 pkgrel=3 pkgdesc="A simple multi-channel audio mixer" arch=('i686' 'x86_64') url="http://www.libsdl.org/projects/SDL_mixer/" license=('LGPL' 'GPL') depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg') options=('!libtool') source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${pkgver}.tar.gz) md5sums=('65ada3d997fe85109191a5fb083f248c') build() { cd ${srcdir}/SDL_mixer-${pkgver} 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 ./configure --prefix=/usr make || return 1 make DESTDIR=${pkgdir} install }