commit:     e0ee07f6a5e5525b1a00f24ae01a795a11ce3520
Author:     Karl-Johan Karlsson <creideiki <AT> lysator <DOT> liu <DOT> se>
AuthorDate: Wed Apr 16 17:01:27 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 16 17:17:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0ee07f6

app-misc/broot: add 1.46.0

Signed-off-by: Karl-Johan Karlsson <creideiki <AT> lysator.liu.se>
Closes: https://github.com/gentoo/gentoo/pull/41618
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-misc/broot/Manifest            |  2 ++
 app-misc/broot/broot-1.46.0.ebuild | 64 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/app-misc/broot/Manifest b/app-misc/broot/Manifest
index b9006d7e4b8b..a2fabf69d59c 100644
--- a/app-misc/broot/Manifest
+++ b/app-misc/broot/Manifest
@@ -3,4 +3,6 @@ DIST broot-1.45.0-crates.tar.xz 39582336 BLAKE2B 
89ae02cd9c7e9c3b6c59b047f31937c
 DIST broot-1.45.0.tar.gz 15295901 BLAKE2B 
3fa45087a128e12dc62b4bd359d4513d96148e0bbd1b12244799d73dd724889d91a6707b64861d6d527288474d99491098fc3015c453357df8430c627cc7b5a6
 SHA512 
aaa1b5fa26fcb29939e74e37f9eb831d4d3f26399e91d84a1e8c1b346ccfed7d4726b209a881c6ba734817b6dc7dffebf5d2d4636bd145dff7ecd5ca47a6025c
 DIST broot-1.45.1-crates.tar.xz 39917872 BLAKE2B 
4aeb1c9e0c3ea4fb737c54e8f2c7d072edde0df8fda6d748a55c6f17b8c79d289e8466ec10339ddfce0d2e7621957b973292338cb2699b6bb99c1db3493f5eda
 SHA512 
0d9be02646778763898f883c3cd8d1bb96ac213554578507543f8390f5477aa2824ebe4e850ca3cf715cc522de29e4045b1447f724c348b6c68160b9d241b545
 DIST broot-1.45.1.tar.gz 15294917 BLAKE2B 
a1ea6c9b84ddd163f2ce1e36246913b1d23e2007664449b2fd8a4d02344e3fa0b1e469588cc81e554f6633f62c550ea7c9b828e9c6f81422e94253c29df9b589
 SHA512 
f74f5b37b11ab1f74d1f17f9b9f9d243106527b134251fc1ebbf7e73fbfd1b2fcac990f2326357f8778e469ba47146efa2baa57711481bdada65c797dc08c377
+DIST broot-1.46.0-crates.tar.xz 39940716 BLAKE2B 
6386475dd222b2d8e55dad5f209e93e95298dc0dbc6762a217e58dae7fb22ad2695b5183682ed465c19ca42c05902ec5323619b8d2d5890675f4ab43d6ad35d6
 SHA512 
6b12f3132da6ec7be9ae207062ab103da2fbde45866e04a0bab6d6a775751d848adae3a279ba97f7cc876646657a0e52e1df9207283b5e4e17b28da2a320cc81
+DIST broot-1.46.0.tar.gz 15296432 BLAKE2B 
afcaadd0978dd7ed03f1f8daf7abd3df0cb996b960addd63f854495db94ebee658890d9cdfc187d59fbb959c89fce9c89c236a29543fe21e0d7da69fae9a8972
 SHA512 
0adc37d03ddeda845b3ddfc7b8bf9bd2da3b75b6bdaf73c9c20ef5487bc573b72447b6857056010ae67bdff6017a7afad2c99ef0b390d02e62ac6daed537d5a6
 DIST broot-v1.44.7-crates.tar.xz 39582336 BLAKE2B 
89ae02cd9c7e9c3b6c59b047f31937c47dfc7c4ac78142e5450c7344f31befbe6b06ebd0fd46862fd999ff5d7f0e44f05fb14b74124f8161b357911247efac6a
 SHA512 
4c38004278753a0acfb1335849fe933c1b1bf58edc90b8669d49f1d8fe9e972382575f8ba67fb6d4f936da0957c4208ca98a7adc09618fc55d5a1ec0fafd829b

diff --git a/app-misc/broot/broot-1.46.0.ebuild 
b/app-misc/broot/broot-1.46.0.ebuild
new file mode 100644
index 000000000000..724f7228de57
--- /dev/null
+++ b/app-misc/broot/broot-1.46.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUST_MIN_VER="1.79.0"
+inherit cargo shell-completion
+
+DESCRIPTION="A new way to see and navigate directory trees"
+HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot";
+SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" 
https://github.com/gentoo-crate-dist/broot/releases/download/v${PV}/${P}-crates.tar.xz";
+
+LICENSE="Apache-2.0"
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
+       LGPL-3+ MIT MPL-2.0 UoI-NCSA Unicode-3.0 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="X"
+
+DEPEND="
+       dev-db/sqlite:3
+       dev-libs/libgit2:=
+       sys-libs/zlib
+       X? ( x11-libs/libxcb:= )
+"
+RDEPEND="${DEPEND}"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+src_prepare() {
+       default
+
+       local mandate=$(date -r man/page +'%Y/%m/%d' || die)
+       sed -e "s|#version|${PV}|" \
+               -e "s|#date|${mandate}|" \
+               man/page > "${T}"/${PN}.1 || die
+}
+
+src_configure() {
+       export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
+       export RUSTFLAGS="-Cstrip=none ${RUSTFLAGS}" #835400
+       local myfeatures=( $(usev X clipboard) trash )
+
+       cargo_src_configure --no-default-features
+}
+
+src_install() {
+       cargo_src_install
+
+       doman "${T}"/${PN}.1
+
+       local build_dir=( "$(cargo_target_dir)"/build/${PN}-*/out )
+       cd ${build_dir[0]} || die
+
+       newbashcomp ${PN}.bash ${PN}
+       newbashcomp br.bash br
+
+       dozshcomp _${PN} _br
+       dofishcomp ${PN}.fish br.fish
+}

Reply via email to