summaryrefslogtreecommitdiffstats
path: root/audio/mda-lv2
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mda-lv2')
-rw-r--r--audio/mda-lv2/README5
-rw-r--r--audio/mda-lv2/mda-lv2.SlackBuild47
-rw-r--r--audio/mda-lv2/mda-lv2.info10
3 files changed, 33 insertions, 29 deletions
diff --git a/audio/mda-lv2/README b/audio/mda-lv2/README
index 5ddd5e8ab5..7a7b0d74d8 100644
--- a/audio/mda-lv2/README
+++ b/audio/mda-lv2/README
@@ -9,5 +9,10 @@ toggle ports (> 0.0 is on, rather than 0.5). All the plugins have been
tested, and thanks to several bug fixes this collection should be more
reliable than the original.
+The instrument plugins make use of the new atom:AtomPort to receive
+MIDI. Apologies for any inconvenience, but this means they will only
+work in modern hosts which have implemented atom-based MIDI. The
+effects should work fine in any LV2 host.
+
See /usr/doc/mda-lv2-$VERSION/plugins.txt for descriptions of the
plugins.
diff --git a/audio/mda-lv2/mda-lv2.SlackBuild b/audio/mda-lv2/mda-lv2.SlackBuild
index 86ec65463e..b2a09cbff4 100644
--- a/audio/mda-lv2/mda-lv2.SlackBuild
+++ b/audio/mda-lv2/mda-lv2.SlackBuild
@@ -2,14 +2,17 @@
# Slackware build script for mda-lv2
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230112 bkw: updated for v1.2.10. build process changed, won't
+# be able to build old versions.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mda-lv2
-VERSION=${VERSION:-1.2.6}
+VERSION=${VERSION:-1.2.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -22,9 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -54,32 +54,31 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
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 -std=c++11" \
-./waf configure build install \
- --prefix=/usr \
- --lv2dir=/usr/lib$LIBDIRSUFFIX/lv2 \
- --destdir=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING README* NEWS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSES/* 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 e316be7505..d8587a1a31 100644
--- a/audio/mda-lv2/mda-lv2.info
+++ b/audio/mda-lv2/mda-lv2.info
@@ -1,10 +1,10 @@
PRGNAM="mda-lv2"
-VERSION="1.2.6"
-HOMEPAGE="http://drobilla.net/software/mda-lv2/"
-DOWNLOAD="http://download.drobilla.net/mda-lv2-1.2.6.tar.bz2"
-MD5SUM="78712e8e1d2019c8bda6e164d1cd9115"
+VERSION="1.2.10"
+HOMEPAGE="https://drobilla.net/software/mda-lv2.html"
+DOWNLOAD="https://download.drobilla.net/mda-lv2-1.2.10.tar.xz"
+MD5SUM="be5927457805943fc377bd56faae6373"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lv2"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"