[arch-commits] Commit in zam-plugins/trunk (3 files)

2020-07-19 Thread David Runge via arch-commits
Date: Sunday, July 19, 2020 @ 13:02:41
  Author: dvzrv
Revision: 664572

upgpkg: zam-plugins 3.13-1: Upgrade to 3.13.

Add upstream developer PGP key: B86F8ABAEDB92DF68AE2BE40577C1739585FA920.
Ordering XDG desktop files by explicit inclusion in menu file.
Adding keywords to directory file.

Modified:
  zam-plugins/trunk/PKGBUILD
  zam-plugins/trunk/zam-plugins.directory
  zam-plugins/trunk/zam-plugins.menu

---+
 PKGBUILD  |   24 +++-
 zam-plugins.directory |1 +
 zam-plugins.menu  |   18 +-
 3 files changed, 33 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-19 12:31:58 UTC (rev 664571)
+++ PKGBUILD2020-07-19 13:02:41 UTC (rev 664572)
@@ -1,6 +1,6 @@
 # Maintainer: David Runge 
 pkgname=zam-plugins
-pkgver=3.12
+pkgver=3.13
 pkgrel=1
 pkgdesc="Collection of LADSPA/LV2/VST/JACK audio plugins for high-quality 
processing"
 arch=('x86_64')
@@ -7,17 +7,23 @@
 url="https://github.com/zamaudio/zam-plugins;
 license=('GPL2')
 groups=('ladspa-plugins' 'lv2-plugins' 'pro-audio' 'vst-plugins')
-depends=('gcc-libs' 'glibc' 'libglvnd' 'libsamplerate' 'libx11' 
'libzita-convolver.so')
-makedepends=('gendesk' 'git' 'ladspa' 'libjack.so' 'lv2')
-optdepends=('libjack.so: for standalone applications')
-source=("$pkgname-$pkgver::git+https://github.com/zamaudio/${pkgname}.git#tag=${pkgver};
+depends=('gcc-libs' 'glibc' 'libglvnd' 'libx11')
+makedepends=('gendesk' 'git' 'ladspa' 'libsamplerate' 'jack' 'lv2' 
'zita-convolver')
+optdepends=('jack: for standalone applications')
+source=("$pkgname-$pkgver::git+https://github.com/zamaudio/${pkgname}.git#tag=${pkgver}?signed;
 "git+https://github.com/distrho/dpf.git;
 "${pkgname}.directory"
 "${pkgname}.menu")
 sha512sums=('SKIP'
 'SKIP'
-
'a2b07759c32598222dac81e472fd7b30070e36d416ec5f0f7c88dc21e6bbaab2664bd1883ffb8e902714521f89eacf0b8416146a6f45bf1a0bf30f957e900c9b'
-
'f92c22af4ec532944e39850a48b6b0bae072a57833bb82d63b606836b92b118d4b2d8704d82814cbff4cc2f16bc87f475a32a3f16a8f001617209b474df0104d')
+
'b7aa3170c14e75e1ec9aa19827a353d126a70e729491a8947b86748eb6c97489c57cb697505f209129834b837beadbbd96e8306fbd7b78cc7cfb95cd7d8b964d'
+
'0aa04bc5cc566ce616728e96fc528c4e7d43cc275cf3e58ad4005a195fbce72793497c2abc515a3926c8cc196e2e29a5534d4fb2ea3c1f348a6f1df3f8a24740')
+b2sums=('SKIP'
+'SKIP'
+
'7b00a157f982abee0abce18e6aaf88f3464f734653ad8efcaf16c8aa8daa4d81e5648381aa16e46461d134bba536fe8f81bee3f5f0456d22f47be5f4c2f2878e'
+
'830efd881fe5f66ef51e13cf9a4026446aa185c8b161209e97212652771d1938c26eed4d9eb81849256f600ec01029f6a50dd98436856fa910aef11d22bc5715')
+validpgpkeys=('B86F8ABAEDB92DF68AE2BE40577C1739585FA920') # Damien Zammit 

