1 # Maintainer: Emeric Grange <emeric.grange@gmail.com>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Ganjolinux aka Basalari David <ganjolinux@gmail.com>
8 pkgdesc="Live audio streamer. Records audio from an audio interface, encodes it and sends it to a streaming server"
10 url="http://code.google.com/p/darkice/"
12 backup=('etc/darkice.cfg')
13 depends=('gcc-libs' 'alsa-lib' 'lame' 'libvorbis' 'faac' 'jack' 'pulseaudio' 'automake1.10')
14 optdepends=('icecast: To use Icecast streaming server' 'shoutcast: To use Nullsoft SHOUTcast streaming server')
15 provides=('darkice=1.0')
16 source=("http://darkice.googlecode.com/files/darkice-${pkgver}.tar.gz"
19 md5sums=('1804e63d42a9703d01fe378c9a77c473'
20 'a2608524120e6bb1c704ed4c9165a386'
21 'a67edb2904271511edcc155e45cd0488')
24 cd ${srcdir}/darkice-${pkgver}
25 patch -Np0 -i ../../pulseaudio_2.patch
26 ./configure --prefix=/usr \
35 cd ${srcdir}/darkice-${pkgver}
36 make DESTDIR=${pkgdir} install
38 install -Dm755 ${srcdir}/darkiced ${pkgdir}/etc/rc.d/darkice