aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-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 6e38d32b676f..7b493d602353 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 285610f4689e..de448a50e837 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 24d4f735fd7b..0b3407773af9 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 43562e372057..50b4dc1609a4 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: