diff options
author | B. Watson <yalhcru@gmail.com> | 2021-11-26 16:29:27 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-04 10:09:01 +0700 |
commit | 4a5b6028d4abc2ffaa826e032667ac2588d75b78 (patch) | |
tree | 23270ceb5b3e3b9707caeb66f0293ecad77a48c4 /audio/qjackctl | |
parent | 73d1ee882a7f87b5ee32545cc8394ac4279636c1 (diff) | |
download | slackbuilds-4a5b6028d4abc2ffaa826e032667ac2588d75b78.tar.gz |
audio/qjackctl: Updated for version 0.9.5.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/qjackctl')
-rw-r--r-- | audio/qjackctl/qjackctl.SlackBuild | 63 | ||||
-rw-r--r-- | 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 1b780f3090..c971e9d76f 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|\<qmake,|qmake-qt5,|' configure.ac -autoreconf -if - -CFLAGS="$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 -strip $PKG/usr/bin/$PRGNAM - -# man pages already compressed, but the French one needs a little help -# to respect LANG=fr_FR or LANG=fr_FR.UTF-8 in the env. -mkdir -p $PKG/usr/man/fr.UTF-8/man1 $PKG/usr/man/fr/man1 - -# This works only for man-db (which becomes the stock man command in 15.0). -ln -s ../../man1/$PRGNAM.fr.1.gz $PKG/usr/man/fr.UTF-8/man1/$PRGNAM.1.gz - -# This works for 14.2's man command, which doesn't grok the fullness of utf-8. -iconv -f UTF-8 -t ISO-8859-1 $PRGNAM.fr.1 | \ - gzip -9c > \ - $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 3f827073a4..3997520090 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" |