commit: 5965a9ab532a0d1fe2c930e754bfafddd278e105 Author: Karl-Johan Karlsson <creideiki <AT> lysator <DOT> liu <DOT> se> AuthorDate: Mon Feb 9 17:46:04 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 11 03:43:16 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5965a9ab
app-misc/broot: add 1.55.0 Signed-off-by: Karl-Johan Karlsson <creideiki <AT> lysator.liu.se> Part-of: https://github.com/gentoo/gentoo/pull/45712 Closes: https://github.com/gentoo/gentoo/pull/45712 Signed-off-by: Sam James <sam <AT> gentoo.org> app-misc/broot/Manifest | 2 ++ app-misc/broot/broot-1.55.0.ebuild | 64 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/app-misc/broot/Manifest b/app-misc/broot/Manifest index 137d4f895fb0..d122df2e9196 100644 --- a/app-misc/broot/Manifest +++ b/app-misc/broot/Manifest @@ -2,3 +2,5 @@ DIST broot-1.51.0-crates.tar.xz 41184028 BLAKE2B bb12493a425b85050e12b0725021ec2 DIST broot-1.51.0.tar.gz 15378188 BLAKE2B ba1dcf3c735d8053a3a0bb98b73a18718990e63bf8d7a0d75571cd29970ebe5779e9efe728bdfd1fd75862eb6c1413b87551fc96d170eeb787a8c7277a03a6a5 SHA512 b349077e07deefc06c9ee8215cc7d8b7f9e342bbb5376910bdfc0322e84aa1112406dc7729015c18b0f13765e268e3c452d0331f5e9e0ea6ab84f8185035739c DIST broot-1.54.0-crates.tar.xz 47278612 BLAKE2B e180773a2f48f7d6b1977e2b05a8a0bc864261e7a1c3dd2aab9a140176a656f89b0c6ed634737d007b51a4af416eaae766ce7b8c373f031bc3e5f2d1404bd475 SHA512 767ef36150875d15621178514549ec64501dcc379add3c57dee837651e6826347ab3c7fd8bca1d02d9dc4d345cc756520d32cfad3ee61f8277d4311579460ae0 DIST broot-1.54.0.tar.gz 13736739 BLAKE2B 1ca1ebc4504d06c50ff5376c8bb1a17a6922e93092ca42a1e7498afd1c0fb1e6da84e57100c14bafb960d4153c7427c60e69f504d710909e66c17d8a2b0e32bc SHA512 3503446a30ed63471d703d68db136af22760c5bd4cd17af0fe207e083f3d7fa3672e9003de6ca87f0c2b418396a30cade791b4817c77c370403abc9a55a719b8 +DIST broot-1.55.0-crates.tar.xz 47044428 BLAKE2B 560dad07c679b87f0a6708770bde9fe4257ba45dc87d2f0ad2548fffc3d325cb31c14cec14d1554b1df9c4465d83c57aef2bb594c6ba174a03b2298d0ad92441 SHA512 3da317bffc5134b0099d07635838691caa1a38de5672fd6bbffee6eda1739528948afc13320928fb6d826669b3addbe9dc2a3490b8ca9d5b9d432182518ea71b +DIST broot-1.55.0.tar.gz 14593279 BLAKE2B c14624dd5a12436a12bdb17b37fcb58e9b0983eae5cf81dd2de422058def43d342c5b27260e2cfb48c49f6a00e7a531ef8962a1108b965491665e355e6e95edc SHA512 a4157b5322f2904139fec09962131a3581e899934830f05eb03516032c6aaba1aa19f177ecdd8f676957cc85255b0b36fe2826a733fe096aef01f79ad513d966 diff --git a/app-misc/broot/broot-1.55.0.ebuild b/app-misc/broot/broot-1.55.0.ebuild new file mode 100644 index 000000000000..d54425e7c400 --- /dev/null +++ b/app-misc/broot/broot-1.55.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RUST_MIN_VER="1.85.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:= + virtual/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) ) + + 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 +}
