ap/jack: Upgraded to jack-1.9.9.5.

slackware-14.2
Damien Goutte-Gattat 10 years ago
parent 09a0a4904a
commit a5c4fcbb13
  1. 1
      ap/jack/jack-1.9.8.tgz.sha1
  2. 30
      ap/jack/jack.SlackBuild
  3. 1
      ap/jack/jack2-1.9.9.5.zip.sha1

@ -1 +0,0 @@
397a01bb94eb4b40f328329a9e6af13f53abaa89 jack-1.9.8.tgz

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011,2012 Damien Goutte-Gattat
# Copyright (C) 2009,2010,2011,2012,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,17 +24,18 @@
#
# Latest jack sourcecode is available at: <http://jackaudio.org/>.
#
# Depends: l/opus
# Optional: l/celt, l/libffado
# Source package infos
NAMESRC=${NAMESRC:-jack}
VERSION=${VERSION:-1.9.8}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tgz}
WGET=${WGET:-http://www.grame.fr/~letz/$ARCHIVE}
NAMESRC=${NAMESRC:-jack2}
VERSION=${VERSION:-1.9.9.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.zip}
WGET=${WGET:-https://github.com/jackaudio/jack2/archive/$VERSION.zip}
# 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}
@ -78,19 +79,19 @@ if [ ! -r $ARCHIVE ]; then
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
NAME=$NAMESRC-$VERSION
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME/$NAME
unzip $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./waf configure \
--prefix=/usr \
--libdir=/lib$LIBDIRSUFFIX \
--mandir=/man/man1 \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man/man1 \
--alsa \
--classic
./waf -j $JOBS build
@ -104,13 +105,10 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
for doc in ChangeLog README README_NETJACK2 TODO; do
cat $doc | tr -d $'\r' | fmt -s > $PKG/usr/doc/$NAME/$doc
cat $doc | tr -d $'\r' | fmt -s > $PKG/usr/doc/$NAMEPKG-$VERSION/$doc
done
install -m 644 ../doc/JACK2_lac2009.pdf $PKG/usr/doc/$NAME/letz2009.pdf
install -m 644 ../doc/Jackdmp.pdf $PKG/usr/doc/$NAME/letz2005.pdf
cp -r ../doc/html $PKG/usr/doc/$NAME/html
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

@ -0,0 +1 @@
2ec934fd47dcb4e1190e1c30a2a4761559ed4a7f jack2-1.9.9.5.zip
Loading…
Cancel
Save