diff options
Diffstat (limited to 'extra/aubio')
-rw-r--r-- | extra/aubio/PKGBUILD | 13 | ||||
-rw-r--r-- | extra/aubio/aubio-linking.patch | 33 |
2 files changed, 42 insertions, 4 deletions
diff --git a/extra/aubio/PKGBUILD b/extra/aubio/PKGBUILD index 517f756d6..60e7e9729 100644 --- a/extra/aubio/PKGBUILD +++ b/extra/aubio/PKGBUILD @@ -1,22 +1,27 @@ -# $Id: PKGBUILD 122072 2011-05-02 05:51:30Z andrea $ +# $Id: PKGBUILD 150683 2012-02-20 06:58:41Z allan $ # Maintainer: Tobias Kieslich tobias [funnychar] archlinux org # Contributor: Peter Baldwin <bald_pete@hotmail.com> # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw> pkgname=aubio pkgver=0.3.2 -pkgrel=4 +pkgrel=5 pkgdesc="A library for audio labelling" arch=('i686' 'x86_64' 'mips64el') url="http://aubio.org/" license=('GPL') depends=('libsamplerate' 'fftw' 'jack') options=('!libtool') -source=("http://aubio.org/pub/${pkgname}-${pkgver}.tar.gz") -md5sums=('ffc3e5e4880fec67064f043252263a44') +source=("http://aubio.org/pub/${pkgname}-${pkgver}.tar.gz" + aubio-linking.patch) +md5sums=('ffc3e5e4880fec67064f043252263a44' + '674259ce137ca28ef24bd62482829cd5') build() { cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i $srcdir/aubio-linking.patch + ./configure --prefix=/usr make } diff --git a/extra/aubio/aubio-linking.patch b/extra/aubio/aubio-linking.patch new file mode 100644 index 000000000..ea68335a4 --- /dev/null +++ b/extra/aubio/aubio-linking.patch @@ -0,0 +1,33 @@ +diff -rupN aubio-0.3.2.old/examples/Makefile.am aubio-0.3.2/examples/Makefile.am +--- aubio-0.3.2.old/examples/Makefile.am 2006-09-12 18:31:40.000000000 -0400 ++++ aubio-0.3.2/examples/Makefile.am 2010-02-10 04:06:51.000000000 -0500 +@@ -23,7 +23,7 @@ aubionotes_SOURCES = aubionotes.c utils. + aubiotrack_SOURCES = aubiotrack.c utils.c + aubioquiet_SOURCES = aubioquiet.c utils.c + +-aubioonset_LDADD = @JACK_LIBS@ +-aubionotes_LDADD = @JACK_LIBS@ +-aubiotrack_LDADD = @JACK_LIBS@ +-aubioquiet_LDADD = @JACK_LIBS@ ++aubioonset_LDADD = @JACK_LIBS@ -lm ++aubionotes_LDADD = @JACK_LIBS@ -lm ++aubiotrack_LDADD = @JACK_LIBS@ -lm ++aubioquiet_LDADD = @JACK_LIBS@ -lm +diff -rupN aubio-0.3.2.old/examples/Makefile.in aubio-0.3.2/examples/Makefile.in +--- aubio-0.3.2.old/examples/Makefile.in 2006-10-08 19:22:10.000000000 -0400 ++++ aubio-0.3.2/examples/Makefile.in 2010-02-10 04:07:00.000000000 -0500 +@@ -247,10 +247,10 @@ aubioonset_SOURCES = aubioonset.c utils. + aubionotes_SOURCES = aubionotes.c utils.c + aubiotrack_SOURCES = aubiotrack.c utils.c + aubioquiet_SOURCES = aubioquiet.c utils.c +-aubioonset_LDADD = @JACK_LIBS@ +-aubionotes_LDADD = @JACK_LIBS@ +-aubiotrack_LDADD = @JACK_LIBS@ +-aubioquiet_LDADD = @JACK_LIBS@ ++aubioonset_LDADD = @JACK_LIBS@ -lm ++aubionotes_LDADD = @JACK_LIBS@ -lm ++aubiotrack_LDADD = @JACK_LIBS@ -lm ++aubioquiet_LDADD = @JACK_LIBS@ -lm + all: all-recursive + + .SUFFIXES: |