mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
audio/mda-lv2: Updated for version 1.2.10.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
da0ef06416
commit
193525b1f5
2 changed files with 25 additions and 22 deletions
|
@ -6,10 +6,13 @@
|
|||
|
||||
# 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}
|
||||
|
@ -51,31 +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
|
||||
|
||||
strip $PKG/usr/lib*/lv2/mda.lv2/*.so
|
||||
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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="mda-lv2"
|
||||
VERSION="1.2.6"
|
||||
VERSION="1.2.10"
|
||||
HOMEPAGE="https://drobilla.net/software/mda-lv2.html"
|
||||
DOWNLOAD="https://download.drobilla.net/mda-lv2-1.2.6.tar.bz2"
|
||||
MD5SUM="78712e8e1d2019c8bda6e164d1cd9115"
|
||||
DOWNLOAD="https://download.drobilla.net/mda-lv2-1.2.10.tar.xz"
|
||||
MD5SUM="be5927457805943fc377bd56faae6373"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="lv2"
|
||||
|
|
Loading…
Reference in a new issue