summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
author B. Watson2019-12-03 04:06:05 +0100
committer Willy Sudiarto Raharjo2019-12-15 11:06:26 +0100
commit8c10ebb4a1b9efd5c63bf7b354762839934676ce (patch)
tree947ccb9299e8397fcf63e32c8be7d2742e8cb024 /audio
parent2b8a1407c90e743ab0d9a238f071d455a7e9f3ee (diff)
downloadslackbuilds-8c10ebb4a1b9efd5c63bf7b354762839934676ce.tar.gz
audio/mda-lv2: Updated for version 1.2.4.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/mda-lv2/mda-lv2.SlackBuild19
-rw-r--r--audio/mda-lv2/mda-lv2.info6
2 files changed, 15 insertions, 10 deletions
diff --git a/audio/mda-lv2/mda-lv2.SlackBuild b/audio/mda-lv2/mda-lv2.SlackBuild
index 87522d51dc..8b31d4345d 100644
--- a/audio/mda-lv2/mda-lv2.SlackBuild
+++ b/audio/mda-lv2/mda-lv2.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=mda-lv2
-VERSION=${VERSION:-1.2.2}
+VERSION=${VERSION:-1.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,12 +47,17 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 {} \+
+# The include structure for lv2 has changed drastically. Recreating
+# the old structure is easier than patching all the includes in all
+# the source files.
+mkdir -p lv2includes/lv2/core
+ln -s /usr/include/lv2/lv2plug.in/ns/ext/* lv2includes/lv2
+ln -s /usr/include/lv2.h lv2includes/lv2/core
+
+SLKCFLAGS="$SLKCFLAGS -I$(pwd)/lv2includes"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./waf configure build install \
@@ -64,7 +69,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL README NEWS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README* NEWS $PKG/usr/doc/$PRGNAM-$VERSION
# All the documentation on the individual plugins is buried in the .ttl
# files as comments, which none of my LV2 hosts will display. It's useful
diff --git a/audio/mda-lv2/mda-lv2.info b/audio/mda-lv2/mda-lv2.info
index 86c19db3ae..4e8ede3493 100644
--- a/audio/mda-lv2/mda-lv2.info
+++ b/audio/mda-lv2/mda-lv2.info
@@ -1,8 +1,8 @@
PRGNAM="mda-lv2"
-VERSION="1.2.2"
+VERSION="1.2.4"
HOMEPAGE="http://drobilla.net/software/mda-lv2/"
-DOWNLOAD="http://download.drobilla.net/mda-lv2-1.2.2.tar.bz2"
-MD5SUM="1962f48c54eafe52a3d2471cd3072aa8"
+DOWNLOAD="http://download.drobilla.net/mda-lv2-1.2.4.tar.bz2"
+MD5SUM="57feb6b58b195f87f8b3e436f3b56076"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lv2"