diff --git a/audio/jack2/jack2.SlackBuild b/audio/jack2/jack2.SlackBuild index 204c9293e3..764868e5a7 100644 --- a/audio/jack2/jack2.SlackBuild +++ b/audio/jack2/jack2.SlackBuild @@ -2,8 +2,9 @@ # Slackware build script for "jack2". -# Copyright 2014 Yanes Checcacci Balod , Brazil -# Copyright 2014-2015 Marcel Saegebarth +# Copyright 2014 Yanes Checcacci Balod , Brazil +# Copyright 2014-2015 Marcel Saegebarth +# Copyright 2018 B. Watson # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,15 +24,20 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20180714 bkw: +# - Take over maintenance. +# - Update for v1.9.12. +# - Move HTML docs to proper Slackware doc dir. +# - i486 => i586. + PRGNAM=jack2 -SRCNAM=jack -VERSION=${VERSION:-1.9.10} +VERSION=${VERSION:-1.9.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +48,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i586" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -61,15 +67,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 -cd $SRCNAM-$VERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -77,6 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man/man1 \ + --htmldir=/usr/doc/$PRGNAM-$VERSION/html \ --classic \ --profile \ --dbus \ diff --git a/audio/jack2/jack2.info b/audio/jack2/jack2.info index f699491952..c52aab9a1f 100644 --- a/audio/jack2/jack2.info +++ b/audio/jack2/jack2.info @@ -1,10 +1,10 @@ PRGNAM="jack2" -VERSION="1.9.10" +VERSION="1.9.12" HOMEPAGE="http://jackaudio.org/" -DOWNLOAD="https://s.mos6581.de/static/slackbuilds.org/sources/jack-1.9.10.tar.bz2" -MD5SUM="4aeb91d7ae0cabce98355436ed4f217a" +DOWNLOAD="https://github.com/jackaudio/jack2/releases/download/v1.9.12/jack2-1.9.12.tar.gz" +MD5SUM="6cb5dfea0586bcf009c733c4e4b04a03" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Marcel Saegebarth" -EMAIL="marc@mos6581.de" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com"