diff options
Diffstat (limited to 'audio/jack-audio-connection-kit')
3 files changed, 23 insertions, 10 deletions
diff --git a/audio/jack-audio-connection-kit/README b/audio/jack-audio-connection-kit/README index 98f744922127e..ad26ef868f1a3 100644 --- a/audio/jack-audio-connection-kit/README +++ b/audio/jack-audio-connection-kit/README @@ -15,4 +15,12 @@ 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: + + setcap cap_sys_nice=ep /usr/bin/jackd + jack optionally uses libsndfile which is also 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 d55ebf4b3aac0..e424eb9c338ab 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-2008 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,9 +26,9 @@ # No additional license terms added :) PRGNAM=jack-audio-connection-kit -VERSION=0.109.2 +VERSION=0.116.2 ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -38,10 +38,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -74,20 +77,22 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --with-html-dir=/usr/doc/$PRGNAM-$VERSION \ --mandir=/usr/man \ - --enable-resize \ - --enable-timestamps \ + --enable-optimize \ --with-default-tmpdir=$JACKTMP \ - --enable-stripped-jackd \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done 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 2c4965cc1d9c6..774d493c2af10 100644 --- a/audio/jack-audio-connection-kit/jack-audio-connection-kit.info +++ b/audio/jack-audio-connection-kit/jack-audio-connection-kit.info @@ -1,8 +1,8 @@ PRGNAM="jack-audio-connection-kit" -VERSION="0.109.2" +VERSION="0.116.2" HOMEPAGE="http://jackaudio.org" -DOWNLOAD="http://jackaudio.org/downloads/jack-audio-connection-kit-0.109.2.tar.gz" -MD5SUM="4d8f795a6c566b9753a86038367e7e32" +DOWNLOAD="http://jackaudio.org/downloads/jack-audio-connection-kit-0.116.2.tar.gz" +MD5SUM="9c0ae9880e9b6e081f1a238fe6a28bd5" MAINTAINER="ppr:kut" EMAIL="pprkut@liwjatan.at" -APPROVED="David Somero"
\ No newline at end of file +APPROVED="dsomero"
\ No newline at end of file |