diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-10 12:25:06 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-11 10:51:51 -0600 |
commit | 970a3bf043c2cbad64b5760a96d740bc1bdece65 (patch) | |
tree | f3b012d22ac0734957e4a13927fead7c279737e0 /audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild | |
parent | 290ca5a691eb381d31733be1c576ad44abdbfafa (diff) | |
download | slackbuilds-970a3bf043c2cbad64b5760a96d740bc1bdece65.tar.gz |
audio/jack-audio-connection-kit: Fix building with new libffado.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild')
-rw-r--r-- | audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
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 d02e4f07d7..e3101d38cf 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-2012 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2007-2013 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ PRGNAM=jack-audio-connection-kit VERSION=0.121.3 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -72,6 +72,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix for latest version of libffado. +# from https://github.com/jackaudio/jack1/commit/025d3ad +patch -p1 -i $CWD/ffado_setbuffsize-jack1.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -89,6 +93,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +# Install missing header +install -m 644 jack/jslist.h $PKG/usr/include/jack/ + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |