summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e8514ac88c8b1011a764db5edbe00fecf3143a8c (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Maintainer: jdn06 <jdn06.jdn06@outlook.fr>
pkgname=aqualung-git
_pkgname=aqualung
pkgver=2016.03
pkgrel=1
pkgdesc="High quality music player w/ gapless support"
arch=('i686' 'x86_64')
url="http://aqualung.jeremyevans.net/"
license=('GPL')

# You chan change depencies if you modify consequently flags of ./configure below
# Refer to http://aqualung.jeremyevans.net/compiling/
depends=('gtk2' 'libxml2' 'lua52' 'libpulse' 'jack' 'lame' 'speex' 'wavpack' 'liboggz' 'libcdio-paranoia' 'libmpcdec' 'libmad' 'libmodplug')
makedepends=('git')

optdepends=('liblrdf: LADSPA filters'
    'libcddb: CDDB / FreeDB support'
    'libsamplerate: high quality Sample Rate Conversion'
    "libifp: iRiver's iFP support"
    "libsndfile: Uncompressed audio decode & WAV output"
    "flac: FLAC support (play & encode)"
    "libvorbis: Vorbis support (play & encode)"
    "wavpack: WavPpack support (playback)"
    "sndio: outputs via sndio"
)
provides=(aqualung)
conflicts=(aqualung)

source=("$_pkgname"::"git://github.com/jeremyevans/$_pkgname.git")
sha256sums=(SKIP)

pkgver() {
	cd "$_pkgname"
	git describe --tags | sed 's/-//g'
}

build() {
	cd "$_pkgname"
	sh autogen.sh
	./configure --prefix=/usr --without-mac --without-lavc --without-ladspa
	make
}

check() {
	cd "$_pkgname"
	make -k check
}

package() {
	cd "$_pkgname"
	make DESTDIR="$pkgdir/" install
}