mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-misc/onefetch: unbundle libgit2
* The libgit2-sys crate dynamically links to system lib, if provided, before falling back to building and statically linking it. Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -432,7 +432,13 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-missing-git-repo.patch
|
||||
)
|
||||
|
||||
# libgit2-sys-${cver}+${sover} dynamically links to libgit2.so, if provided
|
||||
# check https://github.com/rust-lang/git2-rs/blob/libgit2-sys-${cver}%2B${sover}/libgit2-sys/build.rs
|
||||
# and Cargo.lock before dep bump
|
||||
DEPEND=">=dev-libs/libgit2-1.6.4 <dev-libs/libgit2-1.7.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="test? ( dev-vcs/git )"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/onefetch"
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user