audio/distrho-mini-series: Updated for version 1.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
klaatu 2022-03-02 17:18:48 +13:00 committed by Willy Sudiarto Raharjo
parent 045420d019
commit 0e06e2eec8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 65 additions and 37 deletions

View file

@ -1,13 +1,16 @@
Three audio filters in LV2 and Linux-Native VST:
Audio utilities.
Mini Series:
Ping Pong Pan
3 Band EQ
3 Band Splitter
Both LV2 and VST are installed.
Plus these:
Nekobi TB-303 emulator
Kars (plucked-string synthesizer)
glBars and ProM (visualizers)
To exclude LV2:
LV2=no ./distrho-mini-series.SlackBuild
Includes LV2, DSSI, and VST versions.
To exclude VST:
VST=no ./distrho-mini-series.SlackBuild

View file

@ -1,6 +1,6 @@
#!/bin/bash
# Slackware build script for Distrho Mini Series
# Copyright 2015 by Klaatu, Wellington NZ
# Copyright 2022 by Klaatu, Lawrence NZ
#
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@ -11,14 +11,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=distrho-mini-series
VERSION=${VERSION:-20140826}
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -36,7 +36,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
LIBDIRMARK="32"
elif [ "$ARCH" = "x86_64" ]; then
@ -54,7 +54,9 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-linux"$LIBDIRMARK"bit.tar.xz -C $PRGNAM-$VERSION
for i in $CWD/*-linux"$LIBDIRMARK"*tar.xz; do
tar xvf "$i" -C $PRGNAM-$VERSION
done
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -63,25 +65,32 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
#lv2
if [ X"$LV2" != "X" ]; then
echo "Skipping LV2"
else
mkdir -p $PKG/usr/lib"$LIBDIRSUFFIX"/lv2
cp -r $PRGNAM-linux"$LIBDIRMARK"bit/*lv2 $PKG/usr/lib"$LIBDIRSUFFIX"/lv2/
fi
#vst
if [ X"$VST" != "X" ]; then
echo "Skipping $i VST"
else
mkdir -p $PKG/usr/lib"$LIBDIRSUFFIX"/vst
cp $PRGNAM-linux"$LIBDIRMARK"bit/*so $PKG/usr/lib"$LIBDIRSUFFIX"/vst/
fi
# create destination directories
mkdir -p "$PKG/usr/lib${LIBDIRSUFFIX}/lv2"
mkdir -p "$PKG/usr/lib${LIBDIRSUFFIX}/dssi"
[[ "$VST" ]] || mkdir -p "$PKG/usr/lib${LIBDIRSUFFIX}/vst"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $PRGNAM-linux"$LIBDIRMARK"bit/README $PKG/usr/doc/$PRGNAM-$VERSION
for i in ./*-linux${LIBDIRMARK}; do
cp -rf $i/*.lv2 "$PKG/usr/lib${LIBDIRSUFFIX}/lv2"
# glbars has no dssi
if [[ "$i" != *glbars* ]]; then
cp -rf $i/*-dssi "$PKG/usr/lib${LIBDIRSUFFIX}/dssi"
cp $i/*-dssi.so "$PKG/usr/lib${LIBDIRSUFFIX}"
fi
[[ "$VST" ]] || cp -rf $i/*vst.so "$PKG/usr/lib${LIBDIRSUFFIX}/vst"
REFNAM=$(echo $i | cut -f2 -d'/' | cut -f2 -d'-')
cp -a "$i"/README* $PKG/usr/doc/$PRGNAM-$VERSION/"README.${REFNAM}"
done
# proM has different naming convention and no dssi
for i in ./*-linux"${LIBDIRMARK}"bit; do
cp -rf $i/*.lv2 "$PKG/usr/lib${LIBDIRSUFFIX}/lv2"
[[ "$VST" ]] || cp -rf $i/*-vst.so "$PKG/usr/lib${LIBDIRSUFFIX}/vst"
done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir $PKG/install
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG

View file

@ -1,10 +1,26 @@
PRGNAM="distrho-mini-series"
VERSION="20140826"
VERSION="1.1"
HOMEPAGE="http://distrho.sourceforge.net/plugins"
DOWNLOAD="http://iweb.dl.sourceforge.net/project/distrho/2014-08-26/distrho-mini-series-linux32bit.tar.xz"
MD5SUM="53f6b020b33b750e715227cd1f031cb9"
DOWNLOAD_x86_64="http://iweb.dl.sourceforge.net/project/distrho/2014-08-26/distrho-mini-series-linux64bit.tar.xz"
MD5SUM_x86_64="7398e50083a59e0c03bb207c564178b8"
REQUIRES="lv2"
DOWNLOAD="https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-mini-series-linux32.tar.xz \
https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-nekobi-linux32.tar.xz \
https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-kars-linux32.tar.xz \
https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-glbars-linux32.tar.xz \
http://sourceforge.net/projects/distrho/files/2014-08-26/distrho-prom-linux32bit.tar.xz"
MD5SUM="351d5b6a017a45c9a0a6433ee9dcb409 \
7d418e09f20f088fd9c0df8744f84c04 \
8a4685fe52d084d1fd52688417f936b0 \
dae233362b7d2281d22c2b9c3589354e \
e9a97701f47a34cbfa13f3432ea32a11"
DOWNLOAD_x86_64="https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-mini-series-linux64.tar.xz \
https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-nekobi-linux64.tar.xz \
https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-kars-linux64.tar.xz \
https://github.com/DISTRHO/DPF-Plugins/releases/download/v1.1/distrho-glbars-linux64.tar.xz \
http://sourceforge.net/projects/distrho/files/2014-08-26/distrho-prom-linux64bit.tar.xz"
MD5SUM_x86_64="f731f5ee0d38e51395f2b8717bff17d2 \
94e2402f38b4ef39f8679c09d6e8ccd9 \
807a46cc1bba970626000ca17c30e4a3 \
4863993ec5bbb5d3cac160f6596f6d97 \
eae42b12051d6b4e059b46aefc7377a3"
REQUIRES="dssi lv2"
MAINTAINER="Klaatu"
EMAIL="klaatu@member.fsf.org"

View file

@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
distrho-mini-series: distrho-mini-series (small audio filters)
distrho-mini-series: distrho-mini-series (small audio effects)
distrho-mini-series:
distrho-mini-series: Three small audio filters by KXStudio's Faltx.
distrho-mini-series: Audio effects by KXStudio's Faltx.
distrho-mini-series:
distrho-mini-series: Includes Ping-Pong Pan, 3-band EQ, and 3-band splitter
distrho-mini-series: Includes Ping-Pong Pan, 3-band EQ, and 3-band splitter,
distrho-mini-series: Nekobi TB-303 emulator, and Kars plucked-string synth.
distrho-mini-series: and the glbars and proM visualizers
distrho-mini-series:
distrho-mini-series: http://distrho.sourceforge.net/plugins
distrho-mini-series:
distrho-mini-series:
distrho-mini-series:
distrho-mini-series: