aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/drumkv1/drumkv1.SlackBuild9
-rw-r--r--audio/drumkv1/drumkv1.info6
2 files changed, 11 insertions, 4 deletions
diff --git a/audio/drumkv1/drumkv1.SlackBuild b/audio/drumkv1/drumkv1.SlackBuild
index 1896d87a6825..82ccbd91464c 100644
--- a/audio/drumkv1/drumkv1.SlackBuild
+++ b/audio/drumkv1/drumkv1.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
# 20230108 bkw: update for 0.9.28
# 20211205 bkw: update for 0.9.23
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=drumkv1
-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/drumkv1/drumkv1.info b/audio/drumkv1/drumkv1.info
index 71e37f3ced38..03cf46d85425 100644
--- a/audio/drumkv1/drumkv1.info
+++ b/audio/drumkv1/drumkv1.info
@@ -1,8 +1,8 @@
PRGNAM="drumkv1"
-VERSION="0.9.31"
+VERSION="1.0.0"
HOMEPAGE="https://drumkv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/drumkv1/drumkv1/0.9.31/drumkv1-0.9.31.tar.gz"
-MD5SUM="7be554faa231d3c84ce224e0e0883c52"
+DOWNLOAD="https://downloads.sourceforge.net/project/drumkv1/drumkv1/1.0.0/drumkv1-1.0.0.tar.gz"
+MD5SUM="b3601f9f3ada0fb6896b7823063b4407"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"