aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-09 17:01:11 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:27 +0700
commit38e76120907997efcf9a7b57e57cf98a5d103c26 (patch)
treea9a73ebb9a141231a806413a754c3807541b9c83 /audio
parentb4136dbdbd4d75da657c61fa1bcf017dcaa39a9d (diff)
audio/samplv1: 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')
-rw-r--r--audio/samplv1/samplv1.SlackBuild32
-rw-r--r--audio/samplv1/samplv1.info6
2 files changed, 19 insertions, 19 deletions
diff --git a/audio/samplv1/samplv1.SlackBuild b/audio/samplv1/samplv1.SlackBuild
index 056fa4cefeb7c..9220a1cc34bc2 100644
--- a/audio/samplv1/samplv1.SlackBuild
+++ b/audio/samplv1/samplv1.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230109 bkw: update for 0.9.28
# 20211205 bkw: update for 0.9.23
# 20201106 bkw: update for 0.9.18
# 20200114 bkw: update for 0.9.12
@@ -23,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=samplv1
-VERSION=${VERSION:-0.9.23}
+VERSION=${VERSION:-0.9.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,20 +74,19 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
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/*
# 20180702 bkw: See comments in synthv1.SlackBuild to understand this.
@@ -109,7 +109,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/samplv1/samplv1.info b/audio/samplv1/samplv1.info
index dece805d9082e..119a0efed5f60 100644
--- a/audio/samplv1/samplv1.info
+++ b/audio/samplv1/samplv1.info
@@ -1,8 +1,8 @@
PRGNAM="samplv1"
-VERSION="0.9.23"
+VERSION="0.9.28"
HOMEPAGE="https://samplv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/0.9.23/samplv1-0.9.23.tar.gz"
-MD5SUM="67ecd501df672aabec99b8f114de3bf2"
+DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/0.9.28/samplv1-0.9.28.tar.gz"
+MD5SUM="6ebf836feb5ac17fe041f152a11f8acd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"