summaryrefslogtreecommitdiff
path: root/community/pd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-25 02:08:36 -0700
committerroot <root@rshg054.dnsready.net>2013-10-25 02:08:36 -0700
commit5a3821aec094b38a412cf5e6997c08b6428d6f77 (patch)
tree80caf9e8d169d5c43d828ede599cb91fa065d8df /community/pd
parent94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (diff)
Fri Oct 25 02:07:10 PDT 2013
Diffstat (limited to 'community/pd')
-rw-r--r--community/pd/PKGBUILD21
-rw-r--r--community/pd/enable-fftw3.patch19
2 files changed, 33 insertions, 7 deletions
diff --git a/community/pd/PKGBUILD b/community/pd/PKGBUILD
index 365b70e67..4ff3b7606 100644
--- a/community/pd/PKGBUILD
+++ b/community/pd/PKGBUILD
@@ -1,23 +1,30 @@
-# $Id: PKGBUILD 92233 2013-06-03 06:13:55Z bpiotrowski $
+# $Id: PKGBUILD 99115 2013-10-24 15:22:27Z speps $
# Maintainer : speps <speps at aur dot archlinux dot org>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Shinlun Hsieh <yngwiexx@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"
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 @@ build() {
}
package() {
- cd "$srcdir/pd-$_ver"
+ cd pd-$_ver
make DESTDIR="$pkgdir" install
# license
diff --git a/community/pd/enable-fftw3.patch b/community/pd/enable-fftw3.patch
new file mode 100644
index 000000000..678e05862
--- /dev/null
+++ b/community/pd/enable-fftw3.patch
@@ -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)