+
 _names=('zamaximx2' 'zamulticomp' 'zammulticompx2' 'zamautosat' 'zamcomp'
 'zamcompx2' 'zamdelay' 'zamdynamiceq' 'zameq2' 'zamgeq31' 'zamgate' 'zamgatex2'
 'zamgrains' 'zamheadx2' 'zamphono' 'zamtube' 'zamverb')
@@ -91,8 +97,7 @@
 --name "${name}" \
 --exec "${exec_names[$name]}" \
 --pkgdesc "${comments[$name]}" \
---genericname "${generic[$name]}" \
---categories "zam-plugins"
+--genericname "${generic[$name]}"
   done
 }
 
@@ -104,6 +109,7 @@
 
 package() {
   cd "$pkgname-$pkgver"
+  depends+=('libsamplerate.so' 'libzita-convolver.so')
   make DESTDIR="$pkgdir/" PREFIX='/usr' install
   # XDG desktop integration
   install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications"

Modified: zam-plugins.directory
===
--- zam-plugins.directory   2020-07-19 12:31:58 UTC (rev 664571)
+++ zam-plugins.directory   2020-07-19 13:02:41 UTC (rev 664572)
@@ -2,3 +2,4 @@
 Name=zam-plugins
 Icon=zam-plugins
 Type=Directory
+Keywords=audio;sound;jackd;zam-plugins;

Modified: zam-plugins.menu
===
--- zam-plugins.menu2020-07-19 12:31:58 UTC (rev 664571)
+++ zam-plugins.menu2020-07-19 13:02:41 UTC (rev 664572)
@@ -7,7 +7,23 @@
   zam-plugins
   zam-plugins.directory
   
- zam-plugins
+com.zamaudio.zamautosat.desktop
+com.zamaudio.zamaximx2.desktop
+com.zamaudio.zamcomp.desktop
+com.zamaudio.zamcompx2.desktop
+com.zamaudio.zamdelay.desktop
+com.zamaudio.zamdynamiceq.desktop
+com.zamaudio.zameq2.desktop
+com.zamaudio.zamgate.desktop
+com.zamaudio.zamgatex2.desktop
+com.zamaudio.zamgeq31.desktop
+com.zamaudio.zamgrains.desktop
+com.zamaudio.zamheadx2.desktop
+com.zamaudio.zammulticompx2.desktop
+com.zamaudio.zamphono.desktop
+com.zamaudio.zamtube.desktop
+com.zamaudio.zamulticomp.desktop
+com.zamaudio.zamverb.desktop
   
 

[arch-commits] Commit in zam-plugins/trunk (3 files)

2019-12-15 Thread David Runge via arch-commits
Date: Sunday, December 15, 2019 @ 13:35:12
  Author: dvzrv
Revision: 537737

upgpkg: zam-plugins 3.12-1

Upgrading to 3.12. Updating maintainer info. Adding XDG desktop files for all 
standalone applications and displaying them in a zam-plugins sub menu.

Added:
  zam-plugins/trunk/zam-plugins.directory
  zam-plugins/trunk/zam-plugins.menu
Modified:
  zam-plugins/trunk/PKGBUILD

---+
 PKGBUILD  |   93 
 zam-plugins.directory |4 ++
 zam-plugins.menu  |   14 +++
 3 files changed, 105 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-15 13:13:30 UTC (rev 537736)
+++ PKGBUILD2019-12-15 13:35:12 UTC (rev 537737)
@@ -1,6 +1,6 @@
-# Maintainer: David Runge 
+# Maintainer: David Runge 
 pkgname=zam-plugins
-pkgver=3.11
+pkgver=3.12
 pkgrel=1
 pkgdesc="Collection of LADSPA/LV2/VST/JACK audio plugins for high-quality 
processing"
 arch=('x86_64')
@@ -7,18 +7,93 @@
 url="https://github.com/zamaudio/zam-plugins;
 license=('GPL2')
 groups=('ladspa-plugins' 'lv2-plugins' 'pro-audio' 'vst-plugins')
-depends=('jack' 'libglvnd' 'liblo' 'zita-convolver')
-makedepends=('git' 'ladspa' 'libx11' 'libgl' 'lv2')
+depends=('gcc-libs' 'glibc' 'libglvnd' 'libsamplerate' 'libx11' 
'libzita-convolver.so')
+makedepends=('gendesk' 'git' 'ladspa' 'libjack.so' 'lv2')
+optdepends=('libjack.so: for standalone applications')
 
source=("$pkgname-$pkgver::git+https://github.com/zamaudio/${pkgname}.git#tag=${pkgver};
-"git+https://github.com/distrho/dpf.git;)
+"git+https://github.com/distrho/dpf.git;
+"${pkgname}.directory"
+"${pkgname}.menu")
 sha512sums=('SKIP'
-'SKIP')
+'SKIP'
+
'a2b07759c32598222dac81e472fd7b30070e36d416ec5f0f7c88dc21e6bbaab2664bd1883ffb8e902714521f89eacf0b8416146a6f45bf1a0bf30f957e900c9b'
+
'f92c22af4ec532944e39850a48b6b0bae072a57833bb82d63b606836b92b118d4b2d8704d82814cbff4cc2f16bc87f475a32a3f16a8f001617209b474df0104d')
+_names=('zamaximx2' 'zamulticomp' 'zammulticompx2' 'zamautosat' 'zamcomp'
+'zamcompx2' 'zamdelay' 'zamdynamiceq' 'zameq2' 'zamgeq31' 'zamgate' 'zamgatex2'
+'zamgrains' 'zamheadx2' 'zamphono' 'zamtube' 'zamverb')
 
