gitui: rebuild for libgit2

closes #43435
This commit is contained in:
Marcin Puc 2023-06-10 13:39:34 +02:00 committed by classabbyamp
parent 81456fb99c
commit 56026ee06a
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,13 @@
diff --git a/asyncgit/Cargo.toml b/asyncgit/Cargo.toml
index 5ab4da1..f17fbbe 100644
--- a/asyncgit/Cargo.toml
+++ b/asyncgit/Cargo.toml
@@ -14,7 +14,7 @@ keywords = ["git"]
[dependencies]
crossbeam-channel = "0.5"
easy-cast = "0.5"
-git2 = "0.15"
+git2 = "0.17"
log = "0.4"
# git2 = { path = "../../extern/git2-rs", features = ["vendored-openssl"]}
# git2 = { git="https://github.com/extrawurst/git2-rs.git", rev="fc13dcc", features = ["vendored-openssl"]}

View file

@ -1,8 +1,9 @@
# Template file for 'gitui'
pkgname=gitui
version=0.22.1
revision=1
revision=2
build_style=cargo
make_check_args="-- --skip components::textinput::tests::test_visualize_newline"
hostmakedepends="pkg-config python3"
makedepends="libxcb-devel libgit2-devel"
short_desc="Blazing fast terminal-ui for git"
@ -13,6 +14,10 @@ changelog="https://github.com/extrawurst/gitui/raw/master/CHANGELOG.md"
distfiles="https://github.com/extrawurst/gitui/archive/refs/tags/v${version}.tar.gz"
checksum=285e86c136ee7f410fdd52c5284ccf0d19011cc5f7709e5e10bb02f439a218ea
post_patch() {
cargo update --package git2@0.15.0 --precise 0.17.2
}
post_install() {
vlicense LICENSE.md
}