aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-09-25 19:51:15 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-28 06:54:29 +0700
commit742cef494180830c41123833e43d03e8b2e1b388 (patch)
treed2b658de6e527a819318b4ffb5aa369e45cefeae /audio
parent942e329248e12111c3ef60a1ee48996bdd14e0b0 (diff)
audio/padthv1: 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')
-rw-r--r--audio/padthv1/padthv1.SlackBuild22
-rw-r--r--audio/padthv1/padthv1.info6
2 files changed, 24 insertions, 4 deletions
diff --git a/audio/padthv1/padthv1.SlackBuild b/audio/padthv1/padthv1.SlackBuild
index cd006a70187f..2b816f08b0fb 100644
--- a/audio/padthv1/padthv1.SlackBuild
+++ b/audio/padthv1/padthv1.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
# 20230109 bkw: update for 0.9.28
@@ -16,7 +17,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=padthv1
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -54,6 +55,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
@@ -71,6 +86,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 \
@@ -79,6 +98,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
diff --git a/audio/padthv1/padthv1.info b/audio/padthv1/padthv1.info
index 6d0c109201c6..6d14f1485e89 100644
--- a/audio/padthv1/padthv1.info
+++ b/audio/padthv1/padthv1.info
@@ -1,8 +1,8 @@
PRGNAM="padthv1"
-VERSION="1.0.0"
+VERSION="1.1.1"
HOMEPAGE="https://padthv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/padthv1/padthv1/1.0.0/padthv1-1.0.0.tar.gz"
-MD5SUM="f5fb27c0e776476c76abb03abfa12775"
+DOWNLOAD="https://downloads.sourceforge.net/project/padthv1/padthv1/1.1.1/padthv1-1.1.1.tar.gz"
+MD5SUM="6e4ae0518802886e3b5cafe9fd8c7797"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"