+
 prepare() {
   cd "$pkgname-$pkgver"
   git submodule init
   git config submodule.dpf.url "${srcdir}/dpf"
   git submodule update
+  declare -A exec_names=(
+["zamaximx2"]="ZaMaximX2"
+["zamulticomp"]="ZaMultiComp"
+["zamulticompx2"]="ZaMultiCompX2"
+["zamautosat"]="ZamAutoSat"
+["zamcomp"]="ZamComp"
+["zamcompx2"]="ZamCompX2"
+["zamdelay"]="ZamDelay"
+["zamdynamiceq"]="ZamDynamicEQ"
+["zameq2"]="ZamEQ2"
+["zamgeq31"]="ZamGEQ31"
+["zamgate"]="ZamGate"
+["zamgatex2"]="ZamGateX2"
+["zamgrains"]="ZamGrains"
+["zamheadx2"]="ZamHeadX2"
+["zamphono"]="ZamPhono"
+["zamtube"]="ZamTube"
+["zamverb"]="ZamVerb"
+  )
+  declare -A comments=(
+["zamaximx2"]="Acts as a brickwall limiter for mastering in its default 
state, but can also be tweaked to raise the average level as a stereo maximizer 
without ever clipping"
+["zamulticomp"]="Mono multiband compressor, with 3 adjustable bands."
+["zamulticompx2"]="Stereo version of ZaMultiComp, with individual 
threshold controls for each band and real-time visualisation of comp curves."
+["zamautosat"]="An automatic saturation plugin, has been known to provide 
smooth levelling to live mic channels."
+["zamcomp"]="A powerful mono compressor strip"
+["zamcompx2"]="Stereo version of ZamComp with knee slew control"
+["zamdelay"]="A simple feedback delay unit with sync-to-host BPM feature 
and filter."
+["zamdynamiceq"]="A dynamic equalizer that changes its gain based on 
detecting a narrow band of frequencies."
+["zameq2"]="Two band parametric equaliser with high and low shelving 
circuits."
+["zamgeq31"]="31 band graphic equaliser, good for eq of live spaces, 
removing unwanted noise from a track etc."
+["zamgate"]="Gate plugin for ducking low gain sounds."
+["zamgatex2"]="Gate plugin for ducking low gain sounds, stereo version."
+["zamgrains"]="Granular Synthesizer"
+["zamheadx2"]="HRTF acoustic filtering plugin for directional sound."
+["zamphono"]="A collection of phono filters for restoring vinyl records, 
or preparing to cut new ones."
+["zamtube"]="Wave digital filter physical model of a triode tube amplifier 
stage, with modelled tone stacks from real guitar amplifiers"
+["zamverb"]="Reverb"
+  )
+  declare -A generic=(
+["zamaximx2"]="Maximizer and brickwall limiter"
+["zamulticomp"]="Mono Multiband Compressor"
+["zamulticompx2"]="Stereo Multiband Compressor"
+["zamautosat"]="Automatic Saturation"
+["zamcomp"]="Mono Compressor"
+["zamcompx2"]="Stereo Compressor"
+["zamdelay"]="Delay"
+["zamdynamiceq"]="Dynamic Equalizer"
+  

[arch-commits] Commit in zam-plugins/trunk (3 files)

2019-06-02 Thread David Runge via arch-commits
Date: Sunday, June 2, 2019 @ 16:42:24
  Author: dvzrv
Revision: 476616

upgpkg: zam-plugins 3.11-1

Upgrading to 3.11. Removing zita-convolver related patches (they have been 
included upstream).
Now using HAVE_ZITA_CONVOLVER environment variable to build with system 
zita-convolver.

Modified:
  zam-plugins/trunk/PKGBUILD
Deleted:
  zam-plugins/trunk/system-zita-convolver.patch
  zam-plugins/trunk/zita-convolver4.patch

-+
 PKGBUILD|   16 
 system-zita-convolver.patch |  155 ---
 zita-convolver4.patch   | 1994 --
 3 files changed, 5 insertions(+), 2160 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-02 15:47:40 UTC (rev 476615)
+++ PKGBUILD2019-06-02 16:42:24 UTC (rev 476616)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge 
 pkgname=zam-plugins
-pkgver=3.10
-pkgrel=5
+pkgver=3.11
+pkgrel=1
 pkgdesc="Collection of LADSPA/LV2/VST/JACK audio plugins for high-quality 
processing"
 arch=('x86_64')
 url="https://github.com/zamaudio/zam-plugins;
@@ -10,13 +10,9 @@
 depends=('jack' 'libglvnd' 'liblo' 'zita-convolver')
 makedepends=('git' 'ladspa' 'libx11' 'libgl' 'lv2')
 
source=("$pkgname-$pkgver::git+https://github.com/zamaudio/${pkgname}.git#tag=${pkgver};
-"git+https://github.com/distrho/dpf.git;
-'zita-convolver4.patch'
-'system-zita-convolver.patch')
+"git+https://github.com/distrho/dpf.git;)
 sha512sums=('SKIP'
-'SKIP'
-
'21bba1704ddf912146e3a6ce58752236f40695f592cffd50814cbc8083e8d97d8ed4791362990883a59f98b538bde32c320059f5db58061dbbcfddad9003ee02'
-
'bb3f3f2f0c5ce0c80755016566ffc2ea1436646ab69cd6f8cd82ea1b221d67490599264964edca062a9e3c19861f99d7c8f12cf51829e0432a9658c8adcf63f3')
+'SKIP')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -23,13 +19,11 @@
   git submodule init
   git config submodule.dpf.url "${srcdir}/dpf"
   git submodule update
-  patch -Np1 -i ../zita-convolver4.patch
-  patch -Np1 -i ../system-zita-convolver.patch
 }
 
 build() {
   cd "$pkgname-$pkgver"
-  export USE_SYSTEM_LIBS=1
+  export HAVE_ZITA_CONVOLVER=true
   make
 }
 

