mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
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:
parent
9aca669283
commit
d51cbb07a7
2 changed files with 30 additions and 26 deletions
|
@ -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,12 +56,17 @@ 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 \
|
||||
./autogen.sh
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
|
@ -71,10 +76,9 @@ cd src
|
|||
--enable-setuid \
|
||||
--enable-jack \
|
||||
--disable-portaudio \
|
||||
--enable-portmidi
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
cd ..
|
||||
--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/
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue