updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / darkice-pulse / PKGBUILD
blob661e026c731bec0a8b1aafcfcef8a73b932f8d58
1 # Maintainer: Emeric Grange <emeric.grange@gmail.com>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Ganjolinux aka Basalari David <ganjolinux@gmail.com>
5 pkgname=darkice-pulse
6 pkgver=1.0
7 pkgrel=1
8 pkgdesc="Live audio streamer. Records audio from an audio interface, encodes it and sends it to a streaming server"
9 arch=('i686' 'x86_64')
10 url="http://code.google.com/p/darkice/"
11 license=('GPL')
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"
17         'darkiced'
18         'pulseaudio_2.patch')
19 md5sums=('1804e63d42a9703d01fe378c9a77c473'
20          'a2608524120e6bb1c704ed4c9165a386'
21          'a67edb2904271511edcc155e45cd0488')
23 build() {
24   cd ${srcdir}/darkice-${pkgver}
25   patch -Np0 -i ../../pulseaudio_2.patch
26   ./configure --prefix=/usr \
27     --sysconfdir=/etc \
28     --without-aacplus \
29     --without-twolame \
30     --with-pulseaudio
31   make
34 package() {
35   cd ${srcdir}/darkice-${pkgver}
36   make DESTDIR=${pkgdir} install
38   install -Dm755 ${srcdir}/darkiced ${pkgdir}/etc/rc.d/darkice