aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-08 02:06:23 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:23 +0700
commit9a9c77987d549a8c4d1bf6401d9fccb043c89169 (patch)
tree7e19775f9311930528f98314638b63d8ce4760f6 /audio
parent614c07c00aba263e3fe384de205039fd0949aa15 (diff)
audio/drumkv1: 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/drumkv1/drumkv1.SlackBuild34
-rw-r--r--audio/drumkv1/drumkv1.info6
2 files changed, 21 insertions, 19 deletions
diff --git a/audio/drumkv1/drumkv1.SlackBuild b/audio/drumkv1/drumkv1.SlackBuild
index 6070bef5ae24d..eb35fae379138 100644
--- a/audio/drumkv1/drumkv1.SlackBuild
+++ b/audio/drumkv1/drumkv1.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230108 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=drumkv1
-VERSION=${VERSION:-0.9.23}
+VERSION=${VERSION:-0.9.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,23 +74,24 @@ 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.
+# 20230108 bkw: TODO: find out which is the right place. Various SBo
+# packages put .xml files in one or the other dir.
[ -d $PKG/usr/share/metainfo ] && \
mv $PKG/usr/share/metainfo $PKG/usr/share/appdata
@@ -108,7 +110,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/drumkv1/drumkv1.info b/audio/drumkv1/drumkv1.info
index e5e2c39ec0fe7..49e467bcf54ce 100644
--- a/audio/drumkv1/drumkv1.info
+++ b/audio/drumkv1/drumkv1.info
@@ -1,8 +1,8 @@
PRGNAM="drumkv1"
-VERSION="0.9.23"
+VERSION="0.9.28"
HOMEPAGE="https://drumkv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/drumkv1/drumkv1/0.9.23/drumkv1-0.9.23.tar.gz"
-MD5SUM="dea29173b31d0acb4eef2e403bacc190"
+DOWNLOAD="https://downloads.sourceforge.net/project/drumkv1/drumkv1/0.9.28/drumkv1-0.9.28.tar.gz"
+MD5SUM="ec5176c2cbdee5280f0629f95f9883b4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack"