summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-08-18 13:26:31 +0000
committer Eric Hameleers <alien@slackware.com>2021-08-18 13:26:31 +0000
commite508c6ad51f228fb4d8596681421f29bc1204f55 (patch)
tree90a6976c5860849034906512da5a5f5e8af8a90f
parent61199063cd322585502ea0b9f6d265c5299822ae (diff)
downloadasb-e508c6ad51f228fb4d8596681421f29bc1204f55.tar.gz
asb-e508c6ad51f228fb4d8596681421f29bc1204f55.tar.xz
jack2: update to 1.9.19
-rwxr-xr-xjack2/build/jack2.SlackBuild26
1 files changed, 14 insertions, 12 deletions
diff --git a/jack2/build/jack2.SlackBuild b/jack2/build/jack2.SlackBuild
index b3362822..64dc4399 100755
--- a/jack2/build/jack2.SlackBuild
+++ b/jack2/build/jack2.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright 2007, 2008, 2009, 2013, 2019, 2020 Eric Hameleers, Eindhoven, NL
+# Copyright 2007, 2008, 2009, 2013, 2019, 2020, 2021 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -28,7 +28,8 @@
# For: jack
# Descr: low-latency audio server
# URL: http://jackaudio.org/
-# Needs: opus
+# Bldneeds: python3
+# Needs: opus (Slackware < 15)
# Changelog:
# 0.103.0-1: 24/Jun/2007 by Eric Hameleers <alien@slackware.com>
# * Initial build.
@@ -46,6 +47,10 @@
# * Update.
# 1.9.14-2: 19/jan/2020 by Eric Hameleers <alien@slackware.com>
# * Fix the doinst.sh script for liveslak.
+# 1.9.16-1: 28/oct/2020 by Eric Hameleers <alien@slackware.com>
+# * Update.
+# 1.9.19-1: 18/aug/2020 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh jack.SlackBuild' to build a Slackware package.
# The package (.txz) plus descriptive .txt file are created in /tmp .
@@ -54,15 +59,15 @@
# -----------------------------------------------------------------------------
PRGNAM=jack2
-VERSION=${VERSION:-1.9.14}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.9.19}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(nproc) "}
TAG=${TAG:-"alien"}
# Where do we look for sources?
SRCDIR=$(cd $(dirname $0); pwd)
-DOCS="ChangeLog README* TODO"
+DOCS="AUTHORS.rst COPYING ChangeLog.rst README*"
# Place to build (TMP) package (PKG) and output (OUTPUT) the program:
TMP=${TMP:-/tmp/build}
@@ -70,7 +75,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz"
-SRCURL="https://github.com/jackaudio/${PRGNAM}/releases/download/v${VERSION}/v${VERSION}.tar.gz"
+SRCURL="https://github.com/jackaudio/${PRGNAM}/archive/v${VERSION}.tar.gz"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -163,9 +168,6 @@ echo "Extracting the source archive(s) for $PRGNAM..."
tar -xvf ${SOURCE}
cd ${PRGNAM}-${VERSION}
-# Use python2 always:
-sed -i 's:bin/env python:bin/env python2:' example-clients/jack_control
-
chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .
@@ -173,7 +175,7 @@ echo Building ...
LDFLAGS="$SLKLDFLAGS" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-python2 waf configure \
+python3 waf configure \
--prefix=/usr \
--alsa \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -184,8 +186,8 @@ python2 waf configure \
--classic \
2>&1 | tee $OUTPUT/configure-${PRGNAM}.log
-python2 waf build 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
-python2 waf install --destdir=$PKG 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
+python3 waf build 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
+python3 waf install --destdir=$PKG 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
# Only allow execution by user in 'audio' group:
chown root:audio $PKG/usr/bin/*