From 2b1bda1831a00b8c35d6f7f26a6375c6d96cf22c Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 21 Oct 2022 23:40:21 +0100 Subject: [PATCH] Enable clap builds Signed-off-by: falkTX --- plugins/AmplitudeImposer/DistrhoPluginInfo.h | 10 ++++++---- plugins/AmplitudeImposer/Makefile | 8 ++------ plugins/CycleShifter/DistrhoPluginInfo.h | 10 +++++++--- plugins/CycleShifter/Makefile | 8 ++------ plugins/SoulForce/DistrhoPluginInfo.h | 10 ++++++---- plugins/SoulForce/Makefile | 8 ++------ 6 files changed, 25 insertions(+), 29 deletions(-) diff --git a/plugins/AmplitudeImposer/DistrhoPluginInfo.h b/plugins/AmplitudeImposer/DistrhoPluginInfo.h index eadc15a..27e0dbb 100644 --- a/plugins/AmplitudeImposer/DistrhoPluginInfo.h +++ b/plugins/AmplitudeImposer/DistrhoPluginInfo.h @@ -25,9 +25,10 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED -#define DISTRHO_PLUGIN_BRAND "DISTRHO" -#define DISTRHO_PLUGIN_NAME "Amplitude Imposr" -#define DISTRHO_PLUGIN_URI "http://www.niallmoody.com/ndcplugs/ampimposer.htm" +#define DISTRHO_PLUGIN_BRAND "DISTRHO" +#define DISTRHO_PLUGIN_NAME "Amplitude Imposr" +#define DISTRHO_PLUGIN_URI "http://www.niallmoody.com/ndcplugs/ampimposer.htm" +#define DISTRHO_PLUGIN_CLAP_ID "niallmoody.ndcplugs.ampimposer" #define DISTRHO_PLUGIN_HAS_UI 1 #define DISTRHO_PLUGIN_IS_RT_SAFE 1 @@ -35,7 +36,8 @@ #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 #define DISTRHO_PLUGIN_WANT_PROGRAMS 1 +#define DISTRHO_PLUGIN_CLAP_FEATURES "audio-effect", "utility", "stereo" #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:AmplifierPlugin" -#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Dynamics" +#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Dynamics|Stereo" #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/AmplitudeImposer/Makefile b/plugins/AmplitudeImposer/Makefile index 974172a..eee2cce 100644 --- a/plugins/AmplitudeImposer/Makefile +++ b/plugins/AmplitudeImposer/Makefile @@ -29,8 +29,10 @@ include ../../dpf/Makefile.plugins.mk # -------------------------------------------------------------- # Enable all possible plugin types +TARGETS += clap TARGETS += jack TARGETS += ladspa +TARGETS += lv2_sep TARGETS += vst2 TARGETS += vst3 @@ -40,12 +42,6 @@ TARGETS += dssi endif endif -ifeq ($(HAVE_CAIRO_OR_OPENGL),true) -TARGETS += lv2_sep -else -TARGETS += lv2_dsp -endif - all: $(TARGETS) # -------------------------------------------------------------- diff --git a/plugins/CycleShifter/DistrhoPluginInfo.h b/plugins/CycleShifter/DistrhoPluginInfo.h index 1a253cb..edc3583 100644 --- a/plugins/CycleShifter/DistrhoPluginInfo.h +++ b/plugins/CycleShifter/DistrhoPluginInfo.h @@ -25,9 +25,10 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED -#define DISTRHO_PLUGIN_BRAND "DISTRHO" -#define DISTRHO_PLUGIN_NAME "Cycle Shifter" -#define DISTRHO_PLUGIN_URI "http://www.niallmoody.com/ndcplugs/cycleshifter.htm" +#define DISTRHO_PLUGIN_BRAND "DISTRHO" +#define DISTRHO_PLUGIN_NAME "Cycle Shifter" +#define DISTRHO_PLUGIN_URI "http://www.niallmoody.com/ndcplugs/cycleshifter.htm" +#define DISTRHO_PLUGIN_CLAP_ID "niallmoody.ndcplugs.cycleshifter" #define DISTRHO_PLUGIN_HAS_UI 1 #define DISTRHO_PLUGIN_IS_RT_SAFE 1 @@ -35,4 +36,7 @@ #define DISTRHO_PLUGIN_NUM_OUTPUTS 1 #define DISTRHO_PLUGIN_WANT_PROGRAMS 1 +#define DISTRHO_PLUGIN_CLAP_FEATURES "audio-effect", "stereo" +#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Stereo" + #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/CycleShifter/Makefile b/plugins/CycleShifter/Makefile index 15be344..8aba6d1 100644 --- a/plugins/CycleShifter/Makefile +++ b/plugins/CycleShifter/Makefile @@ -29,8 +29,10 @@ include ../../dpf/Makefile.plugins.mk # -------------------------------------------------------------- # Enable all possible plugin types +TARGETS += clap TARGETS += jack TARGETS += ladspa +TARGETS += lv2_sep TARGETS += vst2 TARGETS += vst3 @@ -40,12 +42,6 @@ TARGETS += dssi endif endif -ifeq ($(HAVE_CAIRO_OR_OPENGL),true) -TARGETS += lv2_sep -else -TARGETS += lv2_dsp -endif - all: $(TARGETS) # -------------------------------------------------------------- diff --git a/plugins/SoulForce/DistrhoPluginInfo.h b/plugins/SoulForce/DistrhoPluginInfo.h index 3f0419f..aaf42cb 100644 --- a/plugins/SoulForce/DistrhoPluginInfo.h +++ b/plugins/SoulForce/DistrhoPluginInfo.h @@ -25,9 +25,10 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED -#define DISTRHO_PLUGIN_BRAND "DISTRHO" -#define DISTRHO_PLUGIN_NAME "Soul Force" -#define DISTRHO_PLUGIN_URI "http://www.niallmoody.com/ndcplugs/soulforce.htm" +#define DISTRHO_PLUGIN_BRAND "DISTRHO" +#define DISTRHO_PLUGIN_NAME "Soul Force" +#define DISTRHO_PLUGIN_URI "http://www.niallmoody.com/ndcplugs/soulforce.htm" +#define DISTRHO_PLUGIN_CLAP_ID "niallmoody.ndcplugs.soulforce" #define DISTRHO_PLUGIN_HAS_UI 1 #define DISTRHO_PLUGIN_IS_RT_SAFE 1 @@ -35,7 +36,8 @@ #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 #define DISTRHO_PLUGIN_WANT_PROGRAMS 1 +#define DISTRHO_PLUGIN_CLAP_FEATURES "audio-effect", "distortion", "stereo" #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:WaveshaperPlugin" -#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Distortion" +#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Distortion|Stereo" #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/SoulForce/Makefile b/plugins/SoulForce/Makefile index d965691..23b36f6 100644 --- a/plugins/SoulForce/Makefile +++ b/plugins/SoulForce/Makefile @@ -29,8 +29,10 @@ include ../../dpf/Makefile.plugins.mk # -------------------------------------------------------------- # Enable all possible plugin types +TARGETS += clap TARGETS += jack TARGETS += ladspa +TARGETS += lv2_sep TARGETS += vst2 TARGETS += vst3 @@ -40,12 +42,6 @@ TARGETS += dssi endif endif -ifeq ($(HAVE_CAIRO_OR_OPENGL),true) -TARGETS += lv2_sep -else -TARGETS += lv2_dsp -endif - all: $(TARGETS) # --------------------------------------------------------------