summaryrefslogtreecommitdiffstats
path: root/audio/jack2/jack2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/jack2/jack2.SlackBuild')
-rw-r--r--audio/jack2/jack2.SlackBuild15
1 files changed, 9 insertions, 6 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" \