[arch-commits] Commit in pd/trunk (PKGBUILD enable-fftw3.patch)

speps speps at nymeria.archlinux.org
Thu Oct 24 15:22:11 UTC 2013


    Date: Thursday, October 24, 2013 @ 17:22:11
  Author: speps
Revision: 99114

upgpkg: pd 0.45.3-1

Added:
  pd/trunk/enable-fftw3.patch
Modified:
  pd/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   19 +++++++++++++------
 enable-fftw3.patch |   19 +++++++++++++++++++
 2 files changed, 32 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-24 13:50:20 UTC (rev 99113)
+++ PKGBUILD	2013-10-24 15:22:11 UTC (rev 99114)
@@ -4,9 +4,9 @@
 # Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
 
 pkgname=pd
-pkgver=0.44.3
+pkgver=0.45.3
 _ver=${pkgver%.*}-${pkgver##*.}
-pkgrel=2
+pkgrel=1
 pkgdesc="The Pure Data real-time music and multimedia environment"
 arch=('i686' 'x86_64')
 url="http://crca.ucsd.edu/~msp/software.html"
@@ -13,11 +13,18 @@
 license=('custom:BSD')
 depends=('jack' 'fftw' 'tk')
 provides=('puredata')
-source=("http://crca.ucsd.edu/~msp/Software/pd-$_ver.src.tar.gz")
-md5sums=('a3e8ca0eab039dc472a6533ef9344582')
+source=("http://crca.ucsd.edu/~msp/Software/pd-$_ver.src.tar.gz"
+        "enable-fftw3.patch")
+md5sums=('461a3d0d558a4f45c49943234baa9ca8'
+         'bb907907a9b33f6c63312274c8523d40')
 
+prepare() {
+  cd pd-$_ver
+  patch -p1 -i ../${source[1]}
+}
+
 build() {
-  cd "$srcdir/pd-$_ver"
+  cd pd-$_ver
   ./autogen.sh
   ./configure --prefix=/usr \
               --enable-alsa \
@@ -28,7 +35,7 @@
 }
 
 package() {
-  cd "$srcdir/pd-$_ver"
+  cd pd-$_ver
   make DESTDIR="$pkgdir" install
 
   # license

Added: enable-fftw3.patch
===================================================================
--- enable-fftw3.patch	                        (rev 0)
+++ enable-fftw3.patch	2013-10-24 15:22:11 UTC (rev 99114)
@@ -0,0 +1,19 @@
+diff -aur pd-0.45-3/configure.ac pd-0.45-3.fftw3/configure.ac
+--- pd-0.45-3/configure.ac	2013-10-03 18:22:29.000000000 +0200
++++ pd-0.45-3.fftw3/configure.ac	2013-10-24 02:14:09.555763309 +0200
+@@ -212,13 +212,13 @@
+ AM_CONDITIONAL(PORTMIDI, test x$portmidi = xyes)
+ if test x$portmidi = xyes; then echo Using included portmidi; fi
+ 
+-dnl fftw v2
++dnl fftw v3
+ AC_ARG_ENABLE([fftw],
+ 	[AS_HELP_STRING([--enable-fftw],
+ 		[use FFTW package])],
+     [fftw=$enableval])
+ if test x$fftw = xyes; then
+-    AC_CHECK_LIB(fftw, fftw_one, [LIBS="$LIBS -lfftw"],
++    AC_CHECK_LIB(fftw3f, fftwf_execute, [LIBS="$LIBS -lfftw3f"],
+         [AC_MSG_NOTICE([fftw package not found - using built-in FFT]); fftw=no])
+ fi
+ AM_CONDITIONAL(FFTW, test x$fftw = xyes)




More information about the arch-commits mailing list