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

speps speps at archlinux.org
Mon May 18 15:05:41 UTC 2015


    Date: Monday, May 18, 2015 @ 17:05:41
  Author: speps
Revision: 133720

upgpkg: pd 0.46.6-1

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-18 14:49:05 UTC (rev 133719)
+++ PKGBUILD	2015-05-18 15:05:41 UTC (rev 133720)
@@ -4,7 +4,7 @@
 # Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
 
 pkgname=pd
-pkgver=0.46.1
+pkgver=0.46.6
 _ver=${pkgver%.*}-${pkgver##*.}
 pkgrel=1
 pkgdesc="The Pure Data real-time music and multimedia environment"
@@ -11,23 +11,11 @@
 arch=('i686' 'x86_64')
 url="http://msp.ucsd.edu/software.html"
 license=('custom:BSD')
-depends=('jack' 'tk') # fftw
+depends=('jack' 'tk' 'fftw')
 provides=('puredata')
-source=("http://msp.ucsd.edu/Software/pd-$_ver.src.tar.gz"
-        "enable-fftw3.patch")
-md5sums=('d25ff57bf3b567b91705a86540262290'
-         'bb907907a9b33f6c63312274c8523d40')
+source=("http://msp.ucsd.edu/Software/pd-$_ver.src.tar.gz")
+md5sums=('341649683c1ff3902e1578f7eae99272')
 
-prepare() {
-  cd pd-$_ver
-
-  # fftw3 patch
-  patch -p1 -i ../${source[1]}
-
-  # strip weakjack.h (cause segfault using Jack API)
-  sed -i 's_.*weakjack_//&_' src/s_audio_jack.c
-}
-
 build() {
   cd pd-$_ver
   ./autogen.sh
@@ -34,9 +22,8 @@
   ./configure --prefix=/usr \
               --enable-alsa \
               --enable-jack \
-              --disable-portaudio
-# WIP: FFTW support is broken due to GCC 4.9
-#              --enable-fftw
+              --disable-portaudio \
+              --enable-fftw
   make
 }
 

Deleted: enable-fftw3.patch
===================================================================
--- enable-fftw3.patch	2015-05-18 14:49:05 UTC (rev 133719)
+++ enable-fftw3.patch	2015-05-18 15:05:41 UTC (rev 133720)
@@ -1,19 +0,0 @@
-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