Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1f00b39ef9c70b15e40d95367cb3a396d2b7c99f

commit 1f00b39ef9c70b15e40d95367cb3a396d2b7c99f
Author: exceed <exceed.ced...@gmail.com>
Date:   Tue Oct 6 00:18:07 2009 +0200

rubberband-1.4-1-i686

* Version bump
* Add a gcc patch
* Add a build for patching makefile

diff --git a/source/multimedia-extra/rubberband/FrugalBuild 
b/source/multimedia-extra/rubberband/FrugalBuild
index df05a20..435434a 100644
--- a/source/multimedia-extra/rubberband/FrugalBuild
+++ b/source/multimedia-extra/rubberband/FrugalBuild
@@ -2,8 +2,8 @@
# Maintainer: exceed <exceed.ced...@gmail.com>

pkgname=rubberband
-pkgver=1.3
-pkgrel=2
+pkgver=1.4
+pkgrel=1
pkgdesc="An audio time-stretching and pitch-shifting library and utility 
program"
url="http://www.breakfastquay.com/rubberband";
depends=('libsamplerate' 'vamp-plugin-sdk' 'flac')
@@ -11,7 +11,15 @@ makedepends=('ladspa_sdk')
groups=('multimedia-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump ${url} | grep tar.bz2 | grep rubberband | head -n1 | cut 
-d'-' -f2 | cut -d'.' -f'-2'"
-source=($url/files/$pkgname-$pkgver.tar.bz2)
-sha1sums=('a1a2fb45959953b0c58e91ca4340b869356ebff3')
+source=($url/files/$pkgname-$pkgver.tar.bz2 gcc.patch)
+sha1sums=('e0adddf27be321e2fbffbd93f161e583a35a523d' \
+          'ad3d92c8a96122f31ac8bd1456533c91ff2b22f3')
+
+build()
+{
+       Fsed "src/vamp/" "vamp/" Makefile.in
+       Fsed "src/ladspa/" "ladspa/" Makefile.in
+       Fbuild
+}

# optimization OK
diff --git a/source/multimedia-extra/rubberband/gcc.patch 
b/source/multimedia-extra/rubberband/gcc.patch
new file mode 100644
index 0000000..99ad7e2
--- /dev/null
+++ b/source/multimedia-extra/rubberband/gcc.patch
@@ -0,0 +1,11 @@
+*** rubberband-1.4/src/base/RingBuffer.h.orig  2009-09-24 23:13:34.000000000 
+0300
+--- rubberband-1.4/src/base/RingBuffer.h       2009-10-04 12:37:09.000000000 
+0300
+***************
+*** 18,23 ****
+--- 18,24 ----
+  #include <sys/types.h>
+
+  #include "Scavenger.h"
++ #include <cstdio> // perror @ m_mlocked
+
+  //#define DEBUG_RINGBUFFER 1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to