aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-08-15 16:57:41 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-17 18:14:29 +0700
commit43ef6f3fa2169eac8c8a7ac4563c62c191d98b7e (patch)
tree85618353cf45462033d07743476769c3f00acce6
parentffa9e1f88bf89c528452c1f040b15c300c67cf53 (diff)
audio/samplv1: Updated for version 1.0.0.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/samplv1/samplv1.SlackBuild9
-rw-r--r--audio/samplv1/samplv1.info6
2 files changed, 11 insertions, 4 deletions
diff --git a/audio/samplv1/samplv1.SlackBuild b/audio/samplv1/samplv1.SlackBuild
index cf7ccb6896ca..932485ea72cd 100644
--- a/audio/samplv1/samplv1.SlackBuild
+++ b/audio/samplv1/samplv1.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 0.9.31
# 20230109 bkw: update for 0.9.28
# 20211205 bkw: update for 0.9.23
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=samplv1
-VERSION=${VERSION:-0.9.31}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,6 +74,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"
+
export PATH=/usr/lib$LIBDIRSUFFIX/qt5/bin:$PATH
mkdir -p build
@@ -82,6 +88,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCONFIG_LV2=$LV2_OPT \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install/strip DESTDIR=$PKG
diff --git a/audio/samplv1/samplv1.info b/audio/samplv1/samplv1.info
index 1ab99db59b26..50f29c68765e 100644
--- a/audio/samplv1/samplv1.info
+++ b/audio/samplv1/samplv1.info
@@ -1,8 +1,8 @@
PRGNAM="samplv1"
-VERSION="0.9.31"
+VERSION="1.0.0"
HOMEPAGE="https://samplv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/0.9.31/samplv1-0.9.31.tar.gz"
-MD5SUM="2df4770029ebdafe734555591812d563"
+DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/1.0.0/samplv1-1.0.0.tar.gz"
+MD5SUM="3eb19564b74d70e77df8e8eab97f6661"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"