summaryrefslogtreecommitdiff
path: root/audio/padthv1/padthv1.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-10 22:22:13 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:27 +0700
commit1d51377f3a9b35dd9610a087225a7b9e7b5a2e8b (patch)
tree26b3b69df8f579e211d16fc1ccad86953f31125c /audio/padthv1/padthv1.SlackBuild
parentffd89fad11321f20e48c3e397b5dfcc751e3661f (diff)
downloadslackbuilds-1d51377f3a9b35dd9610a087225a7b9e7b5a2e8b.tar.gz
audio/padthv1: Updated for version 0.9.11.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/padthv1/padthv1.SlackBuild')
-rw-r--r--audio/padthv1/padthv1.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/audio/padthv1/padthv1.SlackBuild b/audio/padthv1/padthv1.SlackBuild
index 285610f468..de448a50e8 100644
--- a/audio/padthv1/padthv1.SlackBuild
+++ b/audio/padthv1/padthv1.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=padthv1
-VERSION=${VERSION:-0.9.4}
+VERSION=${VERSION:-0.9.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -87,8 +87,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