diff options
author | B. Watson <urchlay@slackware.uk> | 2024-09-25 18:12:58 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-28 06:54:28 +0700 |
commit | 942e329248e12111c3ef60a1ee48996bdd14e0b0 (patch) | |
tree | 4f7a2032d0ccd0e3d44f67a540d19d57f60fd75d /audio/drumkv1/drumkv1.SlackBuild | |
parent | fb6310f743ac46ffc78e04229815427af38f5448 (diff) |
audio/drumkv1: Updated for version 1.1.1.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/drumkv1/drumkv1.SlackBuild')
-rw-r--r-- | audio/drumkv1/drumkv1.SlackBuild | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/audio/drumkv1/drumkv1.SlackBuild b/audio/drumkv1/drumkv1.SlackBuild index 82ccbd91464c..94984eed7e17 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. +# 20240925 bkw: update for 1.1.1. # 20240815 bkw: update for 1.0.0 # 20230629 bkw: update for 0.9.31 # 20230108 bkw: update for 0.9.28 @@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=drumkv1 -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,6 +65,20 @@ fi set -e +# 20240925 bkw: If jack is missing, the build doesn't fail right away. +# Instead, it compiles for a while, then 'make install/strip' fails. +# Better to abort immediately in that case. +if ! pkg-config --exists jack; then + cat <<EOF + +***************************************************************** +* Missing required dependency jack. Install it, then try again. * +***************************************************************** + +EOF + exit 1 +fi + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -81,6 +96,10 @@ pkg-config --exists lv2 && LV2_OPT="ON" export PATH=/usr/lib$LIBDIRSUFFIX/qt5/bin:$PATH +# 20240925 bkw: Add -DCONFIG_QT6=0, to avoid it autodetecting and +# using qt6 if installed. Not interested in dealing with it, and the +# qt5 UI works fine. + mkdir -p build cd build cmake \ @@ -89,6 +108,7 @@ cd build -DCMAKE_INSTALL_MANDIR=/usr/man \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCONFIG_LV2=$LV2_OPT \ + -DCONFIG_QT6=0 \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 make install/strip DESTDIR=$PKG |