Use DPF for AU support
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
669c374241
commit
86b7907526
8 changed files with 44 additions and 1263 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* DISTRHO Cardinal Plugin
|
||||
* Copyright (C) 2021-2023 Filipe Coelho <falktx@falktx.com>
|
||||
* Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
@ -33,6 +33,10 @@
|
|||
#define DISTRHO_PLUGIN_URI "https://distrho.kx.studio/plugins/cardinal"
|
||||
#define DISTRHO_PLUGIN_CLAP_ID "studio.kx.distrho.cardinal"
|
||||
|
||||
#define DISTRHO_PLUGIN_AU_TYPE aumf
|
||||
#define DISTRHO_PLUGIN_BRAND_ID Dstr
|
||||
#define DISTRHO_PLUGIN_UNIQUE_ID DcnM
|
||||
|
||||
#ifdef HEADLESS
|
||||
#define DISTRHO_PLUGIN_HAS_UI 0
|
||||
#define DISTRHO_PLUGIN_WANT_DIRECT_ACCESS 0
|
||||
|
@ -56,4 +60,6 @@
|
|||
#define DISTRHO_PLUGIN_USES_CUSTOM_MODGUI 1
|
||||
#define DISTRHO_PLUGIN_LV2_CATEGORY "mod:ControlVoltagePlugin, lv2:UtilityPlugin"
|
||||
|
||||
#define DPF_VST3_DONT_USE_BRAND_ID
|
||||
|
||||
#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* DISTRHO Cardinal Plugin
|
||||
* Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com>
|
||||
* Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
@ -31,6 +31,10 @@
|
|||
#define DISTRHO_PLUGIN_URI "https://distrho.kx.studio/plugins/cardinal#fx"
|
||||
#define DISTRHO_PLUGIN_CLAP_ID "studio.kx.distrho.cardinal#fx"
|
||||
|
||||
#define DISTRHO_PLUGIN_AU_TYPE aumf
|
||||
#define DISTRHO_PLUGIN_BRAND_ID Dstr
|
||||
#define DISTRHO_PLUGIN_UNIQUE_ID DcnF
|
||||
|
||||
#define DISTRHO_PLUGIN_NAME "Cardinal FX"
|
||||
#define DISTRHO_PLUGIN_LABEL "CardinalFX"
|
||||
|
||||
|
@ -58,4 +62,6 @@
|
|||
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:UtilityPlugin"
|
||||
#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Generator"
|
||||
|
||||
#define DPF_VST3_DONT_USE_BRAND_ID
|
||||
|
||||
#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* DISTRHO Cardinal Plugin
|
||||
* Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com>
|
||||
* Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
@ -19,6 +19,7 @@
|
|||
#define DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||
|
||||
#define CARDINAL_VARIANT_MAIN 0
|
||||
#define CARDINAL_VARIANT_MINI 0
|
||||
#define CARDINAL_VARIANT_FX 0
|
||||
#define CARDINAL_VARIANT_NATIVE 0
|
||||
#define CARDINAL_VARIANT_SYNTH 1
|
||||
|
@ -32,6 +33,10 @@
|
|||
#define DISTRHO_PLUGIN_URI "https://distrho.kx.studio/plugins/cardinal#synth"
|
||||
#define DISTRHO_PLUGIN_CLAP_ID "studio.kx.distrho.cardinal#synth"
|
||||
|
||||
#define DISTRHO_PLUGIN_AU_TYPE aumu
|
||||
#define DISTRHO_PLUGIN_BRAND_ID Dstr
|
||||
#define DISTRHO_PLUGIN_UNIQUE_ID DcnS
|
||||
|
||||
#ifdef HEADLESS
|
||||
#define DISTRHO_PLUGIN_HAS_UI 0
|
||||
#define DISTRHO_PLUGIN_WANT_DIRECT_ACCESS 0
|
||||
|
@ -53,4 +58,6 @@
|
|||
#define DISTRHO_PLUGIN_WANT_STATE 1
|
||||
#define DISTRHO_PLUGIN_WANT_TIMEPOS 1
|
||||
|
||||
#define DPF_VST3_DONT_USE_BRAND_ID
|
||||
|
||||
#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||
|
|
|
@ -203,6 +203,7 @@ LV2_RESOURCES = $(CORE_RESOURCES:%=$(TARGET_DIR)/$(NAME).lv2/resources/%)
|
|||
VST3_RESOURCES = $(CORE_RESOURCES:%=$(TARGET_DIR)/$(NAME).vst3/Contents/Resources/%)
|
||||
|
||||
ifeq ($(MACOS),true)
|
||||
AU_RESOURCES = $(CORE_RESOURCES:%=$(TARGET_DIR)/$(NAME).component/Contents/Resources/%)
|
||||
CLAP_RESOURCES = $(CORE_RESOURCES:%=$(TARGET_DIR)/$(NAME).clap/Contents/Resources/%)
|
||||
else
|
||||
CLAP_RESOURCES = $(CORE_RESOURCES:%=$(TARGET_DIR)/Cardinal.clap/resources/%)
|
||||
|
@ -418,16 +419,23 @@ TARGETS = jack
|
|||
else ifeq ($(CARDINAL_VARIANT),native)
|
||||
TARGETS = jack
|
||||
else
|
||||
TARGETS = lv2 vst2 vst3 clap static
|
||||
TARGETS = au clap lv2 vst2 vst3
|
||||
endif
|
||||
|
||||
all: $(TARGETS)
|
||||
lv2: $(LV2_RESOURCES)
|
||||
lv2_sep: $(LV2_RESOURCES)
|
||||
vst2: $(VST2_RESOURCES)
|
||||
vst3: $(VST3_RESOURCES)
|
||||
|
||||
au: $(AU_RESOURCES)
|
||||
|
||||
clap: $(CLAP_RESOURCES)
|
||||
|
||||
lv2: $(LV2_RESOURCES)
|
||||
|
||||
lv2_sep: $(LV2_RESOURCES)
|
||||
|
||||
vst2: $(VST2_RESOURCES)
|
||||
|
||||
vst3: $(VST3_RESOURCES)
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# Extra rules for macOS app bundle
|
||||
|
||||
|
@ -503,6 +511,14 @@ $(TARGET_DIR)/Cardinal.clap/resources/%: ../Rack/res/%
|
|||
-@mkdir -p "$(shell dirname $@)"
|
||||
$(SILENT)ln -sf $(abspath $<) $@
|
||||
|
||||
$(TARGET_DIR)/$(NAME).clap/Contents/Resources/%: ../Rack/res/%
|
||||
-@mkdir -p "$(shell dirname $@)"
|
||||
$(SILENT)ln -sf $(abspath $<) $@
|
||||
|
||||
$(TARGET_DIR)/$(NAME).component/Contents/Resources/%: ../Rack/res/%
|
||||
-@mkdir -p "$(shell dirname $@)"
|
||||
$(SILENT)ln -sf $(abspath $<) $@
|
||||
|
||||
$(TARGET_DIR)/$(NAME).vst/Contents/Resources/%: ../Rack/res/%
|
||||
-@mkdir -p "$(shell dirname $@)"
|
||||
$(SILENT)ln -sf $(abspath $<) $@
|
||||
|
@ -511,8 +527,4 @@ $(TARGET_DIR)/$(NAME).vst3/Contents/Resources/%: ../Rack/res/%
|
|||
-@mkdir -p "$(shell dirname $@)"
|
||||
$(SILENT)ln -sf $(abspath $<) $@
|
||||
|
||||
$(TARGET_DIR)/$(NAME).clap/Contents/Resources/%: ../Rack/res/%
|
||||
-@mkdir -p "$(shell dirname $@)"
|
||||
$(SILENT)ln -sf $(abspath $<) $@
|
||||
|
||||
# --------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue