diff options
author | Eric Hameleers <alien@slackware.com> | 2020-01-19 00:59:17 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-01-19 00:59:17 +0000 |
commit | 869b5cc3d6fdb800e33af426aea74efef0b2bddc (patch) | |
tree | 7e26dac05a0748ea421b13a48771416d4d4b3005 | |
parent | f2c2b982c71bc1fd526c35aad63932284b0b323d (diff) | |
download | asb-869b5cc3d6fdb800e33af426aea74efef0b2bddc.tar.gz asb-869b5cc3d6fdb800e33af426aea74efef0b2bddc.tar.xz |
jack2: update to 1.9.14
-rwxr-xr-x | jack2/build/jack2.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/jack2/build/jack2.SlackBuild b/jack2/build/jack2.SlackBuild index a8d45adb..2433b972 100755 --- a/jack2/build/jack2.SlackBuild +++ b/jack2/build/jack2.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright 2007, 2008, 2009, 2013, 2019 Eric Hameleers, Eindhoven, NL +# Copyright 2007, 2008, 2009, 2013, 2019, 2020 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -42,6 +42,8 @@ # * Rebuild against the OPUS codec, thereby enabling Opus-netjack2. # 1.9.12-1: 19/feb/2019 by Eric Hameleers <alien@slackware.com> # * Update. Renamed to 'jack2' to align with SBo. +# 1.9.14-1: 19/jan/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 . @@ -50,9 +52,9 @@ # ----------------------------------------------------------------------------- PRGNAM=jack2 -VERSION=${VERSION:-1.9.12} +VERSION=${VERSION:-1.9.14} BUILD=${BUILD:-1} -NUMJOBS=${NUMJOBS:" -j$(nproc) "} +NUMJOBS=${NUMJOBS:-" -j$(nproc) "} TAG=${TAG:-"alien"} # Where do we look for sources? @@ -66,7 +68,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz" -SRCURL="https://github.com/jackaudio/${PRGNAM}/releases/download/v${VERSION}/${PRGNAM}-${VERSION}.tar.gz" +SRCURL="https://github.com/jackaudio/${PRGNAM}/releases/download/v${VERSION}/v${VERSION}.tar.gz" ## ## --- with a little luck, you won't have to edit below this point --- ## @@ -187,7 +189,11 @@ python2 waf install --destdir=$PKG 2>&1 |tee $OUTPUT/install-${PRGNAM}.log mkdir -p $PKG/install cat <<EOINS > $PKG/install/doinst.sh if [ -x /sbin/setcap ]; then - /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/jackd + # Give all binaries in the package realtime capabilities: + JACKBINS=( $(cd $PKG/usr/bin ; find . -type f -printf '%P\n') ) + for EXE in \${JACKBINS[@]}; do + /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/\$EXE + done fi # Write an entry into fstab for the RAM-based tmpfs that jack wants to |