summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/qjackctl/README15
-rw-r--r--audio/qjackctl/qjackctl.SlackBuild20
-rw-r--r--audio/qjackctl/qjackctl.info10
-rw-r--r--audio/qjackctl/setcap.sh1
-rw-r--r--audio/qjackctl/slack-desc8
5 files changed, 38 insertions, 16 deletions
diff --git a/audio/qjackctl/README b/audio/qjackctl/README
index 6a9f27d9de..92f0a21e03 100644
--- a/audio/qjackctl/README
+++ b/audio/qjackctl/README
@@ -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
diff --git a/audio/qjackctl/qjackctl.SlackBuild b/audio/qjackctl/qjackctl.SlackBuild
index 89f1499c4a..3e08cc06ee 100644
--- a/audio/qjackctl/qjackctl.SlackBuild
+++ b/audio/qjackctl/qjackctl.SlackBuild
@@ -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}
diff --git a/audio/qjackctl/qjackctl.info b/audio/qjackctl/qjackctl.info
index 7f5a8379b7..da61dc1944 100644
--- a/audio/qjackctl/qjackctl.info
+++ b/audio/qjackctl/qjackctl.info
@@ -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"
diff --git a/audio/qjackctl/setcap.sh b/audio/qjackctl/setcap.sh
new file mode 100644
index 0000000000..18d05e1056
--- /dev/null
+++ b/audio/qjackctl/setcap.sh
@@ -0,0 +1 @@
+[ -x /sbin/setcap ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/qjackctl
diff --git a/audio/qjackctl/slack-desc b/audio/qjackctl/slack-desc
index 272ad33f3b..28be0cde28 100644
--- a/audio/qjackctl/slack-desc
+++ b/audio/qjackctl/slack-desc
@@ -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: