1 # Maintainer: John Schoenick <john@pointysoftware.net>
2 # Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4 # Contributor: Daniel Ehlers <danielehlers@mindeye.net>
6 pkgname=alsa-plugins-git
9 pkgdesc="Extra alsa plugins - Git version"
11 url="http://www.alsa-project.org"
13 depends=(alsa-lib-git)
14 makedepends=(libpulse jack)
15 optdepends=('libpulse: PulseAudio plugin'
17 'ffmpeg: libavcodec resampling plugin'
18 'libsamplerate: libsamplerate resampling plugin'
19 'speex: libspeexdsp resampling plugin')
22 provides=('alsa-plugins=1.0.24')
23 conflicts=('alsa-plugins')
25 _gitroot=git://git.alsa-project.org/alsa-plugins.git
30 msg "Connecting to GIT server...."
32 if [ -d $_gitname ] ; then
33 ( cd $_gitname && git pull origin )
34 msg "The local files are updated."
36 git clone $_gitroot $_gitname
39 rm -rf "${_gitname}_build"
40 cp -r "${_gitname}"{,_build}
41 cd "${_gitname}_build"
43 autoreconf -v --force --install
45 ./configure --prefix=/usr \
46 --disable-avcodec # Does not compile correctly in current -git, temporarily disabled
51 cd "$srcdir/${_gitname}_build"
52 make DESTDIR="$pkgdir" install
54 mkdir -p "$pkgdir/usr/share/doc/$pkgname"
55 install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"