dev-vcs/jj: add USE flags to live ebuild

This adds a git2 USE flag (enabled by default) to
match the git2 feature flag added by upstream.

This also adds a gix-max-performance USE flag to
match an existing featre flag. Upstream recommends
this be enabled by packagers, but I've left it
disabled by default here, as it comes with both a
dependency on cmake (for an unfortunately-vendored
zlib-ng) and potential incompatibilties (since it
uses assembly versions of SHA1 code in gitoxide).

Signed-off-by: demize <demize@unstable.systems>
This commit is contained in:
demize
2025-03-16 14:29:04 -04:00
parent da4a46ee96
commit 53fecf70e7
2 changed files with 30 additions and 5 deletions

View File

@@ -8,4 +8,10 @@
<upstream>
<remote-id type="github">jj-vcs/jj</remote-id>
</upstream>
<use>
<flag name="git2">Enables transitory support for <pkg>dev-libs/libgit2</pkg>.</flag>
<flag name="gix-max-performance">
Enables the "max-performance" feature when building gitoxide, allowing gitoxide to achieve better performance at the cost of wider compatibility.
</flag>
</use>
</pkgmetadata>