Browse Source

ap/jack: Upgraded to jack-1.9.6.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
767b60bbb7
  1. 1
      ap/jack/jack-1.9.5.tar.bz2.sha1
  2. 12
      ap/jack/jack-1.9.6-celt-0.8.patch
  3. 1
      ap/jack/jack-1.9.6.tar.bz2.sha1
  4. 22
      ap/jack/jack.SlackBuild

1
ap/jack/jack-1.9.5.tar.bz2.sha1

@ -1 +0,0 @@
d8f7ade5a9e858367d26b4e074c8e00a596ef1d4 jack-1.9.5.tar.bz2

12
ap/jack/jack-1.9.5-celt-0.8.patch → ap/jack/jack-1.9.6-celt-0.8.patch

@ -1,7 +1,7 @@
diff -Naur jack-1.9.5.orig/wscript jack-1.9.5/wscript
--- jack-1.9.5.orig/wscript 2010-02-12 11:58:08.000000000 +0100
+++ jack-1.9.5/wscript 2010-08-28 00:15:42.185685300 +0200
@@ -116,18 +116,27 @@
diff -Naur jack-1.9.6.orig/wscript jack-1.9.6/wscript
--- jack-1.9.6.orig/wscript 2010-08-30 12:23:41.000000000 +0200
+++ jack-1.9.6/wscript 2010-09-04 15:52:27.213561754 +0200
@@ -129,18 +129,27 @@
conf.fatal('jackdbus was explicitly requested but cannot be built')
conf.sub_config('example-clients')
@ -30,7 +30,7 @@ diff -Naur jack-1.9.5.orig/wscript jack-1.9.5/wscript
conf.env['LIB_PTHREAD'] = ['pthread']
conf.env['LIB_DL'] = ['dl']
@@ -228,6 +237,10 @@
@@ -246,6 +255,10 @@
print 'WARNING: You can override dbus service install directory'
print 'WARNING: with --enable-pkg-config-dbus-service-dir option to this script'
print Logs.colors.NORMAL,
@ -40,4 +40,4 @@ diff -Naur jack-1.9.5.orig/wscript jack-1.9.5/wscript
+
print
if Options.options.mixed == True:
conf.env.append_unique('LINKFLAGS', '-lm -lstdc++')

1
ap/jack/jack-1.9.6.tar.bz2.sha1

@ -0,0 +1 @@
b231757acc701553ca10535fd4c463bf1f8347e0 jack-1.9.6.tar.bz2

22
ap/jack/jack.SlackBuild

@ -24,17 +24,18 @@
#
# Latest jack sourcecode is available at: <http://jackaudio.org/>.
#
# Optional: l/libffado, l/libfreebob, l/celt
# Recommends: l/libffado
# Optional: l/libfreebob, l/celt
# Source package infos
NAMESRC=${NAMESRC:-jack}
VERSION=${VERSION:-1.9.5}
VERSION=${VERSION:-1.9.6}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://www.grame.fr/~letz/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-jack}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -85,10 +86,16 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/jack-1.9.5-celt-0.8.patch
patch -p 1 < $CWD/jack-1.9.6-celt-0.8.patch
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./waf configure --prefix=/usr --libdir=/lib$LIBDIRSUFFIX --classic
./waf configure \
--prefix=/usr \
--libdir=/lib$LIBDIRSUFFIX \
--mandir=/man/man1 \
--doxygen \
--firewire \
--classic
./waf -j $JOBS build
./waf install --destdir=$PKG
@ -96,11 +103,16 @@ CXXFLAGS=$CPUOPT \
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
for doc in ChangeLog README README_NETJACK2 TODO; do
cat $doc | tr -d $'\r' | fmt -s > $PKG/usr/doc/$NAME/$doc
done
mv $PKG/usr/share/jack-audio-connection-kit/reference $PKG/usr/doc/$NAME
rm -rf $PKG/usr/share
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save