aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-16 04:03:29 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:27 +0700
commit9345b5372ca10ef97d41a864159c58580411f9b6 (patch)
treef80811a34add3624ec2764c935ce8644b37392d3
parentd96577501168f326e0c78c47a20bb40ee16c0376 (diff)
audio/carla: Updated for version 2.1.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/carla/carla.SlackBuild19
-rw-r--r--audio/carla/carla.info6
2 files changed, 11 insertions, 14 deletions
diff --git a/audio/carla/carla.SlackBuild b/audio/carla/carla.SlackBuild
index b0a71bb52449..331247c784ea 100644
--- a/audio/carla/carla.SlackBuild
+++ b/audio/carla/carla.SlackBuild
@@ -4,13 +4,11 @@
# Michales (clavisound) Michaloudes korgie@gmail.com <2018>
PRGNAM=carla
-VERSION=${VERSION:-2.0beta6}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=Carla
-SRCVER=1.9.8
-TARVER=2.0-beta6-src
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,15 +42,14 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/${SRCNAM}_${TARVER}.tar.gz
-cd $SRCNAM-$SRCVER
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$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 {} \;
+# upstream ships archive with broken symlinks, remove
+find -L . -type l -exec rm -f {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
sed -i -e /CARLA_LIBDIR/s/\"lib\"/\"lib$LIBDIRSUFFIX\"/ data/carla-single
diff --git a/audio/carla/carla.info b/audio/carla/carla.info
index 81d4884e4d23..0d0c6fdd403b 100644
--- a/audio/carla/carla.info
+++ b/audio/carla/carla.info
@@ -1,8 +1,8 @@
PRGNAM="carla"
-VERSION="2.0beta6"
+VERSION="2.1"
HOMEPAGE="http://kxstudio.linuxaudio.org/"
-DOWNLOAD="https://github.com/falkTX/Carla/releases/download/1.9.8/Carla_2.0-beta6-src.tar.gz"
-MD5SUM="279acb33716327c82516d6edb8ff6d13"
+DOWNLOAD="https://github.com/falkTX/Carla/archive/v2.1/Carla-2.1.tar.gz"
+MD5SUM="908c535c4b88021f773f574f420552fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack liblo python3-PyQt5"