mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
audio/jack-audio-connection-kit: Updated for version 0.116.2
This commit is contained in:
parent
a6dae2a080
commit
f9af97f54a
3 changed files with 23 additions and 10 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
APPROVED="dsomero"
|
Loading…
Reference in a new issue