Deleted: system-zita-convolver.patch
===
--- system-zita-convolver.patch 2019-06-02 15:47:40 UTC (rev 476615)
+++ system-zita-convolver.patch 2019-06-02 16:42:24 UTC (rev 476616)
@@ -1,155 +0,0 @@
-From fbdbf082fef6c5e9cd7796c8e6726c8e98c7c040 Mon Sep 17 00:00:00 2001
-From: Guido Aulisi 
-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 
- #include 
- 
--#include "../../lib/zita-convolver-4.0.0/zita-convolver.h"
- #include 
- #include "convolution.hpp"
- 
-diff --git a/plugins/ZamHeadX2/convolution.hpp 
b/plugins/ZamHeadX2/convolution.hpp
-index 80be8e6..8cdcd71 100644
 

[arch-commits] Commit in zam-plugins/trunk (3 files)

2018-07-23 Thread David Runge via arch-commits
Date: Monday, July 23, 2018 @ 18:45:38
  Author: dvzrv
Revision: 363204

upgpkg: zam-plugins 3.10-4

Rebuilding against zita-convolver 4.0.0 (with upstream patches).

Added:
  zam-plugins/trunk/system-zita-convolver.patch
  zam-plugins/trunk/zita-convolver4.patch
Modified:
  zam-plugins/trunk/PKGBUILD

