rlottie-rs icon indicating copy to clipboard operation
rlottie-rs copied to clipboard

Option to compile vendored source from either Samsung or Telegram

Open msrd0 opened this issue 10 months ago • 1 comments

By default, rlottie-sys will keep searching for system-installed rlottie via pkg-config. If not found, it will download samsung's source and compile. Disabling vendor-samsung disables it, enabling vendor-telegram instead downloads telegram's source instead.

I took some inspiration from #56 but chose not to use the cmake crate since I didn't see any value in a poorly documented opinionated glorified wrapper around a binary. If all it did was search for cmake in different install locations and give me a nice api for specifying arguments that would be cool. But unfortunately it sets a bunch of crap without telling you and with no way of opting out. If they fix that and/or someone demonstrates how some obscure operating systems like Windows need that I'd be willing to revisit this decision.

I also added include paths similar to #57 which is now necessary since the vendored source won't be in a default search path.

msrd0 avatar Feb 23 '25 09:02 msrd0

Output of cargo public-api diff latest:
Removed items from the public API
=================================
(none)

Changed items in the public API
===============================
(none)

Added items to the public API
=============================
(none)

github-actions[bot] avatar Feb 23 '25 09:02 github-actions[bot]