aboutsummaryrefslogtreecommitdiff
path: root/audio/synthv1
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-09 17:13:48 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:27 +0700
commite88dd0ae3e94cc437d0c0bf9478421e5c31d1a84 (patch)
treecf72c6a39671266e394b02927d61fedffae00714 /audio/synthv1
parent38e76120907997efcf9a7b57e57cf98a5d103c26 (diff)
audio/synthv1: Updated for version 0.9.28.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/synthv1')
-rw-r--r--audio/synthv1/synthv1.SlackBuild32
-rw-r--r--audio/synthv1/synthv1.info6
2 files changed, 19 insertions, 19 deletions
diff --git a/audio/synthv1/synthv1.SlackBuild b/audio/synthv1/synthv1.SlackBuild
index a85e085393a1..7651cd8a5914 100644
--- a/audio/synthv1/synthv1.SlackBuild
+++ b/audio/synthv1/synthv1.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230109 bkw: update for v0.9.28
# 20211205 bkw: update for v0.9.23
# 20201106 bkw: update for v0.9.18
# 20200114 bkw: update for v0.9.12
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=synthv1
-VERSION=${VERSION:-0.9.23}
+VERSION=${VERSION:-0.9.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,20 +79,19 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
# qt5's bin/ before /usr/bin in $PATH will do.
export PATH=/usr/lib$LIBDIRSUFFIX/qt5/bin:$PATH
-LDFLAGS="-Wl,-s" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd ..
+
+gzip -9 $PKG/usr/man/man1/* $PKG/usr/man/fr/man1/*
# I dunno what this is actually for, but as of 0.8.5 it got moved. Move
# it back to where it belongs, for Slack 14.2.
@@ -142,7 +142,7 @@ for i in man1 fr/man1 fr.UTF-8/man1; do
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
LIBLO=no
diff --git a/audio/synthv1/synthv1.info b/audio/synthv1/synthv1.info
index 02afa620a077..fc92cd2b45e7 100644
--- a/audio/synthv1/synthv1.info
+++ b/audio/synthv1/synthv1.info
@@ -1,8 +1,8 @@
PRGNAM="synthv1"
-VERSION="0.9.23"
+VERSION="0.9.28"
HOMEPAGE="https://synthv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/synthv1/synthv1/0.9.23/synthv1-0.9.23.tar.gz"
-MD5SUM="c7ae3e0a19fe9a0ebc0837cafd283a93"
+DOWNLOAD="https://downloads.sourceforge.net/project/synthv1/synthv1/0.9.28/synthv1-0.9.28.tar.gz"
+MD5SUM="934011dcbf2016f7b003d03485827938"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"