Set custom name for MOD builds

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-02-10 23:20:10 +00:00
parent 3ee5f8b90f
commit d672a75228
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
2 changed files with 8 additions and 4 deletions

View file

@ -1,6 +1,6 @@
/* /*
* DISTRHO Cardinal Plugin * DISTRHO Cardinal Plugin
* Copyright (C) 2021 Filipe Coelho <falktx@falktx.com> * Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com>
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as
@ -26,9 +26,15 @@
#define CARDINAL_NUM_AUDIO_OUTPUTS 2 #define CARDINAL_NUM_AUDIO_OUTPUTS 2
#define DISTRHO_PLUGIN_BRAND "DISTRHO" #define DISTRHO_PLUGIN_BRAND "DISTRHO"
#define DISTRHO_PLUGIN_URI "https://distrho.kx.studio/plugins/cardinal#fx"
#ifdef __MOD_DEVICES__
#define DISTRHO_PLUGIN_NAME "Cardinal Mini"
#define DISTRHO_PLUGIN_LABEL "CardinalMini"
#else
#define DISTRHO_PLUGIN_NAME "Cardinal FX" #define DISTRHO_PLUGIN_NAME "Cardinal FX"
#define DISTRHO_PLUGIN_LABEL "CardinalFX" #define DISTRHO_PLUGIN_LABEL "CardinalFX"
#define DISTRHO_PLUGIN_URI "https://distrho.kx.studio/plugins/cardinal#fx" #endif
#ifdef HEADLESS #ifdef HEADLESS
#define DISTRHO_PLUGIN_HAS_UI 0 #define DISTRHO_PLUGIN_HAS_UI 0

View file

@ -5,8 +5,6 @@
<https://distrho.kx.studio/plugins/cardinal#fx> <https://distrho.kx.studio/plugins/cardinal#fx>
lv2:requiredFeature state:loadDefaultState ; lv2:requiredFeature state:loadDefaultState ;
mod:brand "DISTRHO" ;
mod:label "CardinalFX" ;
modgui:gui [ modgui:gui [
modgui:resourcesDirectory <modgui> ; modgui:resourcesDirectory <modgui> ;
modgui:documentation <modgui/documentation.pdf>; modgui:documentation <modgui/documentation.pdf>;