Add CLAP whenever mentioning yabridge libs

This commit is contained in:
Robbert van der Helm
2022-08-23 15:36:05 +02:00
parent beed7963ec
commit 98bb4a019b
11 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -311,7 +311,7 @@ pub fn do_sync(config: &mut Config, options: &SyncOptions) -> Result<()> {
// `utils::normalize_path()` so that the reported numbers are still correct when encountering
// overlapping symlinked paths.
let mut managed_plugins: HashSet<PathBuf> = HashSet::new();
// The plugins we created a new copy of `libyabridge-chainloader-{vst2,vst3}.so` for. We don't
// The plugins we created a new copy of `libyabridge-chainloader-{clap,vst2,vst3}.so` for. We don't
// touch these files if they're already up to date to prevent hosts from unnecessarily
// rescanning the plugins.
let mut new_plugins: HashSet<PathBuf> = HashSet::new();
@@ -710,7 +710,7 @@ pub fn do_sync(config: &mut Config, options: &SyncOptions) -> Result<()> {
return Ok(());
}
// The path setup is to make sure that the `libyabridge-chainloader-{vst2,vst3}.so` copies can
// The path setup is to make sure that the `libyabridge-chainloader-{clap,vst2,vst3}.so` copies can
// find `yabridge-host.exe` and by extension the plugin libraries. That last part should already
// be the case if we get to this point though.
verify_path_setup(config)?;
+2 -2
View File
@@ -63,7 +63,7 @@ const YABRIDGE_VST3_HOME: &str = ".vst3/yabridge";
#[derive(Debug, Default, Deserialize, Serialize)]
#[serde(default)]
pub struct Config {
/// The path to the directory containing `libyabridge-{chainloader,}-{vst2,vst3}.so`. If not
/// The path to the directory containing `libyabridge-{chainloader,}-{clap,vst2,vst3}.so`. If not
/// set, then yabridgectl will look in `/usr/lib` and `$XDG_DATA_HOME/yabridge` since those are
/// the expected locations for yabridge to be installed in.
pub yabridge_home: Option<PathBuf>,
@@ -314,7 +314,7 @@ impl Config {
/// Fetch the XDG base directories for yabridge's own files, converting any error messages if this
/// somehow fails into a printable string to reduce boiler plate. This is used when searching for
/// `libyabridge-chainloader-{vst2,vst3}.so` when no explicit search path has been set.
/// `libyabridge-chainloader-{clap,vst2,vst3}.so` when no explicit search path has been set.
pub fn yabridge_directories() -> Result<BaseDirectories> {
BaseDirectories::with_prefix(YABRIDGE_PREFIX).context("Error while parsing base directories")
}
+2 -2
View File
@@ -130,11 +130,11 @@ fn main() -> Result<()> {
.long("path")
.help(
"Path to the directory containing \
'libyabridge-chainloader-{vst2,vst3}.so'",
'libyabridge-chainloader-{clap,vst2,vst3}.so'",
)
.long_help(
"Path to the directory containing \
'libyabridge-chainloader-{vst2,vst3}.so'. If this is not set, then \
'libyabridge-chainloader-{clap,vst2,vst3}.so'. If this is not set, then \
yabridgectl will look in both '/usr/lib' and \
'~/.local/share/yabridge' by default.",
)