1 # Contributor: Tobias Luther <tobias [at] tonstrom [dot] de>
6 pkgdesc="A graphical shoutcast and icecast client that runs under GTK+ and the JACK audio connection kit. In short, it's an Internet radio app for making a live radio show."
8 url="http://idjc.sourceforge.net/"
9 depends=('python2' 'jack' 'pygtk' 'lame' 'mutagen' 'flac' 'faad2' 'libsamplerate' 'libshout' 'vorbis-tools' 'libsndfile' 'ffmpeg' 'libmad'
10 'speex' 'dbus-python')
11 makedepends=('pkgconfig' 'git')
12 optdepends=('patchage' 'qjackctl')
15 _gitroot="git://idjc.git.sourceforge.net/gitroot/idjc/idjc"
18 md5sums=('eeb2c55443f753f9244eaac006cce132')
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone -l "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
41 ./configure --prefix=/usr CFLAGS="-O2" PYTHON="/usr/bin/python2"
43 make DESTDIR=$pkgdir install
45 sed -i -e 's/python22.7/python2/' idjc