summaryrefslogtreecommitdiffstats
path: root/audio/synthv1/synthv1.SlackBuild
diff options
context:
space:
mode:
author B. Watson2019-12-11 04:08:22 +0100
committer Willy Sudiarto Raharjo2019-12-15 11:06:27 +0100
commitffd89fad11321f20e48c3e397b5dfcc751e3661f (patch)
treebff9d7381f2fefea13f64cf59c0126262bc7872b /audio/synthv1/synthv1.SlackBuild
parent9495c4cbc705801948b8137068aac557b05bf546 (diff)
downloadslackbuilds-ffd89fad11321f20e48c3e397b5dfcc751e3661f.tar.gz
audio/synthv1: Updated for version 0.9.11.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/synthv1/synthv1.SlackBuild')
-rw-r--r--audio/synthv1/synthv1.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/audio/synthv1/synthv1.SlackBuild b/audio/synthv1/synthv1.SlackBuild
index e35806730e..ac5bb58c70 100644
--- a/audio/synthv1/synthv1.SlackBuild
+++ b/audio/synthv1/synthv1.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191210 bkw: update for 0.9.11, document optional liblo dep, have slack-desc
+# tell user whether or not optional deps are included.
# 20181216 bkw: updated for v0.9.4, qt5 now required
# 20180828 bkw: updated for v0.9.2
# 20180702 bkw: updated for v0.9.1, install French man page correctly.
@@ -18,7 +20,7 @@
# 20170324 bkw: updated for v0.8.1
PRGNAM=synthv1
-VERSION=${VERSION:-0.9.4}
+VERSION=${VERSION:-0.9.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -128,8 +130,14 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+LIBLO=no
+LV2=no
+ldd $PKG/usr/bin/${PRGNAM}_jack | grep -q liblo && LIBLO=yes
+[ -e $PKG/usr/lib$LIBDIRSUFFIX/lv2/$PRGNAM.lv2 ] && LV2=yes
+
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed -e "s,@LIBLO@,$LIBLO," -e "s,@LV2@,$LV2," $CWD/slack-desc \
+ > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
if [ "${SETCAP:-yes}" = "yes" ]; then