summaryrefslogtreecommitdiff
path: root/radio/idjc/PKGBUILD
blob: fdd163b640e2115fe69e4b828374b017b4bbec12 (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
# Contributor (Arch): Tobias Luther <tobias [at] tonstrom [dot] de>
# Contributor (Arch): GraveDigger
# Contributor (Arch): Gaetan Bisson <bisson@archlinux.org>

pkgname=idjc
pkgver=0.8.8
pkgrel=1
pkgdesc='Powerful yet easy-to-use source-client for individuals interested in streaming live radio shows over the Internet'
url='http://idjc.sourceforge.net/'
license=('GPL2')
arch=('i686' 'x86_64' 'mips64el')
#depends=('python2' 'jack' 'pygtk' 'lame' 'mutagen' 'flac' 'faad2' 'libsamplerate' 'vorbis-tools' 'libsndfile' 'ffmpeg' 'libmad' 'speex' 'dbus-python' 'imagemagick' 'twolame' 'libshout-idjc-git' 'mpg123')
depends=('desktop-file-utils' 'python2' 'dbus-python' 'mutagen' 'jack' 'pygtk' 'vorbis-tools' 'libsndfile' 'libsamplerate' 'glib2' 'lame' 'libmad' 'ffmpeg' 'flac' 'speex' 'libshout-idjc')
optdepends=('patchage' 'qjackctl')
makedepends=('pkgconfig')
install=${pkgname}.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('a14ce4cc8c789fce55c7b98081743a4a')

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

    ./configure --prefix=/usr PYTHON="/usr/bin/python2" --disable-libav

    make PYTHON="/usr/bin/python2"

}

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

    make DESTDIR="${pkgdir}" PYTHON="/usr/bin/python2" install

    sed -i 's|#! /usr/bin/python22.7|#! /usr/bin/python2|' ${pkgdir}/usr/bin/idjc
}