mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
community/broot: upgrade to 1.21.3
Co-Authored-By: Jakub Jirutka <jakub@jirutka.cz>
This commit is contained in:
parent
bdc4c1b6ca
commit
a98d7c3d8c
@ -1,8 +1,8 @@
|
||||
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
||||
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
||||
pkgname=broot
|
||||
pkgver=1.18.0
|
||||
pkgrel=1
|
||||
pkgver=1.21.3
|
||||
pkgrel=0
|
||||
pkgdesc="New way to see and navigate directory trees"
|
||||
url="https://github.com/Canop/broot"
|
||||
# riscv64: TODO
|
||||
@ -21,6 +21,7 @@ subpackages="
|
||||
$pkgname-zsh-completion
|
||||
"
|
||||
source="https://github.com/Canop/broot/archive/v$pkgver/broot-$pkgver.tar.gz
|
||||
update-git2.patch
|
||||
image-features.patch
|
||||
syntect-without-onig.patch
|
||||
"
|
||||
@ -28,10 +29,11 @@ source="https://github.com/Canop/broot/archive/v$pkgver/broot-$pkgver.tar.gz
|
||||
export CARGO_PROFILE_RELEASE_OPT_LEVEL=2
|
||||
|
||||
prepare() {
|
||||
cargo fetch --locked --target="$CTARGET"
|
||||
|
||||
default_prepare
|
||||
|
||||
# Omit --locked to update Cargo.lock after patching Cargo.toml.
|
||||
cargo fetch --target="$CTARGET"
|
||||
cargo fetch --target="$CTARGET" # update after patching
|
||||
}
|
||||
|
||||
build() {
|
||||
@ -54,7 +56,8 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
99eec4bf77756450017bd780bab5de8bc853f40b9524b2545a48df08e641327c125804032b6349c39967685e137257fb1cd4a6b834052ea60c1374d77820b35f broot-1.18.0.tar.gz
|
||||
9528f5e5d3c387bd35c3459196a5dd4163b1fdce5b905c648729cf3e3c4ed9801e950c23173f7f7525d329fa4681113d9cf1b87b2d60dc65d4ac464a6c401e26 broot-1.21.3.tar.gz
|
||||
b913cd74cf4d734c1626427efbdcd5c55b4ddfdfdf18fb15743659890bfe265c4e9c463143b63e550d2feebecb90a5be6b3251ec09ba9dd85174973566c997a6 update-git2.patch
|
||||
4279757e6e44d797ed9cae545bf8c1d56a7e4d7cf66c453b91e313f57e20c2a22064274c4e9039ef73f2f1f1500699dbdfe8907b52752f65ea056f22238faf66 image-features.patch
|
||||
c2dc430f92ed76ab1aa97034e4c54e3039cb7a093d9bd8f81daaea604e135bb20b6cebd58721c18c13c7107a774c2e1aceb0a25466b2926775065bae5e958ad1 syntect-without-onig.patch
|
||||
"
|
||||
|
13
community/broot/update-git2.patch
Normal file
13
community/broot/update-git2.patch
Normal file
@ -0,0 +1,13 @@
|
||||
To link against system-provided libgit2.
|
||||
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -39 +39 @@
|
||||
-git2 = { version="0.14", default-features=false }
|
||||
+git2 = { version="0.16", default-features=false }
|
||||
@@ -73,3 +73,4 @@
|
||||
[dev-dependencies]
|
||||
-glassbench = "0.3.3"
|
||||
+# XXX: depends on old version of broot
|
||||
+#glassbench = "0.3.3"
|
||||
|
Loading…
Reference in New Issue
Block a user