From 4a5b6028d4abc2ffaa826e032667ac2588d75b78 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 26 Nov 2021 16:29:27 -0500 Subject: audio/qjackctl: Updated for version 0.9.5. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- audio/qjackctl/qjackctl.SlackBuild | 63 ++++++++++++++++---------------------- audio/qjackctl/qjackctl.info | 6 ++-- 2 files changed, 29 insertions(+), 40 deletions(-) diff --git a/audio/qjackctl/qjackctl.SlackBuild b/audio/qjackctl/qjackctl.SlackBuild index 1b780f309034..c971e9d76f08 100644 --- a/audio/qjackctl/qjackctl.SlackBuild +++ b/audio/qjackctl/qjackctl.SlackBuild @@ -25,6 +25,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20211126 bkw: +# - update for v0.9.5. +# - use cmake (got reports that autotools builds don't run correctly). +# - get rid of 14.2 french man page support. +# - actually use SLKCFLAGS. +# - old-style icon (symlink really). + # 20210306 bkw: update for v0.9.1. # 20201218 bkw: update for v0.9.0. @@ -36,7 +43,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qjackctl -VERSION=${VERSION:-0.9.1} +VERSION=${VERSION:-0.9.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,9 +56,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -61,18 +65,15 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +# cmake's gotten smart enough to deduce lib/lib64, so no need for LIBDIRSUFFIX. if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -eu @@ -87,35 +88,23 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -# 20201218 bkw: it's tripping over qt4's qmake, so force the issue: -sed -i 's|\ \ - $PKG/usr/man/fr/man1/$PRGNAM.1.gz +SLKCFLAGS+=" -DNDEBUG" +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make VERBOSE=1 + make install/strip DESTDIR=$PKG +cd .. + +gzip $PKG/usr/man/*/man1/* $PKG/usr/man/man1/* + +mkdir -p $PKG/usr/share/pixmaps +ln -s ../icons/hicolor/32x32/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog README TODO TRANSLATORS \ diff --git a/audio/qjackctl/qjackctl.info b/audio/qjackctl/qjackctl.info index 3f827073a404..3997520090a2 100644 --- a/audio/qjackctl/qjackctl.info +++ b/audio/qjackctl/qjackctl.info @@ -1,8 +1,8 @@ PRGNAM="qjackctl" -VERSION="0.9.1" +VERSION="0.9.5" HOMEPAGE="http://qjackctl.sourceforge.net/" -DOWNLOAD="https://downloads.sourceforge.net/project/qjackctl/qjackctl/0.9.1/qjackctl-0.9.1.tar.gz" -MD5SUM="7fe793055a6cb3e7770c4054417036a2" +DOWNLOAD="https://downloads.sourceforge.net/project/qjackctl/qjackctl/0.9.5/qjackctl-0.9.5.tar.gz" +MD5SUM="0ebeca248649b7eebc4b396bf12388f3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jack" -- cgit v1.2.3