pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Apr  6 16:32:21 UTC 2022

Modified Files:
        pkgsrc/audio: Makefile
Added Files:
        pkgsrc/audio/zam-plugins: DESCR Makefile PLIST distinfo options.mk
        pkgsrc/audio/zam-plugins/patches: patch-Makefile
            patch-dpf_examples_ExternalUI_Makefile
            patch-dpf_utils_lv2-ttl-generator_GNUmakefile
            patch-lib_zita-convolver-4.0.0_zita-convolver.h
            patch-plugins_ZamHeadX2_Makefile patch-plugins_ZamVerb_Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.652 -r1.653 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/zam-plugins/DESCR \
    pkgsrc/audio/zam-plugins/Makefile pkgsrc/audio/zam-plugins/PLIST \
    pkgsrc/audio/zam-plugins/distinfo pkgsrc/audio/zam-plugins/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/zam-plugins/patches/patch-Makefile \
    pkgsrc/audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile \
    pkgsrc/audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile \
    pkgsrc/audio/zam-plugins/patches/patch-lib_zita-convolver-4.0.0_zita-convolver.h \
    pkgsrc/audio/zam-plugins/patches/patch-plugins_ZamHeadX2_Makefile \
    pkgsrc/audio/zam-plugins/patches/patch-plugins_ZamVerb_Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/Makefile
diff -u pkgsrc/audio/Makefile:1.652 pkgsrc/audio/Makefile:1.653
--- pkgsrc/audio/Makefile:1.652 Wed Mar  2 22:56:08 2022
+++ pkgsrc/audio/Makefile       Wed Apr  6 16:32:21 2022
@@ -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+=    xmradio
 SUBDIR+=       xwave
 SUBDIR+=       ykchorus
 SUBDIR+=       ympd
+SUBDIR+=       zam-plugins
 SUBDIR+=       zynaddsubfx
 
 .include "../mk/misc/category.mk"

Added files:

Index: pkgsrc/audio/zam-plugins/DESCR
diff -u /dev/null pkgsrc/audio/zam-plugins/DESCR:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/DESCR      Wed Apr  6 16:32:21 2022
@@ -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.
Index: pkgsrc/audio/zam-plugins/Makefile
diff -u /dev/null pkgsrc/audio/zam-plugins/Makefile:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/Makefile   Wed Apr  6 16:32:21 2022
@@ -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"
Index: pkgsrc/audio/zam-plugins/PLIST
diff -u /dev/null pkgsrc/audio/zam-plugins/PLIST:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/PLIST      Wed Apr  6 16:32:21 2022
@@ -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
Index: pkgsrc/audio/zam-plugins/distinfo
diff -u /dev/null pkgsrc/audio/zam-plugins/distinfo:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/distinfo   Wed Apr  6 16:32:21 2022
@@ -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
Index: pkgsrc/audio/zam-plugins/options.mk
diff -u /dev/null pkgsrc/audio/zam-plugins/options.mk:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/options.mk Wed Apr  6 16:32:21 2022
@@ -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

