audio/pd: Updated for version 0.50_2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Michales Michaloudes 2020-04-10 00:20:21 +07:00 committed by Willy Sudiarto Raharjo
parent 8f1295947b
commit 589ac32f7e
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 16 additions and 8 deletions

View file

@ -16,7 +16,7 @@
# - correct .desktop Exec (2017) # - correct .desktop Exec (2017)
PRGNAM=pd PRGNAM=pd
VERSION=${VERSION:-0.48_1} VERSION=${VERSION:-0.50_2}
SRCVERSION=$(echo $VERSION | tr _ -) SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -82,7 +82,6 @@ CXXFLAGS="$SLKCFLAGS" \
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@ -93,8 +92,8 @@ mkdir -p $PKG/usr/share/$PRGNAM
# Change the .desktop to point in correct executable. # Change the .desktop to point in correct executable.
sed "s+Exec=pd+Exec=/usr/lib${LIBDIRSUFFIX}/$PRGNAM/bin/$PRGNAM+" $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop sed "s+Exec=pd+Exec=/usr/lib${LIBDIRSUFFIX}/$PRGNAM/bin/$PRGNAM+" $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
convert $TMP/$PRGNAM-$SRCVERSION/src/pd.ico $TMP/${PRGNAM}_48.xpm convert $TMP/$PRGNAM-$SRCVERSION/tcl/pd.ico $TMP/${PRGNAM}\_${SRCVERSION}.xpm
cp $TMP/${PRGNAM}_48-3.xpm $PKG/usr/share/$PRGNAM cp $TMP/${PRGNAM}\_${SRCVERSION}-3.xpm $PKG/usr/share/$PRGNAM/${PRGNAM}\_${SRCVERSION}-3.xpm
# copy all header files (for pd_mrpeach) # copy all header files (for pd_mrpeach)
cp -p $TMP/$PRGNAM-$SRCVERSION/src/*.h $PKG/usr/include/ cp -p $TMP/$PRGNAM-$SRCVERSION/src/*.h $PKG/usr/include/
@ -107,8 +106,17 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL.txt README.txt LICENSE.txt src/CHANGELOG.txt \ cp -a INSTALL.txt README.txt LICENSE.txt src/CHANGELOG.txt \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# native documentation wants this
ln -s /usr/lib/pd/doc/ $PKG/usr/doc/$PRGNAM-$VERSION/docs ln -s /usr/lib/pd/doc/ $PKG/usr/doc/$PRGNAM-$VERSION/docs
# pd-gui wants this:
# Error in startup script: couldn't execute "/usr/lib64/pd/tcl/../bin/pd":
# no such file or directory
cd $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/bin/
# remove bad (temp) link
rm ./pd
ln -s ../../../bin/$PRGNAM ./$PRGNAM
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

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Exec=pd Exec=pd
Icon=/usr/share/pd/pd_48-3.xpm Icon=/usr/share/pd/pd_50-3.xpm
Name=Pure Data Name=Pure Data
GenericName=Real-time graphical programming environment for audio, video, and graphical processing GenericName=Real-time graphical programming environment for audio, video, and graphical processing
GenericName[el]=Γραφικό περιβάλλον προγραμματισμού ήχου, midi και εικόνας. GenericName[el]=Γραφικό περιβάλλον προγραμματισμού ήχου, midi και εικόνας.

View file

@ -1,8 +1,8 @@
PRGNAM="pd" PRGNAM="pd"
VERSION="0.48_1" VERSION="0.50_2"
HOMEPAGE="http://msp.ucsd.edu/software.html" HOMEPAGE="http://msp.ucsd.edu/software.html"
DOWNLOAD="http://msp.ucsd.edu/Software/pd-0.48-1.src.tar.gz" DOWNLOAD="http://msp.ucsd.edu/Software/pd-0.50-2.src.tar.gz"
MD5SUM="8c4deff54b47a10d2f55e363022cc634" MD5SUM="d7f0115f5c000e3477130d8f80ecf6fa"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""