# $Id: PKGBUILD 27628 2009-02-24 01:38:37Z eric $ # Maintainer: Eric Belanger # Contributor: Jochem Kossen pkgname=alsaplayer pkgver=0.99.80 pkgrel=2 pkgdesc="A heavily multi-threaded PCM player that tries to excercise the ALSA library and driver quite a bit." arch=('i686' 'x86_64') url="http://www.alsaplayer.org/" license=('GPL') depends=('gcc-libs') makedepends=('gtk2' 'libid3tag' 'libvorbis' 'libmad' 'libmikmod' 'jack-audio-connection-kit' 'esound') optdepends=('gtk2: for the gtk2 GUI interface' \ 'esound: for ESD audio server output support' \ 'jack-audio-connection-kit: for JACK audio server output support' \ 'audiofile: for support of various audio formats like AIFF, WAVE, .snd/.au' \ 'libid3tag and flac: for flac support' 'libmad: for MPEG support' \ 'libsndfile: for sndfile support' 'libvorbis: for ogg vorbis support' \ 'libmikmod: for mod, s3m, it and xm formats supports') options=('!libtool') source=(http://www.alsaplayer.org/${pkgname}-${pkgver}.tar.bz2 gcc.diff) md5sums=('04f8c2321a37d15f40f9ee21251c6202' '0c1790e4744d9b085208436f5442efe0') sha1sums=('883d590b01371840024b5a8bf0fe95b464a2ccd1' '684ac4ea9f58e63da7f4c9518196128714575066') build() { cd ${srcdir}/${pkgname}-${pkgver} patch -p0 < ../gcc.diff || return 1 ./configure --prefix=/usr --enable-esd \ --disable-opengl --disable-gtk --enable-jack \ --enable-gtk2 --enable-audiofile || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 }