Index: pkgsrc/audio/zam-plugins/patches/patch-Makefile
diff -u /dev/null pkgsrc/audio/zam-plugins/patches/patch-Makefile:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/patches/patch-Makefile     Wed Apr  6 16:32:21 2022
@@ -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 \
Index: pkgsrc/audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile
diff -u /dev/null pkgsrc/audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile     Wed Apr  6 16:32:21 2022
@@ -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
+ 
Index: pkgsrc/audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile
diff -u /dev/null pkgsrc/audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile      Wed Apr  6 16:32:21 2022
@@ -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
+ 
+-ifneq ($(HAIKU),true)
++ifeq ($(LINUX),true)
+ LDFLAGS += -ldl
+ endif
+ 
Index: pkgsrc/audio/zam-plugins/patches/patch-lib_zita-convolver-4.0.0_zita-convolver.h
diff -u /dev/null pkgsrc/audio/zam-plugins/patches/patch-lib_zita-convolver-4.0.0_zita-convolver.h:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/patches/patch-lib_zita-convolver-4.0.0_zita-convolver.h    Wed Apr  6 16:32:21 2022
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_zita-convolver-4.0.0_zita-convolver.h,v 1.1 2022/04/06 16:32:21 nia Exp $
+
+Use POSIX code path on all non-Apple systems (there is
+a separate code path for macOS).
+
+--- lib/zita-convolver-4.0.0/zita-convolver.h.orig     2020-12-20 06:54:49.000000000 +0000
++++ lib/zita-convolver-4.0.0/zita-convolver.h
+@@ -45,7 +45,7 @@ extern int zita_convolver_minor_version 
+ //XXX DZ: Hack for windows/osx10.5
+ #include "zcsema-osx-win-compat.h"
+ 
+-#if defined(__linux__)  || defined(__GNU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
++#if defined(__unix__) && !defined(__APPLE__)
+ 
+ #include <semaphore.h>
+ 
Index: pkgsrc/audio/zam-plugins/patches/patch-plugins_ZamHeadX2_Makefile
diff -u /dev/null pkgsrc/audio/zam-plugins/patches/patch-plugins_ZamHeadX2_Makefile:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/patches/patch-plugins_ZamHeadX2_Makefile   Wed Apr  6 16:32:21 2022
@@ -0,0 +1,34 @@
+$NetBSD: patch-plugins_ZamHeadX2_Makefile,v 1.1 2022/04/06 16:32:21 nia Exp $
+
+- Do not do static-linking on non-Linux.
+- The lv2 plugin segfaults during generation, disable it.
+
+--- plugins/ZamHeadX2/Makefile.orig    2020-12-20 06:54:49.000000000 +0000
++++ plugins/ZamHeadX2/Makefile
+@@ -40,13 +40,8 @@ endif
+ # --------------------------------------------------------------
+ # Extra flags
+ 
+-ifeq ($(LINUX),true)
+ BASE_FLAGS += $(shell pkg-config --cflags samplerate fftw3f)
+ LINK_FLAGS += $(shell pkg-config --libs fftw3f samplerate)
+-else
+-BASE_FLAGS += $(shell pkg-config --static --cflags samplerate fftw3f)
+-LINK_FLAGS += $(shell pkg-config --static --libs fftw3f samplerate)
+-endif
+ 
+ LINK_FLAGS += -lpthread
+ 
+@@ -56,12 +51,6 @@ ifeq ($(HAVE_JACK),true)
+ TARGETS += jack
+ endif
+ 
+-ifeq ($(HAVE_DGL),true)
+-TARGETS += lv2_sep
+-else
+-TARGETS += lv2_dsp
+-endif
+-
+ TARGETS += vst
+ 
+ all: $(TARGETS)
Index: pkgsrc/audio/zam-plugins/patches/patch-plugins_ZamVerb_Makefile
diff -u /dev/null pkgsrc/audio/zam-plugins/patches/patch-plugins_ZamVerb_Makefile:1.1
--- /dev/null   Wed Apr  6 16:32:21 2022
+++ pkgsrc/audio/zam-plugins/patches/patch-plugins_ZamVerb_Makefile     Wed Apr  6 16:32:21 2022
@@ -0,0 +1,34 @@
+$NetBSD: patch-plugins_ZamVerb_Makefile,v 1.1 2022/04/06 16:32:21 nia Exp $
+
+- Do not do static-linking on non-Linux.
+- The lv2 plugin segfaults during generation, disable it.
+
+--- plugins/ZamVerb/Makefile.orig      2020-12-20 06:54:49.000000000 +0000
++++ plugins/ZamVerb/Makefile
+@@ -41,13 +41,8 @@ endif
+ # --------------------------------------------------------------
+ # Extra flags
+ 
+-ifeq ($(LINUX),true)
+ BASE_FLAGS += $(shell pkg-config --cflags samplerate fftw3f)
+ LINK_FLAGS += $(shell pkg-config --libs fftw3f samplerate)
+-else
+-BASE_FLAGS += $(shell pkg-config --static --cflags samplerate fftw3f)
+-LINK_FLAGS += $(shell pkg-config --static --libs fftw3f samplerate)
+-endif
+ 
+ LINK_FLAGS += -lpthread
+ 
+@@ -57,12 +52,6 @@ ifeq ($(HAVE_JACK),true)
+ TARGETS += jack
+ endif
+ 
+-ifeq ($(HAVE_DGL),true)
+-TARGETS += lv2_sep
+-else
+-TARGETS += lv2_dsp
+-endif
+-
+ TARGETS += vst
+ 
+ all: $(TARGETS)



Home | Main Index | Thread Index | Old Index