summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 20:30:48 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 20:30:48 +0200
commitc4ed940db058a6f8b650bca80e38b78753a8396a (patch)
tree60348b4424ab9b002297271c4f2d0ccd5e2eec8d
parent5c83c08c474c277288615d9277ad8f6bf15f585d (diff)
downloadslackbuilds-c4ed940db058a6f8b650bca80e38b78753a8396a.tar.gz
audio/jack-audio-connection-kit: Moved from multimedia
-rw-r--r--audio/jack-audio-connection-kit/README (renamed from multimedia/jack-audio-connection-kit/README)15
-rw-r--r--audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild (renamed from multimedia/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild)19
-rw-r--r--audio/jack-audio-connection-kit/jack-audio-connection-kit.info (renamed from multimedia/jack-audio-connection-kit/jack-audio-connection-kit.info)4
-rw-r--r--audio/jack-audio-connection-kit/slack-desc (renamed from multimedia/jack-audio-connection-kit/slack-desc)0
4 files changed, 22 insertions, 16 deletions
diff --git a/multimedia/jack-audio-connection-kit/README b/audio/jack-audio-connection-kit/README
index 69ce009abb..98f7449221 100644
--- a/multimedia/jack-audio-connection-kit/README
+++ b/audio/jack-audio-connection-kit/README
@@ -1,19 +1,18 @@
-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
+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").
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
+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
+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.
-This requires libcap and can optionally use libsndfile; both of these are
-available at SlackBuilds.org.
+jack optionally uses libsndfile which is also available at SlackBuilds.org.
diff --git a/multimedia/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild b/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild
index ef3858a476..d55ebf4b3a 100644
--- a/multimedia/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 <hmwiesinger@gmx.at>
+# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by Robby Workman <rworkman@slackbuilds.org>
+# Modified by Robby Workman <rworkman@slackbuilds.org>
# No additional license terms added :)
PRGNAM=jack-audio-connection-kit
VERSION=0.109.2
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -40,6 +40,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -51,7 +53,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \;
# Jack needs a temp directory using tmpfs as filesystem.
# By default there is not one available on a base Slackware system.
@@ -75,8 +81,9 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-resize \
--enable-timestamps \
--with-default-tmpdir=$JACKTMP \
- --enable-capabilities \
- --enable-stripped-jackd
+ --enable-stripped-jackd \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
diff --git a/multimedia/jack-audio-connection-kit/jack-audio-connection-kit.info b/audio/jack-audio-connection-kit/jack-audio-connection-kit.info
index 6939530edd..2c4965cc1d 100644
--- a/multimedia/jack-audio-connection-kit/jack-audio-connection-kit.info
+++ b/audio/jack-audio-connection-kit/jack-audio-connection-kit.info
@@ -4,5 +4,5 @@ HOMEPAGE="http://jackaudio.org"
DOWNLOAD="http://jackaudio.org/downloads/jack-audio-connection-kit-0.109.2.tar.gz"
MD5SUM="4d8f795a6c566b9753a86038367e7e32"
MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
-APPROVED="Michiel"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="David Somero" \ No newline at end of file
diff --git a/multimedia/jack-audio-connection-kit/slack-desc b/audio/jack-audio-connection-kit/slack-desc
index 45bfa4a5b0..45bfa4a5b0 100644
--- a/multimedia/jack-audio-connection-kit/slack-desc
+++ b/audio/jack-audio-connection-kit/slack-desc