zam-plugins: initial commit, version 3.11

This commit is contained in:
Tim Biermann 2019-08-21 10:02:54 +00:00
parent da1766f815
commit 4c3c87f554
Signed by: tb
GPG Key ID: 42F8B4E30B673606
5 changed files with 2317 additions and 0 deletions

138
zam-plugins/.footprint Normal file
View File

@ -0,0 +1,138 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/ZaMaximX2
-rwxr-xr-x root/root usr/bin/ZaMultiComp
-rwxr-xr-x root/root usr/bin/ZaMultiCompX2
-rwxr-xr-x root/root usr/bin/ZamAutoSat
-rwxr-xr-x root/root usr/bin/ZamComp
-rwxr-xr-x root/root usr/bin/ZamCompX2
-rwxr-xr-x root/root usr/bin/ZamDelay
-rwxr-xr-x root/root usr/bin/ZamDynamicEQ
-rwxr-xr-x root/root usr/bin/ZamEQ2
-rwxr-xr-x root/root usr/bin/ZamGEQ31
-rwxr-xr-x root/root usr/bin/ZamGate
-rwxr-xr-x root/root usr/bin/ZamGateX2
-rwxr-xr-x root/root usr/bin/ZamGrains
-rwxr-xr-x root/root usr/bin/ZamHeadX2
-rwxr-xr-x root/root usr/bin/ZamTube
-rwxr-xr-x root/root usr/bin/ZamVerb
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/ladspa/
-rwxr-xr-x root/root usr/lib/ladspa/ZaMaximX2-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZaMultiComp-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZaMultiCompX2-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamAutoSat-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamComp-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamCompX2-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamDelay-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamDynamicEQ-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamEQ2-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamGEQ31-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamGate-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamGateX2-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamGrains-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamPhono-ladspa.so
-rwxr-xr-x root/root usr/lib/ladspa/ZamTube-ladspa.so
drwxr-xr-x root/root usr/lib/lv2/
drwxr-xr-x root/root usr/lib/lv2/ZaMaximX2.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZaMaximX2.lv2/ZaMaximX2_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZaMaximX2.lv2/ZaMaximX2_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZaMaximX2.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZaMaximX2.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZaMultiComp.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZaMultiComp.lv2/ZaMultiComp_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZaMultiComp.lv2/ZaMultiComp_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZaMultiComp.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZaMultiComp.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZaMultiCompX2.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZaMultiCompX2.lv2/ZaMultiCompX2_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZaMultiCompX2.lv2/ZaMultiCompX2_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZaMultiCompX2.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZaMultiCompX2.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamAutoSat.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamAutoSat.lv2/ZamAutoSat_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamAutoSat.lv2/ZamAutoSat_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamAutoSat.lv2/manifest.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamComp.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamComp.lv2/ZamComp_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamComp.lv2/ZamComp_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamComp.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamComp.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamCompX2.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamCompX2.lv2/ZamCompX2_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamCompX2.lv2/ZamCompX2_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamCompX2.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamCompX2.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamDelay.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamDelay.lv2/ZamDelay_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamDelay.lv2/ZamDelay_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamDelay.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamDelay.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamDynamicEQ.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamDynamicEQ.lv2/ZamDynamicEQ_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamDynamicEQ.lv2/ZamDynamicEQ_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamDynamicEQ.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamDynamicEQ.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamEQ2.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamEQ2.lv2/ZamEQ2_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamEQ2.lv2/ZamEQ2_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamEQ2.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamEQ2.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamGEQ31.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamGEQ31.lv2/ZamGEQ31_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamGEQ31.lv2/ZamGEQ31_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamGEQ31.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamGEQ31.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamGate.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamGate.lv2/ZamGate_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamGate.lv2/ZamGate_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamGate.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamGate.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamGateX2.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamGateX2.lv2/ZamGateX2_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamGateX2.lv2/ZamGateX2_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamGateX2.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamGateX2.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamGrains.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamGrains.lv2/ZamGrains_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamGrains.lv2/ZamGrains_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamGrains.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamGrains.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamHeadX2.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamHeadX2.lv2/ZamHeadX2_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamHeadX2.lv2/ZamHeadX2_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamHeadX2.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamHeadX2.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamPhono.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamPhono.lv2/ZamPhono_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamPhono.lv2/ZamPhono_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamPhono.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamPhono.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamTube.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamTube.lv2/ZamTube_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamTube.lv2/ZamTube_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamTube.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamTube.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/lv2/ZamVerb.lv2/
-rwxr-xr-x root/root usr/lib/lv2/ZamVerb.lv2/ZamVerb_dsp.so
-rwxr-xr-x root/root usr/lib/lv2/ZamVerb.lv2/ZamVerb_dsp.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamVerb.lv2/manifest.ttl
-rwxr-xr-x root/root usr/lib/lv2/ZamVerb.lv2/presets.ttl
drwxr-xr-x root/root usr/lib/vst/
-rwxr-xr-x root/root usr/lib/vst/ZaMaximX2-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZaMultiComp-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZaMultiCompX2-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamAutoSat-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamComp-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamCompX2-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamDelay-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamDynamicEQ-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamEQ2-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamGEQ31-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamGate-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamGateX2-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamGrains-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamHeadX2-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamPhono-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamTube-vst.so
-rwxr-xr-x root/root usr/lib/vst/ZamVerb-vst.so

