clack icon indicating copy to clipboard operation
clack copied to clipboard

Create bundles on macOS

Open BenLeadbetter opened this issue 2 years ago • 2 comments

I noticed that on macOS the example plugins are just raw binary files. Most tooling expects a "bundle" for a clap plugins with a Info.plist, etc. I'm only able to load the examples in REAPER, or validate with the clap-validator after I manually wrap the dynamic libraries into a basic bundle.

Should we consider integrating with tools like cargo-bundle to have this stuff happen automatically?

BenLeadbetter avatar Jan 31 '24 21:01 BenLeadbetter

I think managing the generation of the output bundles is outside of the scope for Clack (which is only a safe wrapper around the CLAP APIs), and is something better suited to be implemented by higher-level plugin frameworks that already handle cross-API/cross-platform bundle generation.

That being said, I think it would be beneficial to use something like cargo-bundle for the examples instead of integrating it into Clack directly. That way people would have an easier time to get the examples up and running in actual hosts.

However, I don't have a macOS machine available to test things, and to be fair I have absolutely no knowledge of how things are handled on macOS at all, so I'd definitely welcome help and contributions on that front. :slightly_smiling_face:

prokopyl avatar Feb 08 '24 00:02 prokopyl