From b3a5792c2e6955ba0e1c49af51bbfa4479f79821 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 13 Sep 2012 21:07:33 -0300 Subject: Updated IDJC --- radio/idjc/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ radio/idjc/idjc.install | 11 +++++++++++ radio/libshout-idjc/PKGBUILD | 25 +++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 radio/idjc/PKGBUILD create mode 100644 radio/idjc/idjc.install create mode 100644 radio/libshout-idjc/PKGBUILD diff --git a/radio/idjc/PKGBUILD b/radio/idjc/PKGBUILD new file mode 100644 index 000000000..0de01f4e3 --- /dev/null +++ b/radio/idjc/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Tobias Luther +# Contributor: GraveDigger +# Contributor: Gaetan Bisson + +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') +#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 +} diff --git a/radio/idjc/idjc.install b/radio/idjc/idjc.install new file mode 100644 index 000000000..9834cb7dd --- /dev/null +++ b/radio/idjc/idjc.install @@ -0,0 +1,11 @@ +post_upgrade() { + update-desktop-database -q +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} diff --git a/radio/libshout-idjc/PKGBUILD b/radio/libshout-idjc/PKGBUILD new file mode 100644 index 000000000..51578c420 --- /dev/null +++ b/radio/libshout-idjc/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: fauno, based on the git version from +# Mantainer: M0Rf30 +pkgname=libshout-idjc +pkgver=2.3.0 +pkgrel=1 +pkgdesc="Libshout-idjc is libshout plus some extensions for IDJC." +arch=(i686 x86_64) +url="http://idjc.sourceforge.net/" +depends=('libvorbis' 'libtheora' 'speex') +options=('!libtool' '!emptydirs') +source=("http://downloads.sourceforge.net/project/idjc/${pkgname}/${pkgname}-${pkgver}.tar.gz") +license=('LGPL') +md5sums=('1b92ee05f42a957169a74a911cd94afc') + +build() { + cd "$srcdir/$pkgname-$pkgver/" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make LDFLAGS+=-lspeex +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + make DESTDIR="${pkgdir}" install +} + -- cgit v1.2.3-54-g00ecf