diff options
Diffstat (limited to 'pcr/idjc')
-rw-r--r-- | pcr/idjc/PKGBUILD | 41 | ||||
-rw-r--r-- | pcr/idjc/idjc.install | 11 | ||||
-rw-r--r-- | pcr/idjc/idjc_0.8.4_configure.patch | 12 |
3 files changed, 64 insertions, 0 deletions
diff --git a/pcr/idjc/PKGBUILD b/pcr/idjc/PKGBUILD new file mode 100644 index 000000000..6834d64a6 --- /dev/null +++ b/pcr/idjc/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: M0Rf30 +# Contributor: Tobias Luther <tobias [at] tonstrom [dot] de> +# Contributor: GraveDigger +# Contributor: Gaetan Bisson <bisson@archlinux.org> + +pkgname=idjc +pkgver=0.8.9 +pkgrel=2 +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') +depends=('desktop-file-utils' 'python2' 'dbus-python' 'mutagen' 'jack' 'pygtk' 'vorbis-tools' 'libsndfile' 'libsamplerate' 'glib2' 'lame' 'libmad' 'ffmpeg-compat' 'flac' 'speex' 'libshout-idjc') +optdepends=('patchage' 'qjackctl') +makedepends=('pkgconfig') +install=${pkgname}.install +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + export PYTHON=/usr/bin/python2 + PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --disable-static +# --disable-libav + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + sed -i 's|#! /usr/bin/python22.7|#! /usr/bin/python2|' ${pkgdir}/usr/bin/idjc +} + +md5sums=('99abfe98f13170ab6b1ed17a8f1632e1') diff --git a/pcr/idjc/idjc.install b/pcr/idjc/idjc.install new file mode 100644 index 000000000..9834cb7dd --- /dev/null +++ b/pcr/idjc/idjc.install @@ -0,0 +1,11 @@ +post_upgrade() { + update-desktop-database -q +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} diff --git a/pcr/idjc/idjc_0.8.4_configure.patch b/pcr/idjc/idjc_0.8.4_configure.patch new file mode 100644 index 000000000..9f1b3c5f0 --- /dev/null +++ b/pcr/idjc/idjc_0.8.4_configure.patch @@ -0,0 +1,12 @@ +diff -Naur idjc-0.8.4/configure idjc-0.8.4.new/configure +--- idjc-0.8.4/configure 2010-10-07 15:00:07.000000000 +0200 ++++ idjc-0.8.4.new/configure 2010-10-20 19:30:48.000000000 +0200 +@@ -5349,7 +5349,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mutagen" >&5 + $as_echo_n "checking for mutagen... " >&6; } +-python -c "import mutagen" &>/dev/null ++$PYTHON -c "import mutagen" &>/dev/null + if test $? -ne 0 ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } |