PKGBUILDs/extra/alsaplayer/PKGBUILD
2009-10-10 23:11:32 -05:00

34 lines
1.4 KiB
Bash

# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
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=('arm')
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')
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
}