[arch-commits] Commit in rubberband/repos (8 files)

Ray Rashif schiv at archlinux.org
Mon Oct 3 20:52:07 UTC 2011


    Date: Monday, October 3, 2011 @ 16:52:06
  Author: schiv
Revision: 139630

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  rubberband/repos/testing-i686/
  rubberband/repos/testing-i686/PKGBUILD
    (from rev 139629, rubberband/trunk/PKGBUILD)
  rubberband/repos/testing-i686/gcc46.patch
    (from rev 139629, rubberband/trunk/gcc46.patch)
  rubberband/repos/testing-i686/vectorops.patch
    (from rev 139629, rubberband/trunk/vectorops.patch)
  rubberband/repos/testing-x86_64/
  rubberband/repos/testing-x86_64/PKGBUILD
    (from rev 139629, rubberband/trunk/PKGBUILD)
  rubberband/repos/testing-x86_64/gcc46.patch
    (from rev 139629, rubberband/trunk/gcc46.patch)
  rubberband/repos/testing-x86_64/vectorops.patch
    (from rev 139629, rubberband/trunk/vectorops.patch)

--------------------------------+
 testing-i686/PKGBUILD          |   41 +++++++++++++++++++++++++++++++++++++++
 testing-i686/gcc46.patch       |   10 +++++++++
 testing-i686/vectorops.patch   |   13 ++++++++++++
 testing-x86_64/PKGBUILD        |   41 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/gcc46.patch     |   10 +++++++++
 testing-x86_64/vectorops.patch |   13 ++++++++++++
 6 files changed, 128 insertions(+)

Copied: rubberband/repos/testing-i686/PKGBUILD (from rev 139629, rubberband/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-10-03 20:52:06 UTC (rev 139630)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Felipe Machado aka arch_audio <machado.felipe at gmail.com>
+
+pkgname=rubberband
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="Time-stretching and pitch-shifting audio library and utility"
+arch=('i686' 'x86_64')
+url="http://www.breakfastquay.com/rubberband/"
+license=('GPL')
+depends=('libsamplerate' 'fftw' 'vamp-plugin-sdk')
+makedepends=('ladspa')
+source=("http://code.breakfastquay.com/attachments/download/16/$pkgname-$pkgver.tar.bz2"
+        'gcc46.patch'
+        'vectorops.patch')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix gcc 4.6 compatibility
+  patch -Np1 -i "$srcdir/gcc46.patch"
+
+  # fix bug exposed by gcc 4.6
+  # see https://bugs.archlinux.org/task/26140
+  patch -Np1 -i "$srcdir/vectorops.patch"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
+md5sums=('28e3dc1f5ae694d6846bcb0ef3d597fc'
+         '7c2f404975da6052f6b80eac12efbeb4'
+         '4bdc9689179d3a2cf64172f0f911701d')

Copied: rubberband/repos/testing-i686/gcc46.patch (from rev 139629, rubberband/trunk/gcc46.patch)
===================================================================
--- testing-i686/gcc46.patch	                        (rev 0)
+++ testing-i686/gcc46.patch	2011-10-03 20:52:06 UTC (rev 139630)
@@ -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

Copied: rubberband/repos/testing-i686/vectorops.patch (from rev 139629, rubberband/trunk/vectorops.patch)
===================================================================
--- testing-i686/vectorops.patch	                        (rev 0)
+++ testing-i686/vectorops.patch	2011-10-03 20:52:06 UTC (rev 139630)
@@ -0,0 +1,13 @@
+--- a/src/system/VectorOps.h    Mon Mar 21 21:51:33 2011 +0000
++++ b/src/system/VectorOps.h    Sun Oct 02 21:12:42 2011 +0100
+@@ -84,8 +84,8 @@
+ }
+
+ template<typename T>
+-inline void v_move(T *const R__ dst,
+-                   const T *const R__ src,
++inline void v_move(T *const dst,
++                   const T *const src,
+                    const int count)
+ {
+     memmove(dst, src, count * sizeof(T));

Copied: rubberband/repos/testing-x86_64/PKGBUILD (from rev 139629, rubberband/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-10-03 20:52:06 UTC (rev 139630)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Felipe Machado aka arch_audio <machado.felipe at gmail.com>
+
+pkgname=rubberband
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="Time-stretching and pitch-shifting audio library and utility"
+arch=('i686' 'x86_64')
+url="http://www.breakfastquay.com/rubberband/"
+license=('GPL')
+depends=('libsamplerate' 'fftw' 'vamp-plugin-sdk')
+makedepends=('ladspa')
+source=("http://code.breakfastquay.com/attachments/download/16/$pkgname-$pkgver.tar.bz2"
+        'gcc46.patch'
+        'vectorops.patch')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix gcc 4.6 compatibility
+  patch -Np1 -i "$srcdir/gcc46.patch"
+
+  # fix bug exposed by gcc 4.6
+  # see https://bugs.archlinux.org/task/26140
+  patch -Np1 -i "$srcdir/vectorops.patch"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
+md5sums=('28e3dc1f5ae694d6846bcb0ef3d597fc'
+         '7c2f404975da6052f6b80eac12efbeb4'
+         '4bdc9689179d3a2cf64172f0f911701d')

Copied: rubberband/repos/testing-x86_64/gcc46.patch (from rev 139629, rubberband/trunk/gcc46.patch)
===================================================================
--- testing-x86_64/gcc46.patch	                        (rev 0)
+++ testing-x86_64/gcc46.patch	2011-10-03 20:52:06 UTC (rev 139630)
@@ -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

Copied: rubberband/repos/testing-x86_64/vectorops.patch (from rev 139629, rubberband/trunk/vectorops.patch)
===================================================================
--- testing-x86_64/vectorops.patch	                        (rev 0)
+++ testing-x86_64/vectorops.patch	2011-10-03 20:52:06 UTC (rev 139630)
@@ -0,0 +1,13 @@
+--- a/src/system/VectorOps.h    Mon Mar 21 21:51:33 2011 +0000
++++ b/src/system/VectorOps.h    Sun Oct 02 21:12:42 2011 +0100
+@@ -84,8 +84,8 @@
+ }
+
+ template<typename T>
+-inline void v_move(T *const R__ dst,
+-                   const T *const R__ src,
++inline void v_move(T *const dst,
++                   const T *const src,
+                    const int count)
+ {
+     memmove(dst, src, count * sizeof(T));




More information about the arch-commits mailing list