audio/qjackctl: Updated for version 0.3.11 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Marcel Saegebarth 2014-10-14 14:26:32 +07:00 committed by Willy Sudiarto Raharjo
parent 602b2b91c2
commit 8d1c21d301
5 changed files with 38 additions and 16 deletions

View File

@ -1 +1,14 @@
QjackCtl is a simple 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
capabilities, pass SETCAP=yes to the script.
Optional dependency: portaudio and jack2

View File

@ -4,6 +4,7 @@
#
# Copyright 2009, Erik W. Hanson, Minneapolis, MN, USA
# Copyright 2012, James M. Brewster, Baltimore, MD, USA
# Copyright 2014 Marcel Saegebarth <marc@mos6581.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qjackctl
VERSION=${VERSION:-0.3.9}
VERSION=${VERSION:-0.3.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -65,10 +66,10 @@ 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -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
@ -83,7 +84,6 @@ CFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux
make
@ -107,5 +107,13 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
# Only add capability stuff if not disabled:
if [ "${SETCAP:-no}" = "yes" ]; then
cat $CWD/setcap.sh >> $PKG/install/doinst.sh
# Only allow execution by audio group
chown root:audio $PKG/usr/bin/*
chmod 0750 $PKG/usr/bin/*
fi
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -1,10 +1,10 @@
PRGNAM="qjackctl"
VERSION="0.3.9"
VERSION="0.3.11"
HOMEPAGE="http://qjackctl.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/qjackctl/qjackctl-0.3.9.tar.gz"
MD5SUM="f932c916f43ba3251d3a9ed62a448e43"
DOWNLOAD="http://downloads.sourceforge.net/qjackctl/qjackctl-0.3.11.tar.gz"
MD5SUM="93eabb66334ffb770ab4e270621ab2a4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit"
MAINTAINER="Jim Brewster"
EMAIL="geminijim@gmail.com"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"

1
audio/qjackctl/setcap.sh Normal file
View File

@ -0,0 +1 @@
[ -x /sbin/setcap ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/qjackctl

View File

@ -6,7 +6,10 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
qjackctl: QjackCtl (a Qt application to control the JACK sound server)
qjackctl: QjackCtl (Qt application to control the JACK sound server)
qjackctl:
qjackctl: QjackCtl is a simple Qt application to control the JACK sound
qjackctl: server daemon, specific for the Linux Audio Desktop infrastructure.
qjackctl:
qjackctl: Provides a simple GUI dialog for setting several JACK daemon
qjackctl: parameters, which are properly saved between sessions, and a way
@ -14,6 +17,3 @@ qjackctl: control of the status of the audio server daemon. With time, this
qjackctl: primordial interface has become richer by including a enhanced
qjackctl: patchbay and connection control features.
qjackctl:
qjackctl:
qjackctl:
qjackctl: