mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
audio/jack-audio-connection-kit: Updated for version 0.118.0.
This commit is contained in:
parent
9ed16e0b2c
commit
51d37198a0
3 changed files with 23 additions and 40 deletions
|
@ -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.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for jack-audio-connection-kit
|
||||
|
||||
# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
|
||||
# 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
|
||||
|
||||
|
|
|
@ -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"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in a new issue