aboutsummaryrefslogtreecommitdiff
path: root/audio/padthv1
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
parentffd89fad11321f20e48c3e397b5dfcc751e3661f (diff)
audio/padthv1: Updated for version 0.9.11.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/padthv1')
-rw-r--r--audio/padthv1/README6
-rw-r--r--audio/padthv1/padthv1.SlackBuild10
-rw-r--r--audio/padthv1/padthv1.info8
-rw-r--r--audio/padthv1/slack-desc6
4 files changed, 19 insertions, 11 deletions
diff --git a/audio/padthv1/README b/audio/padthv1/README
index 6e38d32b676f7..7b493d6023532 100644
--- a/audio/padthv1/README
+++ b/audio/padthv1/README
@@ -5,8 +5,10 @@ with stereo fx. It runs either as a standalone JACK application or an
LV2 instrument plugin. padthv1 is based on the PADsynth algorithm by
Paul Nasca, as a special variant of additive synthesis.
-Optional dependency: The LV2 instrument plugin requires lv2 to be
-installed (auto-detected at compile time).
+Optional dependencies (autodetected):
+
+lv2 - required to build padthv1'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/padthv1/padthv1.SlackBuild b/audio/padthv1/padthv1.SlackBuild
index 285610f4689e6..de448a50e8371 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
diff --git a/audio/padthv1/padthv1.info b/audio/padthv1/padthv1.info
index 24d4f735fd7b1..0b3407773af94 100644
--- a/audio/padthv1/padthv1.info
+++ b/audio/padthv1/padthv1.info
@@ -1,8 +1,8 @@
PRGNAM="padthv1"
-VERSION="0.9.4"
-HOMEPAGE="https://synthv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/padthv1/padthv1/0.9.4/padthv1-0.9.4.tar.gz"
-MD5SUM="907c17f342d2bedf7a1e0f301a95c483"
+VERSION="0.9.11"
+HOMEPAGE="https://padthv1.sourceforge.io/"
+DOWNLOAD="https://downloads.sourceforge.net/project/padthv1/padthv1/0.9.11/padthv1-0.9.11.tar.gz"
+MD5SUM="c620734d31cabb7bea3bdcd23081d2ab"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit qt5"
diff --git a/audio/padthv1/slack-desc b/audio/padthv1/slack-desc
index 43562e3720571..50b4dc1609a4c 100644
--- a/audio/padthv1/slack-desc
+++ b/audio/padthv1/slack-desc
@@ -12,8 +12,8 @@ padthv1: padthv1 is an an old-school 4-oscillator additive polyphonic
padthv1: synthesizer with stereo fx. It runs either as a standalone JACK
padthv1: application or an LV2 instrument plugin.
padthv1:
+padthv1: Build options:
padthv1:
-padthv1:
-padthv1:
-padthv1:
+padthv1: liblo (OSC support): @LIBLO@
+padthv1: lv2 instrument support: @LV2@
padthv1: