summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-10 22:08:22 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:27 +0700
commitffd89fad11321f20e48c3e397b5dfcc751e3661f (patch)
treebff9d7381f2fefea13f64cf59c0126262bc7872b
parent9495c4cbc705801948b8137068aac557b05bf546 (diff)
downloadslackbuilds-ffd89fad11321f20e48c3e397b5dfcc751e3661f.tar.gz
audio/synthv1: Updated for version 0.9.11.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--audio/synthv1/README6
-rw-r--r--audio/synthv1/slack-desc6
-rw-r--r--audio/synthv1/synthv1.SlackBuild12
-rw-r--r--audio/synthv1/synthv1.info6
4 files changed, 20 insertions, 10 deletions
diff --git a/audio/synthv1/README b/audio/synthv1/README
index 18b2390599..dcc6f90760 100644
--- a/audio/synthv1/README
+++ b/audio/synthv1/README
@@ -4,8 +4,10 @@ synthv1 is an an old-school 4-oscillator subtractive polyphonic
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 synthv1'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/synthv1/slack-desc b/audio/synthv1/slack-desc
index 4b6eb8ca81..57acdb00b5 100644
--- a/audio/synthv1/slack-desc
+++ b/audio/synthv1/slack-desc
@@ -12,8 +12,8 @@ synthv1: synthv1 is an an old-school 4-oscillator subtractive polyphonic
synthv1: synthesizer with stereo fx. It runs either as a standalone JACK
synthv1: application or an LV2 instrument plugin.
synthv1:
+synthv1: Build options:
synthv1:
-synthv1:
-synthv1:
-synthv1:
+synthv1: liblo (OSC support): @LIBLO@
+synthv1: lv2 instrument support: @LV2@
synthv1:
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
diff --git a/audio/synthv1/synthv1.info b/audio/synthv1/synthv1.info
index 910380f4de..b9597985ed 100644
--- a/audio/synthv1/synthv1.info
+++ b/audio/synthv1/synthv1.info
@@ -1,8 +1,8 @@
PRGNAM="synthv1"
-VERSION="0.9.4"
+VERSION="0.9.11"
HOMEPAGE="https://synthv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/synthv1/synthv1/0.9.4/synthv1-0.9.4.tar.gz"
-MD5SUM="f909bfb55e3d23f7308478ab07477486"
+DOWNLOAD="https://downloads.sourceforge.net/project/synthv1/synthv1/0.9.11/synthv1-0.9.11.tar.gz"
+MD5SUM="b8167809c3d762bed5282c5e5d5fac93"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit qt5"