aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-09 17:20:33 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:27 +0700
commit48763337051c92180d2c3d1a5b884fba15e9e11e (patch)
tree61f3e3044f207c6fb166150243cb5ddc783fcf77 /audio
parente88dd0ae3e94cc437d0c0bf9478421e5c31d1a84 (diff)
audio/padthv1: 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/padthv1/padthv1.SlackBuild32
-rw-r--r--audio/padthv1/padthv1.info6
2 files changed, 19 insertions, 19 deletions
diff --git a/audio/padthv1/padthv1.SlackBuild b/audio/padthv1/padthv1.SlackBuild
index c15cbbdc7bb2..60e46075f9f8 100644
--- a/audio/padthv1/padthv1.SlackBuild
+++ b/audio/padthv1/padthv1.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
@@ -13,7 +14,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=padthv1
-VERSION=${VERSION:-0.9.23}
+VERSION=${VERSION:-0.9.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,20 +64,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/*
# 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.
@@ -97,7 +97,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/padthv1/padthv1.info b/audio/padthv1/padthv1.info
index 4563625dfe07..812730ef69a3 100644
--- a/audio/padthv1/padthv1.info
+++ b/audio/padthv1/padthv1.info
@@ -1,8 +1,8 @@
PRGNAM="padthv1"
-VERSION="0.9.23"
+VERSION="0.9.28"
HOMEPAGE="https://padthv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/padthv1/padthv1/0.9.23/padthv1-0.9.23.tar.gz"
-MD5SUM="70ad8f96fd891220db4d7bde1f201c58"
+DOWNLOAD="https://downloads.sourceforge.net/project/padthv1/padthv1/0.9.28/padthv1-0.9.28.tar.gz"
+MD5SUM="57995ac9eb5bf2c55742445b20347e59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"