From 51d37198a01b1ec0ea16b7ac76a75e4b59fb45d2 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Thu, 8 Apr 2010 20:43:31 -0400 Subject: audio/jack-audio-connection-kit: Updated for version 0.118.0. --- audio/jack-audio-connection-kit/README | 36 +++++++++------------- .../jack-audio-connection-kit.SlackBuild | 17 ++-------- .../jack-audio-connection-kit.info | 10 +++--- 3 files changed, 23 insertions(+), 40 deletions(-) (limited to 'audio/jack-audio-connection-kit') diff --git a/audio/jack-audio-connection-kit/README b/audio/jack-audio-connection-kit/README index cfe51aab62..d8f932733e 100644 --- a/audio/jack-audio-connection-kit/README +++ b/audio/jack-audio-connection-kit/README @@ -1,26 +1,20 @@ JACK is a low-latency audio server, written primarily for Linux. It can -connect a number of different applications to an audio device, as well -as allow them to share audio among themselves. Its clients can run in -their own processes (ie. as a normal application) or they can run within -a JACK server instance (i.e. as a "plugin"). +connect a number of different applications to an audio device, as well as +allow them to share audio among themselves. Its clients can run in their +own processes (ie. as a normal application) or they can run within a JACK +server instance (i.e. as a "plugin"). -Jack uses /dev/shm as a temporary directory for its processes; this is a -relatively new change, as it used to use /mnt/ramfs. You may pass an -alternate location as JACKTMP when executing the script. For example: - JACKTMP=/mnt/tmp jack-audio-connection-kit.SlackBuild -Assuming you use the default /dev/shm as temporary directory, be sure you -have an appropriate line in /etc/fstab to mount it: - tmpfs /dev/shm tmpfs defaults 0 0 -If you don't accept the script's default, you'll need to have the appropriate -mountpoint set up in fstab and mounted, but a discussion of how to do that -is outside the scope of this document. - -jackd has to run with realtime priviledges. One way to do this on Slackware would -be to use set_rlimits. Since 12.2 there's another way, though experimental. If -you have a filesystem that supports posix capabilities (reiserfs does not), you -can grant jackd the rights to run in realtime mode, even when started as normal user -with the following command: +jackd has to run with realtime priviledges. One way to do this on Slackware +would be to use set_rlimits. Since 12.2 there's another way. If you have +a filesystem that supports posix capabilities (reiserfs does not), you +can grant jackd the rights to run in realtime mode, even when started as +normal user with the following command: setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/jackd -jack optionally uses libsndfile which is also available at SlackBuilds.org. +If you use qjackctl to start jack, it will need the same capabilities set +to be able to start jack as non-root user. You can use the same command +just with 'qjackctl' instead of 'jackd' + +jack optionally uses libsndfile, libffado and celt, which are all available +at SlackBuilds.org. diff --git a/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild b/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild index 1551911786..60c7d63b8c 100644 --- a/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild +++ b/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for jack-audio-connection-kit -# Copyright 2007-2009 Heinz Wiesinger +# Copyright 2007-2010 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ # No additional license terms added :) PRGNAM=jack-audio-connection-kit -VERSION=0.116.2 +VERSION=0.118.0 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,17 +62,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Jack needs a temp directory using tmpfs as filesystem. -# By default there is not one available on a base Slackware system. -# Since 0.109.0 /dev/shm is the recommended default location, but -# you can configure it to use some other location if you wish. -JACKTMP=${JACKTMP:-/dev/shm} - -if [ "$JACKTMP" != '/dev/shm' ]; then - mkdir -p $PKG/$JACKTMP - install -d -m 1777 $PKG/$JACKTMP -fi - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -83,7 +72,7 @@ CXXFLAGS="$SLKCFLAGS" \ --with-html-dir=/usr/doc/$PRGNAM-$VERSION \ --mandir=/usr/man \ --enable-optimize \ - --with-default-tmpdir=$JACKTMP \ + --with-default-tmpdir=/dev/shm \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux diff --git a/audio/jack-audio-connection-kit/jack-audio-connection-kit.info b/audio/jack-audio-connection-kit/jack-audio-connection-kit.info index b43ccdb885..ebc2f65983 100644 --- a/audio/jack-audio-connection-kit/jack-audio-connection-kit.info +++ b/audio/jack-audio-connection-kit/jack-audio-connection-kit.info @@ -1,10 +1,10 @@ PRGNAM="jack-audio-connection-kit" -VERSION="0.116.2" +VERSION="0.118.0" HOMEPAGE="http://jackaudio.org" -DOWNLOAD="http://jackaudio.org/downloads/jack-audio-connection-kit-0.116.2.tar.gz" +DOWNLOAD="http://jackaudio.org/downloads/jack-audio-connection-kit-0.118.0.tar.gz" +MD5SUM="d58e29a55f285d54e75134cec8e02a10" DOWNLOAD_x86_64="" -MD5SUM="9c0ae9880e9b6e081f1a238fe6a28bd5" MD5SUM_x86_64="" -MAINTAINER="pprkut" +MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@liwjatan.at" -APPROVED="dsomero" \ No newline at end of file +APPROVED="dsomero" -- cgit v1.2.3