diff options
Diffstat (limited to 'audio/synthv1')
-rw-r--r-- | audio/synthv1/README | 6 | ||||
-rw-r--r-- | audio/synthv1/slack-desc | 6 | ||||
-rw-r--r-- | audio/synthv1/synthv1.SlackBuild | 23 | ||||
-rw-r--r-- | audio/synthv1/synthv1.info | 8 |
4 files changed, 30 insertions, 13 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..1196fe0b5b 100644 --- a/audio/synthv1/synthv1.SlackBuild +++ b/audio/synthv1/synthv1.SlackBuild @@ -6,6 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20201106 bkw: update for v0.9.18 +# 20200114 bkw: update for v0.9.12 +# 20191210 bkw: update for v0.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 +22,7 @@ # 20170324 bkw: updated for v0.8.1 PRGNAM=synthv1 -VERSION=${VERSION:-0.9.4} +VERSION=${VERSION:-0.9.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,6 +65,11 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +# This thing can't be told to use qmake-qt5, and keeps choking on +# /usr/bin/qmake. The --with-qt option doesn't help, only putting +# qt5's bin/ before /usr/bin in $PATH will do. +export PATH=/usr/lib$LIBDIRSUFFIX/qt5/bin:$PATH + LDFLAGS="-Wl,-s" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -111,8 +120,8 @@ make install DESTDIR=$PKG # block!) and ship only the UTF-8 man page. For now, include both, # to be -current-friendly. -mkdir -p $PKG/usr/man/fr/man1 $PKG/usr/man/fr.UTF-8/man1 -mv $PKG/usr/man/man1/$PRGNAM.fr.1.gz $PKG/usr/man/fr.UTF-8/man1/$PRGNAM.1.gz +mkdir -p $PKG/usr/man/fr.UTF-8/man1 +mv $PKG/usr/man/fr/man1/$PRGNAM.1.gz $PKG/usr/man/fr.UTF-8/man1/$PRGNAM.1.gz zcat $PKG/usr/man/fr.UTF-8/man1/$PRGNAM.1.gz | \ iconv -f UTF-8 -t ISO-8859-1 | \ gzip -9c \ @@ -128,8 +137,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..988bb1a96a 100644 --- a/audio/synthv1/synthv1.info +++ b/audio/synthv1/synthv1.info @@ -1,10 +1,10 @@ PRGNAM="synthv1" -VERSION="0.9.4" +VERSION="0.9.18" 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.18/synthv1-0.9.18.tar.gz" +MD5SUM="81b45cbb00dfb332edfa0c1642683ad7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jack-audio-connection-kit qt5" +REQUIRES="jack qt5" MAINTAINER="B. Watson" EMAIL="yalhcru@gmail.com" |