audio/Pd-extended: various cleanups and enhancements

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Felix Pfeifer 2011-10-10 02:42:09 -05:00 committed by Robby Workman
parent 7fc7de8808
commit 8d80f42e12
4 changed files with 46 additions and 42 deletions

View file

@ -11,7 +11,7 @@ BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
SRCNAM=Pd SRCNAM=Pd
SRCVER=0.42.5-extended SRCVER=$VERSION-extended
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -64,30 +64,36 @@ patch -p1 < $CWD/Makefile.diff
patch -p1 < $CWD/Pd-extended_libquicktime122.patch patch -p1 < $CWD/Pd-extended_libquicktime122.patch
cd packages/linux_make cd packages/linux_make
make install \ make install \
prefix="/usr" \ prefix="/usr" \
libdir="/usr/lib$LIBDIRSUFFIX" \ libdir="/usr/lib$LIBDIRSUFFIX" \
mandir="/usr/man" \ mandir="/usr/man" \
DOC_TARGETS="media messageoddness pd_fileformat pd-msg pddp tutorials" \ DOC_TARGETS="media messageoddness pd_fileformat pd-msg pddp tutorials" \
DESTDIR=$PKG DESTDIR=$PKG
cd ../..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION if [ "$ARCH" = "x86_64" ]; then
cp -a \ echo '#!/bin/sh' > $PKG/usr/bin/pdextended64
$TMP/$SRCNAM-$SRCVER/doc/* $TMP/$SRCNAM-$SRCVER/packages/gpl-3.0.txt \ echo 'cd /usr/lib64/pd-extended/bin' >> $PKG/usr/bin/pdextended64
$PKG/usr/doc/$PRGNAM-$VERSION echo '../pd' >> $PKG/usr/bin/pdextended64
cat $CWD/example.pdextended > $PKG/usr/doc/$PRGNAM-$VERSION/example.pdextended chmod 755 $PKG/usr/bin/pdextended64
cat $CWD/Pd-extended.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-extended.SlackBuild fi
# Seems Pd can't make their mind up how they want to be called, # Seems Pd can't make their mind up how they want to be called,
#(Pd/pd or Pd/pd-extended), so we're hardcoding the files here. # (Pd/pd or Pd/pd-extended), so we're hardcoding the files here.
mkdir -p $PKG/usr/share/{applications,pixmaps,mime/packages} mkdir -p $PKG/usr/share/{applications,pixmaps,mime/packages}
cat $TMP/$SRCNAM-$SRCVER/packages/linux_make/pd-extended.desktop > $PKG/usr/share/applications/pd-extended.desktop cat packages/linux_make/pd-extended.desktop > $PKG/usr/share/applications/pd-extended.desktop
cat $TMP/$SRCNAM-$SRCVER/packages/linux_make/pd.png > $PKG/usr/share/pixmaps/pd.png cat packages/linux_make/pd.png > $PKG/usr/share/pixmaps/pd.png
cat $TMP/$SRCNAM-$SRCVER/packages/linux_make/pd-extended.xml > $PKG/usr/share/mime/packages/pd-extended.xml cat packages/linux_make/pd-extended.xml > $PKG/usr/share/mime/packages/pd-extended.xml
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/* packages/gpl-3.0.txt $PKG/usr/doc/$PRGNAM-$VERSION
sed "s,/usr/lib/,/usr/lib${LIBDIRSUFFIX}/,g" $CWD/example.pdextended \
> $PKG/usr/doc/$PRGNAM-$VERSION/example.pdextended
cat $CWD/Pd-extended.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-extended.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/doinst.sh > $PKG/install/doinst.sh

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Felix Pfeifer" MAINTAINER="Felix Pfeifer"
EMAIL="pfeifer[dot]felix[at]googlemail[dot]com" EMAIL="pfeifer[dot]felix[at]googlemail[dot]com"
APPROVED="Michiel van Wessem" APPROVED="rworkman"

View file

@ -1,22 +1,20 @@
Pd-extended (Pure Data, by Miller Puckette) is a real-time Pd-extended (Pure Data, by Miller Puckette) is a real-time audio
audio synthesis/processing package. It is one of the synthesis/processing package. It is one of the "MUSIC N" family
"MUSIC N" family members, open source (BSD style) successor members, open source (BSD style) successor of the MAX branch.
of the MAX branch. This package contains the core of Pd and This package contains the core of Pd and many external objects.
many external objects.
Since this version the programs binaries name is pdextended, Since this version, the program binary's name is pdextended; in
in order to start Pd-extended you have to call it with this order to start Pd-extended, you have to call it with this name.
name.
Pd-extended is usually based on an older version of Pd. Pd-extended is usually based on an older version of Pd. Since
Since version 0.42.5 Pd-extended doesn't conflict any more version 0.42.5 Pd-extended doesn't conflict any more with Pd.
with Pd.
You find an example for $HOME/.pdextended in You find an example for $HOME/.pdextended in the usual documentation
/usr/doc/Pd-<version>-extended/example.pdextended directory (named "example.pdextended"), which should work as is one
which should work out of the box on most machines and most machines and will enable most of the external libraries in pd.
will enable most of the external libraries in pd.
It requires dssi, gsl, imlib2, jack-audio-connection-kit, To start Pd-extended, type "pdextended" on 32 bit boxes, and use
ladspa_sdk, lame, liblo, libquicktime and speex at compile "pdextended64" on 64 bit boxes.
time.
This requires ladspa_sdk, liblo, jack-audio-connection-kit,
dssi, gsl, imlib2, lame, libquicktime, and speex.

View file

@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
Pd-extended: Pd-extended (real-time audio processing) Pd-extended: Pd-extended (real-time audio processing)
Pd-extended: Pd-extended:
Pd-extended: Pd-extended (Pure Data, by Miller Puckette) is a real-time Pd-extended: Pd-extended (Pure Data, by Miller Puckette) is a real-time audio
Pd-extended: audio synthesis/processing package. It is one of the Pd-extended: synthesis/processing package. It is one of the "MUSIC N" family
Pd-extended: "MUSIC N" family members, open source (BSD style) successor Pd-extended: members, open source (BSD style) successor of the MAX branch.
Pd-extended: of the MAX branch. This package contains the core of Pd and Pd-extended: This package contains the core of Pd and many external objects.
Pd-extended: many external objetcs. Pd-extended:
Pd-extended: Homepage: http://puredata.info/
Pd-extended: Pd-extended:
Pd-extended: Pd-extended:
Pd-extended: homepage: http://puredata.info/
Pd-extended: Pd-extended: