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>
This commit is contained in:
B. Watson 2023-01-08 02:06:23 -05:00 committed by Willy Sudiarto Raharjo
parent 614c07c00a
commit 9a9c77987d
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 20 additions and 18 deletions

View File

@ -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
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 ..
make
make install DESTDIR=$PKG
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

View File

@ -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"