mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Add CLAP whenever mentioning yabridge libs
This commit is contained in:
@@ -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)?;
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
@@ -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.",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user