summaryrefslogtreecommitdiff
path: root/extra/alsaplayer/PKGBUILD
blob: bbb02da9e7639b86d3d4118378a349cd34e0156c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 197854 2013-10-30 11:16:38Z allan $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=alsaplayer
pkgver=0.99.81
pkgrel=6
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://alsaplayer.sourceforge.net/"
license=('GPL')
depends=('gcc-libs' 'desktop-file-utils')
makedepends=('gtk2' 'libid3tag' 'libvorbis' 'libmad' 'libmikmod' 'jack' 'mesa' 'audiofile' 'doxygen')
optdepends=('gtk2: for the gtk2 GUI interface' \
            'libgl: for the OpenGL visual plugins' \
            'jack: for JACK audio server output support' \
            'audiofile: for support of various audio formats like AIFF, WAVE, .snd/.au' \
            'libid3tag: for flac support' \
            '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')
install=alsaplayer.install
source=(http://alsaplayer.sourceforge.net/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('25817ebd1e5c36da31a88363315a1bf7a945ddfd')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --enable-audiofile
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}