From f2e0552ba7984d1e804954cf08e1995b2013c387 Mon Sep 17 00:00:00 2001 From: reuk Date: Wed, 2 Dec 2020 11:53:43 +0000 Subject: [PATCH] Build: Update docs for plugin- and manufacturer-code --- docs/CMake API.md | 8 +++++--- examples/CMake/AudioPlugin/CMakeLists.txt | 3 ++- extras/Projucer/Source/Project/jucer_Project.cpp | 6 ++++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/CMake API.md b/docs/CMake API.md index 5328f44cd5..8690721536 100644 --- a/docs/CMake API.md +++ b/docs/CMake API.md @@ -412,11 +412,13 @@ attributes directly to these creation functions, rather than adding them later. - `PLUGIN_MANUFACTURER_CODE` - A four-character unique ID for your company. For AU compatibility, this must contain at least - one upper-case letter. + one upper-case letter. GarageBand 10.3 requires the first letter to be upper-case, and the + remaining letters to be lower-case. - `PLUGIN_CODE` - - A four-character unique ID for your plugin. For AU compatibility, this must contain at least - one upper-case letter. + - A four-character unique ID for your plugin. For AU compatibility, this must contain exactly one + upper-case letter. GarageBand 10.3 requires the first letter to be upper-case, and the remaining + letters to be lower-case. - `DESCRIPTION` - A short description of your plugin. diff --git a/examples/CMake/AudioPlugin/CMakeLists.txt b/examples/CMake/AudioPlugin/CMakeLists.txt index 645d5ecea6..c808704ed6 100644 --- a/examples/CMake/AudioPlugin/CMakeLists.txt +++ b/examples/CMake/AudioPlugin/CMakeLists.txt @@ -49,7 +49,8 @@ juce_add_plugin(AudioPluginExample # EDITOR_WANTS_KEYBOARD_FOCUS TRUE/FALSE # Does the editor need keyboard focus? # COPY_PLUGIN_AFTER_BUILD TRUE/FALSE # Should the plugin be installed to a default location after building? PLUGIN_MANUFACTURER_CODE Juce # A four-character manufacturer id with at least one upper-case character - PLUGIN_CODE Dem0 # A unique four-character plugin id with at least one upper-case character + PLUGIN_CODE Dem0 # A unique four-character plugin id with exactly one upper-case character + # GarageBand 10.3 requires the first letter to be upper-case, and the remaining letters to be lower-case FORMATS AU VST3 Standalone # The formats to build. Other valid formats are: AAX Unity VST AU AUv3 PRODUCT_NAME "Audio Plugin Example") # The name of the final executable, which can differ from the target name diff --git a/extras/Projucer/Source/Project/jucer_Project.cpp b/extras/Projucer/Source/Project/jucer_Project.cpp index ea8bd28835..d2fed0b96d 100644 --- a/extras/Projucer/Source/Project/jucer_Project.cpp +++ b/extras/Projucer/Source/Project/jucer_Project.cpp @@ -1394,9 +1394,11 @@ void Project::createAudioPluginPropertyEditors (PropertyListBuilder& props) props.add (new TextPropertyComponent (pluginManufacturerValue, "Plugin Manufacturer", 256, false), "The name of your company (cannot be blank)."); props.add (new TextPropertyComponent (pluginManufacturerCodeValue, "Plugin Manufacturer Code", 4, false), - "A four-character unique ID for your company. Note that for AU compatibility, this must contain at least one upper-case letter!"); + "A four-character unique ID for your company. Note that for AU compatibility, this must contain at least one upper-case letter!" + " GarageBand 10.3 requires the first letter to be upper-case, and the remaining letters to be lower-case."); props.add (new TextPropertyComponent (pluginCodeValue, "Plugin Code", 4, false), - "A four-character unique ID for your plugin. Note that for AU compatibility, this must contain at least one upper-case letter!"); + "A four-character unique ID for your plugin. Note that for AU compatibility, this must contain exactly one upper-case letter!" + " GarageBand 10.3 requires the first letter to be upper-case, and the remaining letters to be lower-case."); props.add (new TextPropertyComponent (pluginChannelConfigsValue, "Plugin Channel Configurations", 1024, false), "This list is a comma-separated set list in the form {numIns, numOuts} and each pair indicates a valid plug-in " "configuration. For example {1, 1}, {2, 2} means that the plugin can be used either with 1 input and 1 output, "