-+
 PKGBUILD|   16 
 system-zita-convolver.patch |  155 +++
 zita-convolver4.patch   | 1994 ++
 3 files changed, 2159 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-23 18:15:01 UTC (rev 363203)
+++ PKGBUILD2018-07-23 18:45:38 UTC (rev 363204)
@@ -10,9 +10,13 @@
 depends=('jack' 'libglvnd' 'liblo' 'zita-convolver')
 makedepends=('git' 'ladspa' 'libx11' 'libgl' 'lv2')
 
source=("$pkgname-$pkgver::git+https://github.com/zamaudio/${pkgname}.git#tag=${pkgver};
-"git+https://github.com/distrho/dpf.git;)
-md5sums=('SKIP'
- 'SKIP')
+"git+https://github.com/distrho/dpf.git;
+'zita-convolver4.patch'
+'system-zita-convolver.patch')
+sha512sums=('SKIP'
+'SKIP'
+
'21bba1704ddf912146e3a6ce58752236f40695f592cffd50814cbc8083e8d97d8ed4791362990883a59f98b538bde32c320059f5db58061dbbcfddad9003ee02'
+
'bb3f3f2f0c5ce0c80755016566ffc2ea1436646ab69cd6f8cd82ea1b221d67490599264964edca062a9e3c19861f99d7c8f12cf51829e0432a9658c8adcf63f3')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -19,13 +23,13 @@
   git submodule init
   git config submodule.dpf.url "${srcdir}/dpf"
   git submodule update
-  # use system zita-convolver
-  sed -e 
's|\"../../lib/zita-convolver-3.1.0/zita-convolver.h\"||' \
--i plugins/Zam{Verb,HeadX2}/convolution.{cpp,hpp}
+  patch -Np1 -i ../zita-convolver4.patch
+  patch -Np1 -i ../system-zita-convolver.patch
 }
 
 build() {
   cd "$pkgname-$pkgver"
+  export USE_SYSTEM_LIBS=1
   make
 }
 

Added: system-zita-convolver.patch
===
--- system-zita-convolver.patch (rev 0)
+++ system-zita-convolver.patch 2018-07-23 18:45:38 UTC (rev 363204)
@@ -0,0 +1,155 @@
+From fbdbf082fef6c5e9cd7796c8e6726c8e98c7c040 Mon Sep 17 00:00:00 2001
+From: Guido Aulisi 
+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 
+ #include 
+ 
+-#include "../../lib/zita-convolver-4.0.0/zita-convolver.h"
+ #include 
+ #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 
++#else
+ #include "../../lib/zita-convolver-4.0.0/zita-convolver.h"
++#endif
+ 
+