summaryrefslogtreecommitdiffstats
path: root/audio/drumkv1
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2019-12-10 20:41:24 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:27 +0700
commit9495c4cbc705801948b8137068aac557b05bf546 (patch)
tree9c1792dbf751860eeda68a05a15de7822ec05a50 /audio/drumkv1
parente7afd2c9929572c0c7c1c4b6331d69ab8db96946 (diff)
downloadslackbuilds-9495c4cbc705801948b8137068aac557b05bf546.tar.gz
slackbuilds-9495c4cbc705801948b8137068aac557b05bf546.tar.xz
audio/drumkv1: Updated for version 0.9.11.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/drumkv1')
-rw-r--r--audio/drumkv1/README6
-rw-r--r--audio/drumkv1/drumkv1.SlackBuild12
-rw-r--r--audio/drumkv1/drumkv1.info6
-rw-r--r--audio/drumkv1/slack-desc6
4 files changed, 20 insertions, 10 deletions
diff --git a/audio/drumkv1/README b/audio/drumkv1/README
index 4b84354f98..62123d2f04 100644
--- a/audio/drumkv1/README
+++ b/audio/drumkv1/README
@@ -4,8 +4,10 @@ drumkv1 is an old-school all-digital drum-kit sampler synthesizer with
stereo fx. It runs either as a standalone JACK application or an LV2
instrument plugin.
-Optional dependency: The LV2 instrument plugin requires lv2 to be
-installed (auto-detected at compile time).
+Optional dependencies (autodetected):
+
+lv2 - required to build drumkv1's LV2 instrument plugins.
+liblo - required for OSC (Open Sound Control) support.
This package uses POSIX filesystem capabilities to execute with
elevated privileges (required for realtime audio processing). This
diff --git a/audio/drumkv1/drumkv1.SlackBuild b/audio/drumkv1/drumkv1.SlackBuild
index b7aab61b0f..3e3dcb8865 100644
--- a/audio/drumkv1/drumkv1.SlackBuild
+++ b/audio/drumkv1/drumkv1.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: update for 0.9.4. Sadly, qt4 support was dropped.
# 20180828 bkw: update for 0.9.2
# 20180702 bkw: update for 0.9.1, install French man page correctly.
@@ -16,7 +18,7 @@
# 20170614 bkw: update for 0.8.2, drop qt5 dep, build with qt4
PRGNAM=drumkv1
-VERSION=${VERSION:-0.9.4}
+VERSION=${VERSION:-0.9.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -97,8 +99,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
diff --git a/audio/drumkv1/drumkv1.info b/audio/drumkv1/drumkv1.info
index 71b6918e18..7569476109 100644
--- a/audio/drumkv1/drumkv1.info
+++ b/audio/drumkv1/drumkv1.info
@@ -1,8 +1,8 @@
PRGNAM="drumkv1"
-VERSION="0.9.4"
+VERSION="0.9.11"
HOMEPAGE="https://drumkv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/drumkv1/drumkv1/0.9.4/drumkv1-0.9.4.tar.gz"
-MD5SUM="9cab2f1900698f543143675cd03450c7"
+DOWNLOAD="https://downloads.sourceforge.net/project/drumkv1/drumkv1/0.9.11/drumkv1-0.9.11.tar.gz"
+MD5SUM="b6bfd03d70f10dc96341c534590e9658"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit qt5"
diff --git a/audio/drumkv1/slack-desc b/audio/drumkv1/slack-desc
index edb50dab2d..cb5b942727 100644
--- a/audio/drumkv1/slack-desc
+++ b/audio/drumkv1/slack-desc
@@ -12,8 +12,8 @@ drumkv1: drumkv1 is an old-school all-digital drum-kit sampler synthesizer
drumkv1: with stereo fx. It runs either as a standalone JACK application or
drumkv1: an LV2 instrument plugin.
drumkv1:
+drumkv1: Build options:
drumkv1:
-drumkv1:
-drumkv1:
-drumkv1:
+drumkv1: liblo (OSC support): @LIBLO@
+drumkv1: lv2 instrument support: @LV2@
drumkv1: