|
|
@ -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 v0.9.31 |
|
|
|
# 20230109 bkw: update for v0.9.28 |
|
|
|
# 20211205 bkw: update for v0.9.23 |
|
|
@ -27,7 +28,7 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=synthv1 |
|
|
|
VERSION=${VERSION:-0.9.31} |
|
|
|
VERSION=${VERSION:-1.0.0} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
@ -75,6 +76,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" |
|
|
|
|
|
|
|
# This thing can't be told to use qmake-qt5, and keeps choking on |
|
|
|
# /usr/bin/qmake. The --with-qt option doesn't help, only putting |
|
|
|
# qt5's bin/ before /usr/bin in $PATH will do. |
|
|
@ -84,6 +90,7 @@ mkdir -p build |
|
|
|
cd build |
|
|
|
cmake \ |
|
|
|
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ |
|
|
|
-DCONFIG_LV2=$LV2_OPT \ |
|
|
|
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ |
|
|
|
-DCMAKE_INSTALL_MANDIR=/usr/man \ |
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \ |
|
|
|