diff options
-rwxr-xr-x | zyn-fusion/build/zyn-fusion.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/zyn-fusion/build/zyn-fusion.SlackBuild b/zyn-fusion/build/zyn-fusion.SlackBuild index f44ad715..98a07a7b 100755 --- a/zyn-fusion/build/zyn-fusion.SlackBuild +++ b/zyn-fusion/build/zyn-fusion.SlackBuild @@ -33,6 +33,9 @@ # Changelog: # 3.0.5-1: 21/Jan/2020 by Eric Hameleers <alien@slackware.com> # * Initial build. +# 3.0.5-2: 01/jun/2020 by Eric Hameleers <alien@slackware.com> +# * Fix hard-coded paths preventing zyn-fusion from being useful, +# thanks to Bob Funk. # # Run 'sh zyn-fusion.SlackBuild' to build a Slackware package. # The package (.t?z) and .txt file as well as build logs are created in /tmp . @@ -44,7 +47,7 @@ PRGNAM=zyn-fusion PRGZYN=zynaddsubfx PRGFUSION=zyn-fusion-ui-src VERSION=${VERSION:-3.0.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(nproc) "} TAG=${TAG:-alien} @@ -172,6 +175,10 @@ mv -i libuv-v${LIBUV} ${PRGFUSION}-${VERSION}/deps/ # Replace it with a much more straightforward implementation. cp $SRCDIR/BashCompletion.cmake ${PRGZYN}-${VERSION}/cmake/BashCompletion.cmake +# Replace hard-coded '/opt/zyn-fusion' with '/usr/libexec/zyn-fusion': +sed -e "s,/opt/zyn-fusion,/usr/libexec/zyn-fusion," \ + -i $(grep -rl '/opt/zyn-fusion' zyn*) + echo Building ... # Prepare the ruby-zest UI component so the synth build can pick it up: |