summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-02-05 11:59:54 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-08 15:03:26 +0700
commit8d990d7c60c0a2a74923a42803ec723ae580b6f9 (patch)
treeafd45f06be78f1a05b6701369df87be2e0478f02 /audio
parent3bdd47985e67657773b954744fe717c0f063f25e (diff)
downloadslackbuilds-8d990d7c60c0a2a74923a42803ec723ae580b6f9.tar.gz
audio/qjackctl: Updated for version 0.6.1, new maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/qjackctl/README13
-rw-r--r--audio/qjackctl/qjackctl.SlackBuild40
-rw-r--r--audio/qjackctl/qjackctl.info10
3 files changed, 33 insertions, 30 deletions
diff --git a/audio/qjackctl/README b/audio/qjackctl/README
index 92f0a21e03..3537875504 100644
--- a/audio/qjackctl/README
+++ b/audio/qjackctl/README
@@ -1,14 +1,15 @@
+qjackctl (Qt application to control the JACK sound server)
+
Provides a simple GUI dialog for setting several JACK daemon
parameters, which are properly saved between sessions, and a way
control of the status of the audio server daemon. With time, this
primordial interface has become richer by including a enhanced
patchbay and connection control features.
-Note:
-This package optionally uses POSIX filesystem capabilities to execute with
-elevated privileges (required for realtime audio processing). This
-may be considered a security/stability risk. Please read
-http://www.slackbuilds.org/caps/ for more information. To enable
+Note: This package optionally uses POSIX filesystem capabilities
+to execute with elevated privileges (required for realtime audio
+processing). This may be considered a security/stability risk. Please
+read http://www.slackbuilds.org/caps/ for more information. To enable
capabilities, pass SETCAP=yes to the script.
-Optional dependency: portaudio and jack2
+Optional dependency: portaudio
diff --git a/audio/qjackctl/qjackctl.SlackBuild b/audio/qjackctl/qjackctl.SlackBuild
index 16a3ccedbd..7ffd2edb27 100644
--- a/audio/qjackctl/qjackctl.SlackBuild
+++ b/audio/qjackctl/qjackctl.SlackBuild
@@ -4,7 +4,8 @@
# Copyright 2009, Erik W. Hanson, Minneapolis, MN, USA
# Copyright 2012, James M. Brewster, Baltimore, MD, USA
-# Copyright 2014-2016 Marcel Saegebarth <marc@mos6581.de>
+# Copyright 2014-2016 Marcel Saegebarth <email removed>
+# Copyright 2020 B. Watson
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +25,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20200204 bkw:
+# - take over maintenance
+# - update for v0.6.1
+# - fix French man page
+
PRGNAM=qjackctl
-VERSION=${VERSION:-0.4.5}
+VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,16 +71,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Tell qmake about our SLKCFLAGS. Required to compile on x86_64
-# system. Thanks to Lyle Sigurdson <lyle@sent.com> on
-# linuxquestions.org for this patch.
-echo "QMAKE_CXXFLAGS_RELEASE=$SLKCFLAGS" >> qjackctl.pro.in
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -88,18 +86,22 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+strip $PKG/usr/bin/$PRGNAM
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 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
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# 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
-# Make sure we have a standard-compliant desktop file
-cat $CWD/qjackctl.desktop > $PKG/usr/share/applications/qjackctl.desktop
+# 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL README TODO TRANSLATORS \
+cp -a AUTHORS COPYING ChangeLog README TODO TRANSLATORS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/audio/qjackctl/qjackctl.info b/audio/qjackctl/qjackctl.info
index 93e5d6d531..ca3857d324 100644
--- a/audio/qjackctl/qjackctl.info
+++ b/audio/qjackctl/qjackctl.info
@@ -1,10 +1,10 @@
PRGNAM="qjackctl"
-VERSION="0.4.5"
+VERSION="0.6.1"
HOMEPAGE="http://qjackctl.sourceforge.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/qjackctl-0.4.5.tar.gz"
-MD5SUM="2f8697891942403d7782e173704110c9"
+DOWNLOAD="https://sourceforge.net/projects/qjackctl/files/qjackctl/0.6.1/qjackctl-0.6.1.tar.gz"
+MD5SUM="738984a015119e5853beccca1cbf5124"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5 jack"
-MAINTAINER="Marcel Saegebarth"
-EMAIL="marc@mos6581.de"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"