summaryrefslogtreecommitdiff
path: root/extra/rubberband/PKGBUILD
blob: f9506554df11bdaf6db1aa096484277f4c6494dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $Id: PKGBUILD 140085 2011-10-06 09:24:38Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Felipe Machado aka arch_audio <machado.felipe@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')