|
|
|
@ -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 |
|
|
|
|