summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21bf20d4473127ead0ad37930b76ef021dae1914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: M0Rf30
# Contributor: Tobias Luther <tobias [at] tonstrom [dot] de>

pkgname=idjc-git
pkgver=796.179dfef
pkgrel=1
pkgdesc="A graphical shoutcast and icecast client."
arch=(i686 x86_64)
url="http://idjc.sourceforge.net/"
depends=('python2' 'jack' 'pygtk' 'lame' 'mutagen' 'flac' 'faad2' 'libsamplerate' 'vorbis-tools' 'libsndfile' 'ffmpeg-compat' 'libmad' 'speex' 'dbus-python' 'imagemagick' 'twolame' 'libshout-idjc-git' 'mpg123' 'twolame')
makedepends=('git')
optdepends=('mysql-python: Ampache and Prokyon 3 support')
conflicts=('idjc')
source=('idjc::git://idjc.git.sourceforge.net/gitroot/idjc/idjc')

license=('GPL3')

build()
{
  cd idjc
  ./bootstrap
  PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" 
  ./configure --prefix=/usr CFLAGS="-O2" PYTHON="/usr/bin/python2"
  make
}

package()
{               
  cd idjc
  make DESTDIR=$pkgdir install
  cd $pkgdir/usr/bin
  sed -i -e 's/python22.7/python2/' idjc
}

pkgver() {
  cd idjc
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

md5sums=('SKIP')