# # Platform Packages for Chakra, part of chakra-project.org # # maintainer: Manuel Tortosa pkgname=sdl2_mixer pkgver=2.0.0 pkgrel=2 pkgdesc="A simple multi-channel audio mixer (Version 2)" arch=('x86_64') url="http://www.libsdl.org" license=('MIT') depends=('sdl2' 'libvorbis' 'libmodplug' 'smpeg2' 'flac') makedepends=('fluidsynth') optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity') options=(!libtool) source=("http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${pkgver}.tar.gz" "FindSDL2_mixer.cmake") sha256sums=('a8ce0e161793791adeff258ca6214267fdd41b3c073d2581cd5265c8646f725b' '3910aa85e55ac64c8eb6da69fdd7ed3fab704119339e991f956f1cea19c11973') build() { cd "${srcdir}/SDL2_mixer-${pkgver}/" ./configure --disable-static --prefix=/usr make } package() { cd "${srcdir}/SDL2_mixer-${pkgver}/" make DESTDIR="${pkgdir}/" install install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" # we can remove the following when provided directly by cmake install -Dm644 $srcdir/FindSDL2_mixer.cmake ${pkgdir}/usr/share/cmake-2.8/Modules/FindSDL2_mixer.cmake }