diff options
Diffstat (limited to 'audio/synthv1/synthv1.SlackBuild')
-rw-r--r-- | audio/synthv1/synthv1.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/audio/synthv1/synthv1.SlackBuild b/audio/synthv1/synthv1.SlackBuild index e35806730e1b..ac5bb58c7075 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 |