JUCE
JUCE copied to clipboard
[Bug]: juce_add_plugin installs plugins only into the home directory - it should offer an option to install into the system directory
trafficstars
Detailed steps on how to reproduce the bug
This project calls juce_add_plugin:
juce_add_plugin(${PLUGIN_NAME}
VERSION ${BUILD_VERSION}
PLUGIN_NAME "RNNoise suppression for voice"
COMPANY_NAME werman
BUNDLE_ID my.werman.noise_suppression_for_voice
COPY_PLUGIN_AFTER_BUILD TRUE
PLUGIN_MANUFACTURER_CODE Werm # This has to be one uppercase, rest lower for AU formats
PLUGIN_CODE Rnn1 # A unique four-character plugin id with at least one upper-case character
FORMATS "${formats}"
PRODUCT_NAME "rnnoise${suffix}"
LV2URI "https://github.com/werman/noise-suppression-for-voice"
VST_COPY_DIR "lib/vst"
VST3_COPY_DIR "lib"
AU_COPY_DIR "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
LV2_COPY_DIR "lib")
This installs plugins back into build directory which was set as a home directory during build:
/usr/ports/audio/noise-suppression-for-voice-lv2/work/.build/src/juce_plugin/lib/rnnoise.vst3/Contents/x86_64-linux/rnnoise.so
/usr/ports/audio/noise-suppression-for-voice-lv2/work/.lv2/rnnoise_mono.lv2/dsp.ttl
/usr/ports/audio/noise-suppression-for-voice-lv2/work/.lv2/rnnoise_mono.lv2/librnnoise_mono.so
/usr/ports/audio/noise-suppression-for-voice-lv2/work/.lv2/rnnoise_mono.lv2/manifest.ttl
/usr/ports/audio/noise-suppression-for-voice-lv2/work/.lv2/rnnoise_mono.lv2/ui.ttl
/usr/ports/audio/noise-suppression-for-voice-lv2/work/.lv2/rnnoise_stereo.lv2/dsp.ttl
/usr/ports/audio/noise-suppression-for-voice-lv2/work/.lv2/rnnoise_stereo.lv2/librnnoise_stereo.so
/usr/ports/audio/noise-suppression-for-voice-lv2/work/.lv2/rnnoise_stereo.lv2/manifest.ttl
/usr/ports/audio/noise-suppression-for-voice-lv2/work/.lv2/rnnoise_stereo.lv2/ui.ttl
JUCE should allow to install plugins into the system path under lib/.
JUCE-7.0.5
What is the expected behaviour?
see above
Operating systems
Other
What versions of the operating systems?
FreeBSD 13.2 (irrelevant for this issue)
Architectures
x86_64
Stacktrace
No response
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the develop branch
The bug is present on the develop branch
Code of Conduct
- [X] I agree to follow the Code of Conduct