8
zam-plugins/.signature Normal file
View File

@ -0,0 +1,8 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xeH1I14XHe5uqL6k6I/FPOYB5gM1tqjTJhoUhDuDzSz8tLRC7DBeS3aBEivQaPUu2n4KAfnqiVlkdhVdLkVVAw=
SHA256 (Pkgfile) = 22a32f617efe60681a70449c804ae6f13411fca1d9321813af4ebd6aac6e4e77
SHA256 (.footprint) = 9653437a46012325f9697b18010aa6c87cb451a9069b4de0a1968de7da284be4
SHA256 (zam-plugins-3.11.tar.gz) = 852906fa7ed858819d2ca11ad855526a6b725fa8b5092be6045c1c88178cf0ee
SHA256 (dpf-68b3a57a78.tar.gz) = 23e342f158601e4782d9f0208cf9b4a71c6922eaa0ef0b0665760a0cedd50e98
SHA256 (zita-convolver4.patch) = 86bae26d85b863eadd3f3fcbc84208df0d60fcba4132e4c00b37ab7fe9d9bc9c
SHA256 (system-zita-convolver.patch) = fa4880366f99b1bc1cbfdd7ea993cdc9be2bf14d5277a33efdb167550b0e0232

22
zam-plugins/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: Collection of LADSPA/LV2/VST/JACK audio plugins for high-quality processing
# URL: https://github.com/zamaudio/zam-plugins
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: git jack ladspa libglvnd liblo lv2 zita-convolver
name=zam-plugins
version=3.11
release=1
source=(https://github.com/zamaudio/zam-plugins/archive/$version/$name-$version.tar.gz
https://github.com/DISTRHO/DPF/archive/68b3a57a78d814810972584ed571662fe5cfb8f0/dpf-68b3a57a78.tar.gz
zita-convolver4.patch system-zita-convolver.patch)
dpf_git=https://github.com/DISTRHO/DPF.git
zam_git=https://github.com/zamaudio/zam-plugins.git
build() {
cd $name-$version
export HAVE_ZITA_CONVOLVER=true
cp -r $SRC/DPF-68b3a57a78d814810972584ed571662fe5cfb8f0/* dpf/
make
make DESTDIR=$PKG PREFIX='/usr/' install
}

View File

@ -0,0 +1,155 @@
From fbdbf082fef6c5e9cd7796c8e6726c8e98c7c040 Mon Sep 17 00:00:00 2001
From: Guido Aulisi <guido.aulisi@gmail.com>
Date: Wed, 28 Feb 2018 12:28:26 +0100
Subject: [PATCH 3/3] Allow using system provided zita convolver library
v.2: Rebase onto newer zita-convolver
---
Makefile.mk | 9 +++++++++
plugins/ZamHeadX2/Makefile | 12 ++++++++++--
plugins/ZamHeadX2/convolution.cpp | 1 -
plugins/ZamHeadX2/convolution.hpp | 4 ++++
plugins/ZamVerb/Makefile | 12 ++++++++++--
plugins/ZamVerb/convolution.cpp | 1 -
plugins/ZamVerb/convolution.hpp | 4 ++++
7 files changed, 37 insertions(+), 6 deletions(-)
diff --git a/Makefile.mk b/Makefile.mk
index 7588326..b53ca4e 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -85,6 +85,15 @@ ifeq ($(LINUX),true)
HAVE_DGL = $(shell pkg-config --exists gl x11 && echo true)
HAVE_JACK = $(shell pkg-config --exists jack && echo true)
HAVE_LIBLO = $(shell pkg-config --exists liblo && echo true)
+
+# Allow to use system provided libs
+ifeq ($(USE_SYSTEM_LIBS),1)
+HAVE_ZITA_CONVOLVER = true
+ZITA_CONVOLVER_LIBS = -lzita-convolver
+BASE_FLAGS += -I/usr/include
+export HAVE_ZITA_CONVOLVER
+endif
+
endif
ifeq ($(MACOS),true)
diff --git a/plugins/ZamHeadX2/Makefile b/plugins/ZamHeadX2/Makefile
index 8500534..28e6931 100644
--- a/plugins/ZamHeadX2/Makefile
+++ b/plugins/ZamHeadX2/Makefile
@@ -12,8 +12,11 @@ NAME = ZamHeadX2
# --------------------------------------------------------------
# Files to build
-OBJS_DSP = \
- ../../lib/zita-convolver-4.0.0/zita-convolver.cpp.o \
+ifneq ($(HAVE_ZITA_CONVOLVER),true)
+OBJS_DSP = ../../lib/zita-convolver-4.0.0/zita-convolver.cpp.o
+endif
+
+OBJS_DSP += \
convolution.cpp.o \
ZamHeadX2Plugin.cpp.o
@@ -38,6 +41,11 @@ else
TARGETS += lv2_dsp
endif
+ifeq ($(HAVE_ZITA_CONVOLVER),true)
+BASE_FLAGS += -DHAVE_ZITA_CONVOLVER
+LINK_FLAGS += $(ZITA_CONVOLVER_LIBS)
+endif
+
TARGETS += vst
all: $(TARGETS)
diff --git a/plugins/ZamHeadX2/convolution.cpp b/plugins/ZamHeadX2/convolution.cpp
index 0026ba2..8c42acc 100644
--- a/plugins/ZamHeadX2/convolution.cpp
+++ b/plugins/ZamHeadX2/convolution.cpp
@@ -42,7 +42,6 @@
#include <pthread.h>
#include <assert.h>
-#include "../../lib/zita-convolver-4.0.0/zita-convolver.h"
#include <samplerate.h>
#include "convolution.hpp"
diff --git a/plugins/ZamHeadX2/convolution.hpp b/plugins/ZamHeadX2/convolution.hpp
index 80be8e6..8cdcd71 100644
--- a/plugins/ZamHeadX2/convolution.hpp
+++ b/plugins/ZamHeadX2/convolution.hpp
@@ -19,7 +19,11 @@
#ifndef CONVOLUTION_H_
#define CONVOLUTION_H_
+#ifdef HAVE_ZITA_CONVOLVER
+#include <zita-convolver.h>
+#else
#include "../../lib/zita-convolver-4.0.0/zita-convolver.h"
+#endif
#define MAX_CHANNEL_MAPS (4)
#define VERBOSE_printf(x, ...)
diff --git a/plugins/ZamVerb/Makefile b/plugins/ZamVerb/Makefile
index eacc080..a08e334 100644
--- a/plugins/ZamVerb/Makefile
+++ b/plugins/ZamVerb/Makefile
@@ -15,8 +15,11 @@ NAME = ZamVerb
OBJS_DSP = \
ZamVerbPlugin.cpp.o \
ZamVerbImpulses.cpp.o \
- convolution.cpp.o \
- ../../lib/zita-convolver-4.0.0/zita-convolver.cpp.o
+ convolution.cpp.o
+
+ifneq ($(HAVE_ZITA_CONVOLVER),true)
+OBJS_DSP += ../../lib/zita-convolver-4.0.0/zita-convolver.cpp.o
+endif
OBJS_UI = \
ZamVerbArtwork.cpp.o \
@@ -39,6 +42,11 @@ else
TARGETS += lv2_dsp
endif
+ifeq ($(HAVE_ZITA_CONVOLVER),true)
+BASE_FLAGS += -DHAVE_ZITA_CONVOLVER
+LINK_FLAGS += $(ZITA_CONVOLVER_LIBS)
+endif
+
TARGETS += vst
all: $(TARGETS)
diff --git a/plugins/ZamVerb/convolution.cpp b/plugins/ZamVerb/convolution.cpp
index 27374e0..8357037 100644
--- a/plugins/ZamVerb/convolution.cpp
+++ b/plugins/ZamVerb/convolution.cpp
@@ -42,7 +42,6 @@
#include <pthread.h>
#include <assert.h>
-#include "../../lib/zita-convolver-4.0.0/zita-convolver.h"
#include <samplerate.h>
#include "convolution.hpp"
#include "ZamVerbImpulses.hpp"
diff --git a/plugins/ZamVerb/convolution.hpp b/plugins/ZamVerb/convolution.hpp
index 1c89971..cfb3755 100644
--- a/plugins/ZamVerb/convolution.hpp
+++ b/plugins/ZamVerb/convolution.hpp
@@ -19,7 +19,11 @@
#ifndef CONVOLUTION_H_
#define CONVOLUTION_H_
+#ifdef HAVE_ZITA_CONVOLVER
+#include <zita-convolver.h>
+#else
#include "../../lib/zita-convolver-4.0.0/zita-convolver.h"
+#endif
#define MAX_CHANNEL_MAPS (4)
#define VERBOSE_printf(x, ...)
--
2.18.0

File diff suppressed because it is too large Load Diff