summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-01 05:24:35 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:23 +0700
commit13ffeb895c429b5b15d5567b2a8bceebc0b6a052 (patch)
tree44db4e52944a97d54f35c4e412ca9ee317c87304 /audio
parent9dfbb232e4c156a08b9550245963ebe578bffa68 (diff)
downloadslackbuilds-13ffeb895c429b5b15d5567b2a8bceebc0b6a052.tar.gz
audio/jack2: Updated for version 1.9.14.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/jack2/jack2.SlackBuild15
-rw-r--r--audio/jack2/jack2.info8
2 files changed, 13 insertions, 10 deletions
diff --git a/audio/jack2/jack2.SlackBuild b/audio/jack2/jack2.SlackBuild
index 764868e5a7..837855bc6e 100644
--- a/audio/jack2/jack2.SlackBuild
+++ b/audio/jack2/jack2.SlackBuild
@@ -24,6 +24,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20191201 bkw: update for v1.9.14 (including new python3 dep).
# 20180714 bkw:
# - Take over maintenance.
# - Update for v1.9.12.
@@ -31,7 +32,7 @@
# - i486 => i586.
PRGNAM=jack2
-VERSION=${VERSION:-1.9.12}
+VERSION=${VERSION:-1.9.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,11 +72,13 @@ 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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Minor source of incompatibility between jack 1.x and 2.x: some jack
+# apps don't add -lpthread to their CFLAGS because they assume jack.pc
+# will already include it (it does, in 1.x). So make 2 act like 1:
+sed -i '/^Libs:/s,$, -lpthread,' jack.pc.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/audio/jack2/jack2.info b/audio/jack2/jack2.info
index c52aab9a1f..aca468f978 100644
--- a/audio/jack2/jack2.info
+++ b/audio/jack2/jack2.info
@@ -1,10 +1,10 @@
PRGNAM="jack2"
-VERSION="1.9.12"
+VERSION="1.9.14"
HOMEPAGE="http://jackaudio.org/"
-DOWNLOAD="https://github.com/jackaudio/jack2/releases/download/v1.9.12/jack2-1.9.12.tar.gz"
-MD5SUM="6cb5dfea0586bcf009c733c4e4b04a03"
+DOWNLOAD="https://github.com/jackaudio/jack2/archive/v1.9.14/jack2-1.9.14.tar.gz"
+MD5SUM="b63b5cf65fc43ccf9585d274fe91069f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"