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.SlackBuild57
-rw-r--r--audio/mda-lv2/mda-lv2.info10
3 files changed, 43 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 8b31d4345d..b2a09cbff4 100644
--- a/audio/mda-lv2/mda-lv2.SlackBuild
+++ b/audio/mda-lv2/mda-lv2.SlackBuild
@@ -1,15 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# 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.4}
+VERSION=${VERSION:-1.2.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +25,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -44,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" \
-./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
@@ -84,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/mda-lv2/mda-lv2.info b/audio/mda-lv2/mda-lv2.info
index 4e8ede3493..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.4"
-HOMEPAGE="http://drobilla.net/software/mda-lv2/"
-DOWNLOAD="http://download.drobilla.net/mda-lv2-1.2.4.tar.bz2"
-MD5SUM="57feb6b58b195f87f8b3e436f3b56076"
+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"