summaryrefslogtreecommitdiff
path: root/extra/rubberband
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-10 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-08-10 23:14:36 +0000
commite81c6fe4fb38144709923b2da3ab68a01712a26b (patch)
treee98431d7c18b82156a91c9cb208d725c06e84793 /extra/rubberband
parenta306c2530354c1c02351c4cc02eefa53c8d23eac (diff)
Wed Aug 10 23:14:35 UTC 2011
Diffstat (limited to 'extra/rubberband')
-rw-r--r--extra/rubberband/PKGBUILD17
-rw-r--r--extra/rubberband/gcc46.patch10
2 files changed, 21 insertions, 6 deletions
diff --git a/extra/rubberband/PKGBUILD b/extra/rubberband/PKGBUILD
index 3566886e3..e5ee7babf 100644
--- a/extra/rubberband/PKGBUILD
+++ b/extra/rubberband/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 86992 2010-08-08 20:57:26Z schiv $
-# Maintainer: Ray Rashif <schivmeister@gmail.com>
+# $Id: PKGBUILD 135007 2011-08-09 21:02:54Z schiv $
+# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Felipe Machado aka arch_audio <machado.felipe@gmail.com>
pkgname=rubberband
-pkgver=1.5.0
+pkgver=1.6.0
pkgrel=1
pkgdesc="Time-stretching and pitch-shifting audio library and utility"
arch=('i686' 'x86_64')
@@ -11,12 +11,17 @@ url="http://www.breakfastquay.com/rubberband/"
license=('GPL')
depends=('libsamplerate' 'fftw' 'vamp-plugin-sdk')
makedepends=('ladspa')
-source=(http://code.breakfastquay.com/attachments/download/1/$pkgname-$pkgver.tar.bz2)
-md5sums=('c5f288d644fcd46bd159e187bcc33f25')
+source=("http://code.breakfastquay.com/attachments/download/16/$pkgname-$pkgver.tar.bz2"
+ 'gcc46.patch')
+md5sums=('28e3dc1f5ae694d6846bcb0ef3d597fc'
+ '7c2f404975da6052f6b80eac12efbeb4')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # fix gcc 4.6 compatibility
+ patch -Np1 -i "$srcdir/gcc46.patch"
+
./configure --prefix=/usr
make
}
@@ -24,7 +29,7 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
diff --git a/extra/rubberband/gcc46.patch b/extra/rubberband/gcc46.patch
new file mode 100644
index 000000000..38ac76d42
--- /dev/null
+++ b/extra/rubberband/gcc46.patch
@@ -0,0 +1,10 @@
+--- rubberband-1.6.0.orig/rubberband/RubberBandStretcher.h
++++ rubberband-1.6.0/rubberband/RubberBandStretcher.h
+@@ -21,6 +21,7 @@
+
+ #include <vector>
+ #include <map>
++#include <cstddef>
+
+ /**
+ * @mainpage RubberBand