1 # Contributor: Tobias Luther <tobias [at] tonstrom [dot] de>
2 # Silvio Knizek <killermoehre [at] gmx [dot] de>
4 pkgname=idjc-latest-patchage
7 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. Without qjackctl-dep -> without qt"
9 url="http://idjc.sourceforge.net/"
10 depends=('python' 'jack' 'pygtk' 'lame' 'mutagen' 'flac' 'faad2' 'libsamplerate' 'libshout' 'vorbis-tools' 'libsndfile' 'ffmpeg' 'libmad' 'patchage' 'speex')
11 makedepends=('pkgconfig' 'git')
14 _gitroot="git://idjc.git.sourceforge.net/gitroot/idjc/idjc"
17 md5sums=('eeb2c55443f753f9244eaac006cce132')
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone -l "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
39 ./env-up && patch -Np1 -i ../patch
40 ./configure --prefix=/usr CFLAGS="-O2" PYTHON="/usr/bin/python2"
42 make DESTDIR=$pkgdir install