summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/pd/README2
-rw-r--r--audio/pd/pd.SlackBuild54
-rw-r--r--audio/pd/pd.desktop10
-rw-r--r--audio/pd/pd.info8
4 files changed, 51 insertions, 23 deletions
diff --git a/audio/pd/README b/audio/pd/README
index ad275db8ce..f714558b75 100644
--- a/audio/pd/README
+++ b/audio/pd/README
@@ -5,3 +5,5 @@ It is one of the "MUSIC N" family members, open source
(BSD style) successor of the MAX branch. This package
contains just the core of Pd, more external objetcs have
been written, many of them are in the CVS at SourceForge.
+
+Optional: jack-audio-connection-kit, portmidi
diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild
index fe5c89f40d..f9b6a00c30 100644
--- a/audio/pd/pd.SlackBuild
+++ b/audio/pd/pd.SlackBuild
@@ -2,28 +2,28 @@
# Slackware build script for Pure Data
-# Written by ilya .d <errordeveloper-AT-gmail-DOT-com>
+# Modified by by Ilya Dmitrichenko <errordeveloper-AT-gmail-DOT-com>
# Modified by Robby Workman <rworkman@slackbuilds.org> with minor stuff:
# -fix makefile patch to use DESTDIR correctly
# -miscellanous script tweaks
# No additional license terms
+# Modified by Michales Michaloudes <korgie@gmail.com> (2011)
+# - version bump
+# - desktop icon
+# - enable jack and portmidi
PRGNAM=pd
-SRC_VERSION=0.42-4
-VERSION=$(echo $SRC_VERSION | tr - .)
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.43-0}
+CANONICALIZEDVERSION=$(echo $VERSION | tr - .)
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
-
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -49,8 +49,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRC_VERSION.src.tar.gz
-cd $PRGNAM-$SRC_VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -64,22 +64,38 @@ cd src
--datadir=/usr/share/pd \
--localstatedir=/var \
--enable-alsa \
- --enable-setuid
- make
- make install DESTDIR=$PKG
+ --enable-setuid \
+ --enable-jack \
+ --disable-portaudio \
+ --enable-portmidi
+make
+make install DESTDIR=$PKG
cd -
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# create and cp KDE desktop icon
+mkdir -p $PKG/usr/share/applications
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -a $CWD/$PRGNAM.desktop $PKG/usr/share/applications
+convert $TMP/$PRGNAM-$VERSION/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-$VERSION/tcl/*.tcl $PKG/usr/lib/pd/tcl/
+
+mv $PKG/usr/share/man $PKG/usr/man
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$CANONICALIZEDVERSION
cp -a INSTALL.txt README.txt LICENSE.txt src/CHANGELOG.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-ln -s /usr/lib/pd/doc/ $PKG/usr/doc/$PRGNAM-$VERSION/docs
+ $PKG/usr/doc/$PRGNAM-$CANONICALIZEDVERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$CANONICALIZEDVERSION/$PRGNAM.SlackBuild
+ln -s /usr/lib/pd/doc/ $PKG/usr/doc/$PRGNAM-$CANONICALIZEDVERSION/docs
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$CANONICALIZEDVERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
diff --git a/audio/pd/pd.desktop b/audio/pd/pd.desktop
new file mode 100644
index 0000000000..19c3496f8b
--- /dev/null
+++ b/audio/pd/pd.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=pd
+Icon=/usr/share/pd/pd_48-3.xpm
+Name=Pure Data
+GenericName=Real-time graphical programming environment for audio, video, and graphical processing
+GenericName[el]=Γραφικό περιβάλλον προγραμματισμού ήχου, midi και εικόνας.
+StartupNotify=true
+Type=Application
+Categories=MIDI;Audio;Sound;AudioVideo;
diff --git a/audio/pd/pd.info b/audio/pd/pd.info
index 9da7dafbb7..c2910e8f9d 100644
--- a/audio/pd/pd.info
+++ b/audio/pd/pd.info
@@ -1,10 +1,10 @@
PRGNAM="pd"
-VERSION="0.42.4"
+VERSION="0.43-0"
HOMEPAGE="http://www-crca.ucsd.edu/~msp/software.html"
-DOWNLOAD="http://www-crca.ucsd.edu/~msp/Software/pd-0.42-4.src.tar.gz"
-MD5SUM="13a0a5eeeb7ebcda10f86cff2558a59f"
+DOWNLOAD="http://www-crca.ucsd.edu/~msp/Software/pd-0.43-0.src.tar.gz"
+MD5SUM="b7e7bab14220146748c2ed596e1c18f2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
-APPROVED="dsomero"
+APPROVED="Erik Hanson"