audio/pd: Updated for version 0.45.3.

Disabled portmidi support because breaks the build.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2013-11-16 20:02:07 +01:00 committed by Robby Workman
parent 9aca669283
commit d51cbb07a7
2 changed files with 30 additions and 26 deletions

View file

@ -14,11 +14,11 @@
# - include all .h files
PRGNAM=pd
VERSION=${VERSION:-0.43.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-0.45.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCVERSION=0.43-0
SRCVERSION=0.45-3
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -56,25 +56,29 @@ rm -rf $PRGNAM-$SRCVERSION
tar xvf $CWD/$PRGNAM-$SRCVERSION.src.tar.gz
cd $PRGNAM-$SRCVERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd src
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--datadir=/usr/share/pd \
--localstatedir=/var \
--enable-alsa \
--enable-setuid \
--enable-jack \
--disable-portaudio \
--enable-portmidi
make
make install DESTDIR=$PKG
cd ..
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--datadir=/usr/share/pd \
--localstatedir=/var \
--enable-alsa \
--enable-setuid \
--enable-jack \
--disable-portaudio \
--disable-portmidi
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@ -87,8 +91,8 @@ convert $TMP/$PRGNAM-$SRCVERSION/src/pd.ico $TMP/${PRGNAM}_48.xpm
cp $TMP/${PRGNAM}_48-3.xpm $PKG/usr/share/$PRGNAM
# For 0.43-0 version
mkdir -p $PKG/usr/lib/pd/tcl/
cp -a $TMP/$PRGNAM-$SRCVERSION/tcl/*.tcl $PKG/usr/lib/pd/tcl/
#mkdir -p $PKG/usr/lib/pd/tcl/
#cp -a $TMP/$PRGNAM-$SRCVERSION/tcl/*.tcl $PKG/usr/lib/pd/tcl/
# copy all header files (for pd_mrpeach)
cp -p $TMP/$PRGNAM-$SRCVERSION/src/*.h $PKG/usr/include/

View file

@ -1,8 +1,8 @@
PRGNAM="pd"
VERSION="0.43.0"
VERSION="0.45.3"
HOMEPAGE="http://www-crca.ucsd.edu/~msp/software.html"
DOWNLOAD="http://www-crca.ucsd.edu/~msp/Software/pd-0.43-0.src.tar.gz"
MD5SUM="b7e7bab14220146748c2ed596e1c18f2"
DOWNLOAD="http://crca.ucsd.edu/~msp/Software/pd-0.45-3.src.tar.gz"
MD5SUM="461a3d0d558a4f45c49943234baa9ca8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""