updated on Mon Jan 16 04:00:32 UTC 2012
[aur-mirror.git] / aqualung-alsa / PKGBUILD
blob6cb8fa4f2cd4d00d16691d5780fc8fa5e90e1bc8
1 # Maintainer: Robert McCathie  <archaur at rmcc dot com dot au>
2 # Contributor: leepesjee <lpeschier at xs4all dot nl>
3 # Contributor: fancris3 <fancris3 at aol dot com>
5 _name=aqualung
6 pkgname="$_name-alsa"
7 pkgver=0.9beta11
8 pkgrel=2
9 pkgdesc="Gapless music player compiled with only ALSA support. Jack, Pulse and OSS are disabled."
10 arch=('i686' 'x86_64')
11 url="http://aqualung.factorial.hu/"
12 license=('GPL')
13 provides=('aqualung')
14 conflicts=('aqualung' 'aqualung-svn')
15 depends=('gtk2' 'libxml2' 'liblrdf' 'libcdio' 'libcddb' 'libsamplerate' 'lua>=5.1.0' \
16          'libsndfile' 'flac' 'libvorbis' 'liboggz' 'speex' 'libmad' 'lame' 'libmodplug' \
17          'libmpcdec' 'mac' 'wavpack' 'ffmpeg' 'alsa-lib')
18 makedepends=('gettext')
19 source=("http://downloads.sourceforge.net/aqualung/$_name-$pkgver.tar.gz"
20         'aqualung.desktop')
21 md5sums=('cfc470e0738e6edf9532af5f92aac959'
22          '3c62be5733541593fa13e0e799426ddc')
24 build() {
25   cd "$srcdir/$_name-$pkgver"
26 # remove annoying "http://" preset at 'Add URL'
27   sed -i 's|(url_entry), "http://"|(url_entry), ""|' "$srcdir/$_name-$pkgver/src/playlist.c"
28   ./autogen.sh
29   ./configure --prefix=/usr \
30               --with-ifp=no \
31               --with-pulse=no \
32               --with-oss=no \
33               --with-jack=no
34   make
35   make DESTDIR="$pkgdir" install
36   install -D -m644 "$srcdir/$_name-$pkgver/src/img/icon_64.png" "$pkgdir/usr/share/pixmaps/aqualung.png"
37   install -D -m644 "$startdir/aqualung.desktop" "$pkgdir/usr/share/applications/aqualung.desktop"