aboutsummaryrefslogtreecommitdiff
path: root/audio/pd
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2020-04-10 00:20:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-10 00:20:21 +0700
commit589ac32f7eab9ca71ebf102dcc48874de43cb5af (patch)
tree3d10d97f9623900f853e62ac24a8b02b299b209c /audio/pd
parent8f1295947bf671201d1418c213f116b8d3e003e7 (diff)
audio/pd: Updated for version 0.50_2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/pd')
-rw-r--r--audio/pd/pd.SlackBuild16
-rw-r--r--audio/pd/pd.desktop2
-rw-r--r--audio/pd/pd.info6
3 files changed, 16 insertions, 8 deletions
diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild
index 977741b4f6205..b2bfd8cefcd6c 100644
--- a/audio/pd/pd.SlackBuild
+++ b/audio/pd/pd.SlackBuild
@@ -16,7 +16,7 @@
# - correct .desktop Exec (2017)
PRGNAM=pd
-VERSION=${VERSION:-0.48_1}
+VERSION=${VERSION:-0.50_2}
SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -82,7 +82,6 @@ CXXFLAGS="$SLKCFLAGS" \
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
@@ -93,8 +92,8 @@ mkdir -p $PKG/usr/share/$PRGNAM
# 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
-convert $TMP/$PRGNAM-$SRCVERSION/src/pd.ico $TMP/${PRGNAM}_48.xpm
-cp $TMP/${PRGNAM}_48-3.xpm $PKG/usr/share/$PRGNAM
+convert $TMP/$PRGNAM-$SRCVERSION/tcl/pd.ico $TMP/${PRGNAM}\_${SRCVERSION}.xpm
+cp $TMP/${PRGNAM}\_${SRCVERSION}-3.xpm $PKG/usr/share/$PRGNAM/${PRGNAM}\_${SRCVERSION}-3.xpm
# copy all header files (for pd_mrpeach)
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 \
$PKG/usr/doc/$PRGNAM-$VERSION
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
+# 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
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/audio/pd/pd.desktop b/audio/pd/pd.desktop
index 713e8204d09a9..29cec3cf9495c 100644
--- a/audio/pd/pd.desktop
+++ b/audio/pd/pd.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Exec=pd
-Icon=/usr/share/pd/pd_48-3.xpm
+Icon=/usr/share/pd/pd_50-3.xpm
Name=Pure Data
GenericName=Real-time graphical programming environment for audio, video, and graphical processing
GenericName[el]=Γραφικό περιβάλλον προγραμματισμού ήχου, midi και εικόνας.
diff --git a/audio/pd/pd.info b/audio/pd/pd.info
index bd92810088e14..da3009d83dc76 100644
--- a/audio/pd/pd.info
+++ b/audio/pd/pd.info
@@ -1,8 +1,8 @@
PRGNAM="pd"
-VERSION="0.48_1"
+VERSION="0.50_2"
HOMEPAGE="http://msp.ucsd.edu/software.html"
-DOWNLOAD="http://msp.ucsd.edu/Software/pd-0.48-1.src.tar.gz"
-MD5SUM="8c4deff54b47a10d2f55e363022cc634"
+DOWNLOAD="http://msp.ucsd.edu/Software/pd-0.50-2.src.tar.gz"
+MD5SUM="d7f0115f5c000e3477130d8f80ecf6fa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""