summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7759af08b7e724a9e881a4654f7f07d336541777 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Maintainer: robertfoster
# Contributor: Tobias Luther <tobias [at] tonstrom [dot] de>
# Contributor: GraveDigger
# Contributor: Gaetan Bisson <bisson@archlinux.org>

pkgname=idjc
pkgver=0.8.17
pkgrel=3
pkgdesc='Powerful client for individuals interested in streaming live radio shows'
url='http://idjc.sourceforge.net/'
license=('GPL2')
arch=('i686' 'x86_64')
depends=('python2-dbus'
    'desktop-file-utils'
    'ffmpeg'
    'flac'
    'glib2'
    'jack'
    'lame'
    'libmad'
    'libsamplerate'
    'libshout-idjc'
    'libsndfile'
    'mutagen'
    'pygtk'
    'python2'
    'speex'
    'twolame'
    'vorbis-tools'
)

optdepends=('mysql-python: Ampache and Prokyon 3 support'
'python2-irc: IRC notification support')
conflicts=('idjc-git')
install=${pkgname}.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    export PYTHON=/usr/bin/python2
    ./configure \
        --prefix=/usr \
        --libexecdir=/usr/lib \
        --disable-static
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    sed -i "s/Icon=\/usr\/share\/pixmaps\/$pkgname.png/Icon=$pkgname/g" $pkgdir/usr/share/applications/$pkgname.desktop
}

md5sums=('47f13035d94f5c378bf237c335194a4d')