audio/samplv1: Updated for version 1.1.1.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-09-25 20:00:27 -04:00 committed by Willy Sudiarto Raharjo
parent 7486cdeee7
commit 159bf3349c
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 24 additions and 4 deletions

View file

@ -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
@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=samplv1
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

View file

@ -1,8 +1,8 @@
PRGNAM="samplv1"
VERSION="1.0.0"
VERSION="1.1.1"
HOMEPAGE="https://samplv1.sourceforge.io/"
DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/1.0.0/samplv1-1.0.0.tar.gz"
MD5SUM="3eb19564b74d70e77df8e8eab97f6661"
DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/1.1.1/samplv1-1.1.1.tar.gz"
MD5SUM="58e3ad7e04151c75c0055ca03458b053"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"