# Contributor: Tobias Luther <tobias [at] tonstrom [dot] de>
# Patch added by SuaveIV
pkgname=idjc
pkgver=0.8.5
pkgrel=4
pkgdesc="Graphical DJ Console aimed mainly at internetradio streaming via shout- or icecast. It also includes a jingle-player, advanced options for controling the microphone's sound and voip-integration."
arch=(i686 x86_64)
url="http://idjc.sourceforge.net/"
depends=('python' 'jack' 'pygtk' 'lame' 'mutagen' 'flac' 'libsamplerate' 'libshout' 'vorbis-tools' 'libsndfile' 'ffmpeg' 'libmad' 'speex')
optdepends=('qjackctl: quite popular qt based graphical frontend for jack')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/idjc/idjc-$pkgver.tar.gz idjc-0.8.5_configure.patch)
md5sums=('3188a7ba02045a23b71bd028b45952c9' '91294a319e0528fcb012625a8c8b3ac1')
license=('GPLv3')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p0 < ${srcdir}/idjc-0.8.5_configure.patch
PYTHON=/usr/bin/python2 ./configure --prefix=/usr CFLAGS="-O2"
make -j4 || return 1
make DESTDIR=$pkgdir install
}