From 43d35bc1871d85dd4b236b9b7160a61b1d7b573a Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 11 Feb 2013 16:55:16 -0500 Subject: Adding idjc, jack-rack and libshout-idjc in pcr --- pcr/idjc/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ pcr/idjc/idjc.install | 11 +++++++++++ pcr/idjc/idjc_0.8.4_configure.patch | 12 ++++++++++++ pcr/jack-rack/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ pcr/libshout-idjc/PKGBUILD | 25 +++++++++++++++++++++++++ 5 files changed, 117 insertions(+) create mode 100644 pcr/idjc/PKGBUILD create mode 100644 pcr/idjc/idjc.install create mode 100644 pcr/idjc/idjc_0.8.4_configure.patch create mode 100644 pcr/jack-rack/PKGBUILD create mode 100644 pcr/libshout-idjc/PKGBUILD (limited to 'pcr') diff --git a/pcr/idjc/PKGBUILD b/pcr/idjc/PKGBUILD new file mode 100644 index 000000000..0de01f4e3 --- /dev/null +++ b/pcr/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/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; } diff --git a/pcr/jack-rack/PKGBUILD b/pcr/jack-rack/PKGBUILD new file mode 100644 index 000000000..26330bb2b --- /dev/null +++ b/pcr/jack-rack/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: DonVla +# Contributor: Patrick Leslie Polzer +# Contributor: Berkus +# Contributor: Daniele Paolella +pkgname=jack-rack +pkgver=1.4.7 +pkgrel=4 +pkgdesc="Effects rack for JACK" +url="http://jack-rack.sourceforge.net" +arch=('i686' 'x86_64') +license=('GPL') +depends=('jack' 'gtk2' 'libxml2' 'ladspa') +optdepends=('lash: LASH support' + 'raptor1: LRDF support' + 'liblrdf: LRDF support' + 'python2: ecarack') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2) + +md5sums=('a29ef4001ee2916a1b758952c936adca') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh + ./configure --prefix=/usr --enable-lash --disable-gnome + make LDFLAGS='-ldl -lm' +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install + sed -i 's/#!\/usr\/bin\/python/#!\/usr\/bin\/python2/' "${pkgdir}/usr/bin/ecarack" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/libshout-idjc/PKGBUILD b/pcr/libshout-idjc/PKGBUILD new file mode 100644 index 000000000..51578c420 --- /dev/null +++ b/pcr/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