gentoo / cargo-ebuild

[MIRROR] cargo extension that can generate ebuilds using the in-tree eclasses
https://gitweb.gentoo.org/proj/cargo-ebuild.git
Apache License 2.0
33 stars 10 forks source link

-sys crates handling #6

Open gyakovlev opened 3 years ago

gyakovlev commented 3 years ago

https://github.com/cardoe/cargo-ebuild/issues/30 https://bugs.gentoo.org/709568

Some binding -sys crates are known to build private copy of a library by default, or if it's not found. cargo-ebuild could maintain a list of know offenders and warn about extra dependencies, or even fill out ebuild. also such ebuilds often need virtual/pkgconfig dep.

lu-zero commented 3 years ago

If system-deps is used for the -sys crates we could have more control through standardized env vars.

thesamesam commented 2 years ago

This would be really helpful for helping folks not familiar with packaging Rust in Gentoo, as I often have to share my list of workarounds from the various ebuilds right now.