summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/samplv1/README6
-rw-r--r--audio/samplv1/samplv1.SlackBuild12
-rw-r--r--audio/samplv1/samplv1.info6
-rw-r--r--audio/samplv1/slack-desc6
4 files changed, 20 insertions, 10 deletions
diff --git a/audio/samplv1/README b/audio/samplv1/README
index a91b61e3ec..e4f3324dd6 100644
--- a/audio/samplv1/README
+++ b/audio/samplv1/README
@@ -4,8 +4,10 @@ samplv1 is an old-school all-digital polyphonic 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 samplv1'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/samplv1/samplv1.SlackBuild b/audio/samplv1/samplv1.SlackBuild
index 9037be6d45..e20bb2c73e 100644
--- a/audio/samplv1/samplv1.SlackBuild
+++ b/audio/samplv1/samplv1.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, which now requires qt5 :(
# 20180615 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=samplv1
-VERSION=${VERSION:-0.9.4}
+VERSION=${VERSION:-0.9.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -98,8 +100,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/samplv1/samplv1.info b/audio/samplv1/samplv1.info
index 4474df7182..6ec25b2cee 100644
--- a/audio/samplv1/samplv1.info
+++ b/audio/samplv1/samplv1.info
@@ -1,8 +1,8 @@
PRGNAM="samplv1"
-VERSION="0.9.4"
+VERSION="0.9.11"
HOMEPAGE="https://samplv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/0.9.4/samplv1-0.9.4.tar.gz"
-MD5SUM="7976e61b9db5fd7acd4a777b81faec1b"
+DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/0.9.11/samplv1-0.9.11.tar.gz"
+MD5SUM="1d848f6b0a4fab0ee66a4c1b4f09a564"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit qt5"
diff --git a/audio/samplv1/slack-desc b/audio/samplv1/slack-desc
index 38b36b565a..e080ff12ba 100644
--- a/audio/samplv1/slack-desc
+++ b/audio/samplv1/slack-desc
@@ -12,8 +12,8 @@ samplv1: samplv1 is an old-school all-digital polyphonic sampler synthesizer
samplv1: with stereo fx. It runs either as a standalone JACK application or an
samplv1: LV2 instrument plugin.
samplv1:
+samplv1: Build options:
samplv1:
-samplv1:
-samplv1:
-samplv1:
+samplv1: liblo (OSC support): @LIBLO@
+samplv1: lv2 instrument support: @LV2@
samplv1: