aboutsummaryrefslogtreecommitdiff
path: root/audio/synthv1/synthv1.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-08-15 17:00:51 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-17 18:14:29 +0700
commitcde6d55125933d7668a13bf9e8117534a6651388 (patch)
tree84070415f9f45b34ac65a0682ff035cb56d34885 /audio/synthv1/synthv1.SlackBuild
parent43ef6f3fa2169eac8c8a7ac4563c62c191d98b7e (diff)
audio/synthv1: Updated for version 1.0.0.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/synthv1/synthv1.SlackBuild')
-rw-r--r--audio/synthv1/synthv1.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/synthv1/synthv1.SlackBuild b/audio/synthv1/synthv1.SlackBuild
index e29d237e0b99..1122f017cbce 100644
--- a/audio/synthv1/synthv1.SlackBuild
+++ b/audio/synthv1/synthv1.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240815 bkw: update for 1.0.0
# 20230629 bkw: update for v0.9.31
# 20230109 bkw: update for v0.9.28
# 20211205 bkw: update for v0.9.23
@@ -27,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=synthv1
-VERSION=${VERSION:-0.9.31}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,6 +76,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 {} \+
+# 20240815 bkw: lv2 is supposed to be autodetected, but if it's
+# missing, the build fails unless we explicitly disable. So:
+LV2_OPT="OFF"
+pkg-config --exists lv2 && LV2_OPT="ON"
+
# 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.
@@ -84,6 +90,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCONFIG_LV2=$LV2_OPT \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_INSTALL_PREFIX=/usr \