pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio add audio/zam-plugins



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72070ceaced6
branches:  trunk
changeset: 376366:72070ceaced6
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Apr 06 16:32:21 2022 +0000

description:
add audio/zam-plugins

zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins for sound
processing. It includes:

* ZaMaximX2: brickwall limiter for mastering.
* ZamAutoSat: automatic saturation plugin.
* ZamComp: powerful mono compressor strip.
* ZamCompX2: stereo version of ZamComp with knee slew control.
* ZamEQ2: two band parametric equaliser with high and low shelving circuits.
* ZamGEQ31: 31 band graphic equaliser.
* ZamPhono: collection of phono filters for restoring vinyl records, or
  preparing to cut new ones.
* ZamGate: gate plugin for ducking low gain sounds.
* ZamGateX2: gate plugin for ducking low gain sounds, stereo version.
* ZamTube: distortion effect. wave digital filter physical model of a triode
  tube amplifier stage, with modelled tone stacks from real guitar amplifiers.
* ZamDelay: simple feedback delay unit with sync-to-host BPM feature and
  filter.
* ZamDynamicEQ: dynamic equalizer that changes its gain based on detecting
  a narrow band of frequencies.
* 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.

diffstat:

 audio/Makefile                                                            |    3 +-
 audio/zam-plugins/DESCR                                                   |   22 ++
 audio/zam-plugins/Makefile                                                |   23 ++
 audio/zam-plugins/PLIST                                                   |  108 ++++++++++
 audio/zam-plugins/distinfo                                                |   14 +
 audio/zam-plugins/options.mk                                              |   20 +
 audio/zam-plugins/patches/patch-Makefile                                  |   40 +++
 audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile          |   15 +
 audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile   |   15 +
 audio/zam-plugins/patches/patch-lib_zita-convolver-4.0.0_zita-convolver.h |   16 +
 audio/zam-plugins/patches/patch-plugins_ZamHeadX2_Makefile                |   34 +++
 audio/zam-plugins/patches/patch-plugins_ZamVerb_Makefile                  |   34 +++
 12 files changed, 343 insertions(+), 1 deletions(-)

diffs (truncated from 402 to 300 lines):

diff -r dfe2fac18655 -r 72070ceaced6 audio/Makefile
--- a/audio/Makefile    Wed Apr 06 15:20:05 2022 +0000
+++ b/audio/Makefile    Wed Apr 06 16:32:21 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.652 2022/03/02 22:56:08 pin Exp $
+# $NetBSD: Makefile,v 1.653 2022/04/06 16:32:21 nia Exp $
 #
 
 COMMENT=       Audio tools, players, and libraries
@@ -530,6 +530,7 @@
 SUBDIR+=       xwave
 SUBDIR+=       ykchorus
 SUBDIR+=       ympd
+SUBDIR+=       zam-plugins
 SUBDIR+=       zynaddsubfx
 
 .include "../mk/misc/category.mk"
