[arch-commits] Commit in aubio/trunk (PKGBUILD aubio-linking.patch)

Allan McRae allan at archlinux.org
Mon Feb 20 01:57:32 EST 2012


    Date: Monday, February 20, 2012 @ 01:57:32
  Author: allan
Revision: 150682

upgpkg: aubio 0.3.2-5

signing rebuild, fix linking

Added:
  aubio/trunk/aubio-linking.patch
Modified:
  aubio/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   11 ++++++++---
 aubio-linking.patch |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-20 06:11:07 UTC (rev 150681)
+++ PKGBUILD	2012-02-20 06:57:32 UTC (rev 150682)
@@ -5,18 +5,23 @@
 
 pkgname=aubio
 pkgver=0.3.2
-pkgrel=4
+pkgrel=5
 pkgdesc="A library for audio labelling"
 arch=('i686' 'x86_64')
 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
 }

Added: aubio-linking.patch
===================================================================
--- aubio-linking.patch	                        (rev 0)
+++ aubio-linking.patch	2012-02-20 06:57:32 UTC (rev 150682)
@@ -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:



More information about the arch-commits mailing list