diff options
author | nia <nia@pkgsrc.org> | 2022-04-06 16:32:21 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-04-06 16:32:21 +0000 |
commit | d5bafb19c1cb972e9fa3eef754b202c78b27def3 (patch) | |
tree | ca6eff71496d5649e0c037c853c30e4bdb15e736 /audio | |
parent | 9fc818f5834bbaedbb560e8f2a5ce9ae179e3e5f (diff) | |
download | pkgsrc-d5bafb19c1cb972e9fa3eef754b202c78b27def3.tar.gz |
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 (limited to 'audio')
-rw-r--r-- | audio/Makefile | 3 | ||||
-rw-r--r-- | audio/zam-plugins/DESCR | 22 | ||||
-rw-r--r-- | audio/zam-plugins/Makefile | 23 | ||||
-rw-r--r-- | audio/zam-plugins/PLIST | 108 | ||||
-rw-r--r-- | audio/zam-plugins/distinfo | 14 | ||||
-rw-r--r-- | audio/zam-plugins/options.mk | 20 | ||||
-rw-r--r-- | audio/zam-plugins/patches/patch-Makefile | 40 | ||||
-rw-r--r-- | audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile | 15 | ||||
-rw-r--r-- | audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile | 15 | ||||
-rw-r--r-- | audio/zam-plugins/patches/patch-lib_zita-convolver-4.0.0_zita-convolver.h | 16 | ||||
-rw-r--r-- | audio/zam-plugins/patches/patch-plugins_ZamHeadX2_Makefile | 34 | ||||
-rw-r--r-- | audio/zam-plugins/patches/patch-plugins_ZamVerb_Makefile | 34 |
12 files changed, 343 insertions, 1 deletions
diff --git a/audio/Makefile b/audio/Makefile index e2ecc978409..3bd0ea81f55 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -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" diff --git a/audio/zam-plugins/DESCR b/audio/zam-plugins/DESCR new file mode 100644 index 00000000000..820100f2247 --- /dev/null +++ b/audio/zam-plugins/DESCR @@ -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 --git a/audio/zam-plugins/Makefile b/audio/zam-plugins/Makefile new file mode 100644 index 00000000000..7cbe5699751 --- /dev/null +++ b/audio/zam-plugins/Makefile @@ -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 +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 --git a/audio/zam-plugins/PLIST b/audio/zam-plugins/PLIST new file mode 100644 index 00000000000..28a355b0a41 --- /dev/null +++ b/audio/zam-plugins/PLIST @@ -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 --git a/audio/zam-plugins/distinfo b/audio/zam-plugins/distinfo new file mode 100644 index 00000000000..35acb79d411 --- /dev/null +++ b/audio/zam-plugins/distinfo @@ -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 --git a/audio/zam-plugins/options.mk b/audio/zam-plugins/options.mk new file mode 100644 index 00000000000..646f4c275e8 --- /dev/null +++ b/audio/zam-plugins/options.mk @@ -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 --git a/audio/zam-plugins/patches/patch-Makefile b/audio/zam-plugins/patches/patch-Makefile new file mode 100644 index 00000000000..6b2cb9dc842 --- /dev/null +++ b/audio/zam-plugins/patches/patch-Makefile @@ -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 --git a/audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile b/audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile new file mode 100644 index 00000000000..a2756268e88 --- /dev/null +++ b/audio/zam-plugins/patches/patch-dpf_examples_ExternalUI_Makefile @@ -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 --git a/audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile b/audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile new file mode 100644 index 00000000000..af5a7145900 --- /dev/null +++ b/audio/zam-plugins/patches/patch-dpf_utils_lv2-ttl-generator_GNUmakefile @@ -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 + diff --git a/audio/zam-plugins/patches/patch-lib_zita-convolver-4.0.0_zita-convolver.h b/audio/zam-plugins/patches/patch-lib_zita-convolver-4.0.0_zita-convolver.h new file mode 100644 index 00000000000..aac2e99cf1f --- /dev/null +++ b/audio/zam-plugins/patches/patch-lib_zita-convolver-4.0.0_zita-convolver.h @@ -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> + diff --git a/audio/zam-plugins/patches/patch-plugins_ZamHeadX2_Makefile b/audio/zam-plugins/patches/patch-plugins_ZamHeadX2_Makefile new file mode 100644 index 00000000000..8904b17db1a --- /dev/null +++ b/audio/zam-plugins/patches/patch-plugins_ZamHeadX2_Makefile @@ -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) diff --git a/audio/zam-plugins/patches/patch-plugins_ZamVerb_Makefile b/audio/zam-plugins/patches/patch-plugins_ZamVerb_Makefile new file mode 100644 index 00000000000..fe3a7847853 --- /dev/null +++ b/audio/zam-plugins/patches/patch-plugins_ZamVerb_Makefile @@ -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) |