diff -r dfe2fac18655 -r 72070ceaced6 audio/zam-plugins/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/zam-plugins/DESCR   Wed Apr 06 16:32:21 2022 +0000
@@ -0,0 +1,22 @@
+zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins for sound
+processing. It includes:
+
+* ZaMaximX2: brickwall limiter for mastering.
+* ZamAutoSat: automatic saturation plugin.
+* ZamComp: powerful mono compressor strip.
+* ZamCompX2: stereo version of ZamComp with knee slew control.
+* ZamEQ2: two band parametric equaliser with high and low shelving circuits.
+* ZamGEQ31: 31 band graphic equaliser.
+* ZamPhono: collection of phono filters for restoring vinyl records, or
+  preparing to cut new ones.
+* ZamGate: gate plugin for ducking low gain sounds.
+* ZamGateX2: gate plugin for ducking low gain sounds, stereo version.
+* ZamTube: distortion effect. wave digital filter physical model of a triode
+  tube amplifier stage, with modelled tone stacks from real guitar amplifiers.
+* ZamDelay: simple feedback delay unit with sync-to-host BPM feature and
+  filter.
+* ZamDynamicEQ: dynamic equalizer that changes its gain based on detecting
+  a narrow band of frequencies.
+* 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.
diff -r dfe2fac18655 -r 72070ceaced6 audio/zam-plugins/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/zam-plugins/Makefile        Wed Apr 06 16:32:21 2022 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2022/04/06 16:32:21 nia Exp $
+
+DISTNAME=      zam-plugins-3.14
+CATEGORIES=    audio
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=zamaudio/}
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://www.zamaudio.com/?p=976
+COMMENT=       Collection of LADSPA/LV2/VST/JACK audio plugins
+LICENSE=       gnu-gpl-v2
+
+GITHUB_SUBMODULES=     \
+       DISTRHO DPF 08669d1bc30c6e971fde800eade4ca40104ba8b2 dpf
+
+USE_TOOLS+=    gmake pkg-config
+USE_LANGUAGES= c c++
+
+REPLACE_SH+=   dpf/utils/generate-ttl.sh
+
+.include "options.mk"
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r dfe2fac18655 -r 72070ceaced6 audio/zam-plugins/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/zam-plugins/PLIST   Wed Apr 06 16:32:21 2022 +0000
@@ -0,0 +1,108 @@
+@comment $NetBSD: PLIST,v 1.1 2022/04/06 16:32:21 nia Exp $
+${PLIST.jack}bin/ZaMaximX2
+${PLIST.jack}bin/ZaMultiComp
+${PLIST.jack}bin/ZaMultiCompX2
+${PLIST.jack}bin/ZamAutoSat
+${PLIST.jack}bin/ZamComp
+${PLIST.jack}bin/ZamCompX2
+${PLIST.jack}bin/ZamDelay
+${PLIST.jack}bin/ZamDynamicEQ
+${PLIST.jack}bin/ZamEQ2
+${PLIST.jack}bin/ZamGEQ31
+${PLIST.jack}bin/ZamGate
+${PLIST.jack}bin/ZamGateX2
+${PLIST.jack}bin/ZamGrains
+${PLIST.jack}bin/ZamHeadX2
+${PLIST.jack}bin/ZamTube
+${PLIST.jack}bin/ZamVerb
+lib/ladspa/ZaMaximX2-ladspa.so
+lib/ladspa/ZaMultiComp-ladspa.so
+lib/ladspa/ZaMultiCompX2-ladspa.so
+lib/ladspa/ZamAutoSat-ladspa.so
+lib/ladspa/ZamComp-ladspa.so
+lib/ladspa/ZamCompX2-ladspa.so
+lib/ladspa/ZamDelay-ladspa.so
+lib/ladspa/ZamDynamicEQ-ladspa.so
+lib/ladspa/ZamEQ2-ladspa.so
+lib/ladspa/ZamGEQ31-ladspa.so
+lib/ladspa/ZamGate-ladspa.so
+lib/ladspa/ZamGateX2-ladspa.so
+lib/ladspa/ZamGrains-ladspa.so
+lib/ladspa/ZamPhono-ladspa.so
+lib/ladspa/ZamTube-ladspa.so
+lib/lv2/ZaMaximX2.lv2/ZaMaximX2_dsp.so
+lib/lv2/ZaMaximX2.lv2/ZaMaximX2_dsp.ttl
+lib/lv2/ZaMaximX2.lv2/manifest.ttl
+lib/lv2/ZaMaximX2.lv2/presets.ttl
+lib/lv2/ZaMultiComp.lv2/ZaMultiComp_dsp.so
+lib/lv2/ZaMultiComp.lv2/ZaMultiComp_dsp.ttl
+lib/lv2/ZaMultiComp.lv2/manifest.ttl
+lib/lv2/ZaMultiComp.lv2/presets.ttl
+lib/lv2/ZaMultiCompX2.lv2/ZaMultiCompX2_dsp.so
+lib/lv2/ZaMultiCompX2.lv2/ZaMultiCompX2_dsp.ttl
+lib/lv2/ZaMultiCompX2.lv2/manifest.ttl
+lib/lv2/ZaMultiCompX2.lv2/presets.ttl
+lib/lv2/ZamAutoSat.lv2/ZamAutoSat_dsp.so
+lib/lv2/ZamAutoSat.lv2/ZamAutoSat_dsp.ttl
+lib/lv2/ZamAutoSat.lv2/manifest.ttl
+lib/lv2/ZamComp.lv2/ZamComp_dsp.so
+lib/lv2/ZamComp.lv2/ZamComp_dsp.ttl
+lib/lv2/ZamComp.lv2/manifest.ttl
+lib/lv2/ZamComp.lv2/presets.ttl
+lib/lv2/ZamCompX2.lv2/ZamCompX2_dsp.so
+lib/lv2/ZamCompX2.lv2/ZamCompX2_dsp.ttl
+lib/lv2/ZamCompX2.lv2/manifest.ttl
+lib/lv2/ZamCompX2.lv2/presets.ttl
+lib/lv2/ZamDelay.lv2/ZamDelay_dsp.so
+lib/lv2/ZamDelay.lv2/ZamDelay_dsp.ttl
+lib/lv2/ZamDelay.lv2/manifest.ttl
+lib/lv2/ZamDelay.lv2/presets.ttl
+lib/lv2/ZamDynamicEQ.lv2/ZamDynamicEQ_dsp.so
+lib/lv2/ZamDynamicEQ.lv2/ZamDynamicEQ_dsp.ttl
+lib/lv2/ZamDynamicEQ.lv2/manifest.ttl
+lib/lv2/ZamDynamicEQ.lv2/presets.ttl
+lib/lv2/ZamEQ2.lv2/ZamEQ2_dsp.so
+lib/lv2/ZamEQ2.lv2/ZamEQ2_dsp.ttl
+lib/lv2/ZamEQ2.lv2/manifest.ttl
+lib/lv2/ZamEQ2.lv2/presets.ttl
+lib/lv2/ZamGEQ31.lv2/ZamGEQ31_dsp.so
+lib/lv2/ZamGEQ31.lv2/ZamGEQ31_dsp.ttl
+lib/lv2/ZamGEQ31.lv2/manifest.ttl
+lib/lv2/ZamGEQ31.lv2/presets.ttl
+lib/lv2/ZamGate.lv2/ZamGate_dsp.so
+lib/lv2/ZamGate.lv2/ZamGate_dsp.ttl
+lib/lv2/ZamGate.lv2/manifest.ttl
+lib/lv2/ZamGate.lv2/presets.ttl
+lib/lv2/ZamGateX2.lv2/ZamGateX2_dsp.so
+lib/lv2/ZamGateX2.lv2/ZamGateX2_dsp.ttl
+lib/lv2/ZamGateX2.lv2/manifest.ttl
+lib/lv2/ZamGateX2.lv2/presets.ttl
+lib/lv2/ZamGrains.lv2/ZamGrains_dsp.so
+lib/lv2/ZamGrains.lv2/ZamGrains_dsp.ttl
+lib/lv2/ZamGrains.lv2/manifest.ttl
+lib/lv2/ZamGrains.lv2/presets.ttl
+lib/lv2/ZamPhono.lv2/ZamPhono_dsp.so
+lib/lv2/ZamPhono.lv2/ZamPhono_dsp.ttl
+lib/lv2/ZamPhono.lv2/manifest.ttl
+lib/lv2/ZamPhono.lv2/presets.ttl
+lib/lv2/ZamTube.lv2/ZamTube_dsp.so
+lib/lv2/ZamTube.lv2/ZamTube_dsp.ttl
+lib/lv2/ZamTube.lv2/manifest.ttl
+lib/lv2/ZamTube.lv2/presets.ttl
+lib/vst/ZaMaximX2-vst.so
+lib/vst/ZaMultiComp-vst.so
+lib/vst/ZaMultiCompX2-vst.so
+lib/vst/ZamAutoSat-vst.so
+lib/vst/ZamComp-vst.so
+lib/vst/ZamCompX2-vst.so
+lib/vst/ZamDelay-vst.so
+lib/vst/ZamDynamicEQ-vst.so
+lib/vst/ZamEQ2-vst.so
+lib/vst/ZamGEQ31-vst.so
+lib/vst/ZamGate-vst.so
+lib/vst/ZamGateX2-vst.so
+lib/vst/ZamGrains-vst.so
+lib/vst/ZamHeadX2-vst.so
+lib/vst/ZamPhono-vst.so
+lib/vst/ZamTube-vst.so
+lib/vst/ZamVerb-vst.so
diff -r dfe2fac18655 -r 72070ceaced6 audio/zam-plugins/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/zam-plugins/distinfo        Wed Apr 06 16:32:21 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1 2022/04/06 16:32:21 nia Exp $
+
+BLAKE2s (DISTRHO-DPF-08669d1bc30c6e971fde800eade4ca40104ba8b2.tar.gz) = e6e767fdbbb417a3fab0357f4b13edaa7a07df77d07ec024e61a0f908e2dceef
+SHA512 (DISTRHO-DPF-08669d1bc30c6e971fde800eade4ca40104ba8b2.tar.gz) = b24e32682ea38785a776d13f9fd58052d9e7813416ba59f05c9c4af28c4b61c26d832870c7d6b65a46863f122dd29fe573dc01994d1c601a10bea7b75d49ba5d
+Size (DISTRHO-DPF-08669d1bc30c6e971fde800eade4ca40104ba8b2.tar.gz) = 2114592 bytes
+BLAKE2s (zam-plugins-3.14.tar.gz) = e9d1e1145a5bc11783c60f86aa81457bd8795f96fcc47683b572dd1cbd805a92
+SHA512 (zam-plugins-3.14.tar.gz) = 30c168ee855011b2f17fcc5e440039628399ab40b69bed9af284713df6155360b38d8249b3de1616e9a2f39885cff43c9e2505868aae891fd22bc92297c1962c
+Size (zam-plugins-3.14.tar.gz) = 23924833 bytes
+SHA1 (patch-Makefile) = cd3adbb16a67f7752586dcf450735a571a6f5512
+SHA1 (patch-dpf_examples_ExternalUI_Makefile) = 11dae01fba499326e05c91f4a076d88f4a725ee1
+SHA1 (patch-dpf_utils_lv2-ttl-generator_GNUmakefile) = afe6426411c5dbd26b381c3fcac7344524fa63a0
+SHA1 (patch-lib_zita-convolver-4.0.0_zita-convolver.h) = 1b984e7fae340decd2632c94e0cba65965525540
+SHA1 (patch-plugins_ZamHeadX2_Makefile) = 089fc3e71d998e634604839be0d4d31578e44419
+SHA1 (patch-plugins_ZamVerb_Makefile) = 90e32ee51f8ebfb68ddbb79415e20742981332ec
diff -r dfe2fac18655 -r 72070ceaced6 audio/zam-plugins/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/zam-plugins/options.mk      Wed Apr 06 16:32:21 2022 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: options.mk,v 1.1 2022/04/06 16:32:21 nia Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.zam-plugins
+
+.include "../../audio/jack/platform.mk"
+.if ${PLATFORM_SUPPORTS_JACK:tl} == "yes"
+PKG_SUPPORTED_OPTIONS+=                jack
+PKG_SUGGESTED_OPTIONS+=                jack
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   jack
+.if !empty(PKG_OPTIONS:Mjack)
+PLIST.jack=    yes
+MAKE_FLAGS+=   HAVE_JACK=true
+.  include "../../audio/jack/buildlink3.mk"
+.else
+MAKE_FLAGS+=   HAVE_JACK=false
+.endif
diff -r dfe2fac18655 -r 72070ceaced6 audio/zam-plugins/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/zam-plugins/patches/patch-Makefile  Wed Apr 06 16:32:21 2022 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-Makefile,v 1.1 2022/04/06 16:32:21 nia Exp $
+
+pkgsrc-friendly install path that doesn't depend on GNU-like
+install(1).
+
+--- Makefile.orig      2020-12-20 06:54:49.000000000 +0000
++++ Makefile
+@@ -34,22 +34,22 @@ $(PLUGINS): libs
+ # --------------------------------------------------------------
+ 
+ install: all
+-      install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/ladspa \
+-              $(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2 \
+-              $(DESTDIR)$(PREFIX)/$(LIBDIR)/vst \
+-              $(DESTDIR)$(PREFIX)/$(BINDIR) ; \
++      $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(PREFIX)/$(LIBDIR)/ladspa
++      $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2
++      $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(PREFIX)/$(LIBDIR)/vst
++      $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(PREFIX)/$(BINDIR)
+       for plugin in $(PLUGINS); do \
+-              install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2/"$$plugin".lv2 ; \
+-              install -t $(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2/"$$plugin".lv2 \
+-                      bin/"$$plugin".lv2/* ; \
++              $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2/"$$plugin".lv2 ; \
++              $(BSD_INSTALL_LIB) bin/"$$plugin".lv2/* \
++                      $(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2/"$$plugin".lv2  ;\
+       done;
+ ifeq ($(HAVE_JACK),true)
+       for plugin in $(PLUGINS); do \
+-              install -t $(DESTDIR)$(PREFIX)/$(BINDIR) bin/"$$plugin" ; \
++              $(BSD_INSTALL_LIB) bin/"$$plugin" $(DESTDIR)$(PREFIX)/$(BINDIR)  ; \
+       done;
+ endif
+-      install -t $(DESTDIR)$(PREFIX)/$(LIBDIR)/ladspa bin/*-ladspa.so
+-      install -t $(DESTDIR)$(PREFIX)/$(LIBDIR)/vst bin/*-vst.so
++      $(BSD_INSTALL_LIB) bin/*-ladspa.so $(DESTDIR)$(PREFIX)/$(LIBDIR)/ladspa
++      $(BSD_INSTALL_LIB) bin/*-vst.so $(DESTDIR)$(PREFIX)/$(LIBDIR)/vst
+ 
+ uninstall:
+       for plugin in $(PLUGINS); do \
diff -r dfe2fac18655 -r 72070ceaced6 audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile  Wed Apr 06 16:32:21 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-dpf_examples_ExternalUI_Makefile,v 1.1 2022/04/06 16:32:21 nia Exp $
+
+Only use libdl on Linux.
+
+--- dpf/examples/ExternalUI/Makefile.orig      2020-07-18 12:07:33.000000000 +0000
++++ dpf/examples/ExternalUI/Makefile
+@@ -24,7 +24,7 @@ FILES_UI  = \
+ UI_TYPE = external
+ include ../../Makefile.plugins.mk
+ 
+-ifneq ($(HAIKU),true)
++ifeq ($(LINUX),true)
+ LINK_FLAGS += -ldl
+ endif
+ 
diff -r dfe2fac18655 -r 72070ceaced6 audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile   Wed Apr 06 16:32:21 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-dpf_utils_lv2-ttl-generator_GNUmakefile,v 1.1 2022/04/06 16:32:21 nia Exp $
+
+Only use libdl on Linux.
+
+--- dpf/utils/lv2-ttl-generator/GNUmakefile.orig       2020-07-18 12:07:33.000000000 +0000
++++ dpf/utils/lv2-ttl-generator/GNUmakefile
+@@ -14,7 +14,7 @@ build: ../lv2_ttl_generator.exe
+ 
+ else # WINDOWS



Home | Main Index | Thread Index | Old Index