diff options
Diffstat (limited to 'app-misc/broot')
-rw-r--r-- | app-misc/broot/Manifest | 2 | ||||
-rw-r--r-- | app-misc/broot/broot-1.12.0.ebuild | 273 |
2 files changed, 275 insertions, 0 deletions
diff --git a/app-misc/broot/Manifest b/app-misc/broot/Manifest index c7309e5e8d06..d65f215ce7eb 100644 --- a/app-misc/broot/Manifest +++ b/app-misc/broot/Manifest @@ -27,6 +27,7 @@ DIST bincode-1.3.3.crate 28958 BLAKE2B ea01d2efd8149ecba5e240ed989268b683d542a5f DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST broot-1.10.0.tar.gz 9419669 BLAKE2B 6b8bf45b13d3f95488677f6c5322bb74f0c60d51b6686760a6d8aa0c53e9705c7e2c6120868433be38324f4ec38c2506bfb32f67a645fc9dfd23f49b46807e9b SHA512 24a098eb1f2ff428030e84ca8a875169291b830bf6b64ca4f2442aede80ffbcee9297ca1dd17183b03621a9d6352d9c1fec85db8a3afe7f4cbe630a70a521caf DIST broot-1.11.1.tar.gz 10039048 BLAKE2B 5d52bf08658a117d6240f9f0502f6b366fab8516c3e7638611b5397ea1981405c77d788539c6d4c957c64298014980461b97156350c982dc9c0c5097ef7f3981 SHA512 dd8478a904df85999221a8e6466d3025de0d80ad9f7f1d1d0627a103893a6de3f379c1434ac59afe534bb28bda9a3ea0c269efe7d3266bdf87cbc5efcf07421f +DIST broot-1.12.0.tar.gz 10041150 BLAKE2B f6c47b137844d2615389552a9e245003ab2c5c1bb7b266e8d89e729ea1218c01f8924b378f892386ca5154085f5f1ba5052a2e7ba5e477a1c5053970d1688a40 SHA512 47d4940c077d782b79e1fde6a74eac42ac60444a078a2d96d8fbb9cf9ded2f3753ff6cc4f0983df849234535e750f881d0bebae3fe625a121d2b23652c7ef6b9 DIST broot-1.8.1.tar.gz 9417690 BLAKE2B 499cd7fc32c7a7151a2ea0599e4c9332162a235a83a22e953b0f4dad098c95320986352f0129eacc4b4feb8d68c81276274bd9d8072ade8158fb89bb5a0c6048 SHA512 ddd84d7dad2416c63bcab2e8e72375aa14b4748a5a29708c47b7df5f4a203691ad8d0587dde1ba961658195fe6ecfea154729bcfd7e757777a53a16cde9f2a09 DIST broot-1.9.2.tar.gz 9421208 BLAKE2B 15f0df8f69d0a3a70a025cebe2e930381a7b198d2e70f7effb81bc4bec4b5b1f8095167512ae592ae0682abf1cf6853d33415be05bdd7e1e54b24ae573248d3a SHA512 3bd69d58913866a7bad11d97dc50a9eb22b0ceb4536a0a78b1b76bb2b83fbedc6feaf8d0f0500db30191f93e6d7cb369ea440e9857cdfb85f967b29a65053605 DIST broot-1.9.3.tar.gz 9418812 BLAKE2B 02e007f8ab1faa3d7297b7106166311f7eaa4aa37e13fb82a9200ab84c9cce6bab4c2ae892a75290f2982391a4e55a3ab07cdb0cbc9878c6367ae35b464bb143 SHA512 dec999d5b00dfad7ff7104244774f124b7d4d4e7b9cedbc7c0bbda2df7be01622c65e3fa88abc6483621b697b18868bca481c82a2d4407cac1138a3f7fc5f28c @@ -286,6 +287,7 @@ DIST xterm-query-0.1.0.crate 5662 BLAKE2B fe75d2e7d4e493a3dfc0105dd61e923910f890 DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a66eb54d4e166b965cc84b1e06cd17bd992a0d6ee175d9a73a76e2b44a13167246383ed054afcf3cc1710b309cb SHA512 7621dc8dfd5e7d4a7a8805b2a7e8319b63b852367655f2359d4e3e8fec6c4fad52d75c46ce1161e4c674eac0780b757ce9d34e664e304d8d2beec7afa0363ea0 EBUILD broot-1.10.0.ebuild 4724 BLAKE2B e13e4163a0ad1571f2c784d99387a6a5d36c99cab790be2bae88aa2e54eec90a3f13e0e15fee550399f4a6c128a6011ce96743b9e463a0ce13a76e4087211b91 SHA512 33977c27bcca26ef89dfd0132690200a6742bf1926b87f4c43009655b8432525f9a651adb4604706566faef4910234b4384fbf75ca3af51043603340cf46e99a EBUILD broot-1.11.1.ebuild 4726 BLAKE2B 02aaf695de78329cbc952f2454dbfc8f742c37a590a5bc2ba5fc41392787d132e03fd21ffd24ce6839af228ac417c483ebdc2ec010894e70f928e3cb38ebee36 SHA512 038175ee519bcf5d628fa3340809ad775ec692308e89849df54d6d36d1ab39e1cb798c7f88913f097f14dfa644f0008bc0ec2294bc14a2ccf8caecb143f1dd5e +EBUILD broot-1.12.0.ebuild 4780 BLAKE2B 421e432bd1b1253dfbc3242288e7629370cb11f09ad92b0ad78e8f0189f8d0681a5633c5036876644ca8ebb08b432b8c4220ba94acd97f9b522aa9515c61c0f7 SHA512 a2a02e67253c4f38c88934caaffc30bfee478c458c3e7fc28797c441d58e6fa01e01db85646ffd5d7f56967b73d33388ee6b56a237861e8582108c333b29809e EBUILD broot-1.8.1.ebuild 4564 BLAKE2B 5e3958df321e20a68b6a3982eaa07d5eff329525189bd94b677c321fe394a90ba772d302b133e26b161678b4fc52ce9014d3e9737046fe43c8ea384383342171 SHA512 6cec0e09e46150e09047f7d5fbbc4ba269a542306cd3fd3821449d77129fea969534bd492fa9f69291d188cb5573418fea19a4cb00782cf87f642e5f9233f933 EBUILD broot-1.9.2.ebuild 4593 BLAKE2B 13ad217d95abc40ecfd15aa09e436fa2f4311ebc1dd1a529d265bc32b8d4382c24fb74c0eb59b851466cf3a0512411d1b90fd2c3109eac2af17a0a1a24fcec03 SHA512 4e4196bd17309b2e318518c45f7461ef45748bca00b5b77c884274d62d1c177ba722a1247004a34d218b18b798a50d3a9cf0eec102766e483abdc663b8615253 EBUILD broot-1.9.3.ebuild 4672 BLAKE2B 63c7668419110b6ec68937f87c6990bf58acbceaedb51bbda744254d5b65492798158aaee8c2780387a7513f2ee0330c5814abddb6172a265e01277b42ca9849 SHA512 e1f9b9ccfc645e822a400c540a504bbd7a456493dd0b5cfb1671add7898baf5a4fac7370ef8b33ed42ed21130112ef4c3084eb7b1a5b0058c56745636072ac8c diff --git a/app-misc/broot/broot-1.12.0.ebuild b/app-misc/broot/broot-1.12.0.ebuild new file mode 100644 index 000000000000..4ec52da34716 --- /dev/null +++ b/app-misc/broot/broot-1.12.0.ebuild @@ -0,0 +1,273 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +adler-1.0.2 +adler32-1.2.0 +ahash-0.4.7 +ahash-0.7.6 +aho-corasick-0.7.18 +ansi_colours-1.1.1 +ansi_term-0.12.1 +anyhow-1.0.56 +argh-0.1.7 +argh_derive-0.1.7 +argh_shared-0.1.7 +atty-0.2.14 +autocfg-1.1.0 +base64-0.13.0 +bet-1.0.1 +bincode-1.3.3 +bitflags-1.3.2 +bstr-0.2.17 +bytemuck-1.8.0 +byteorder-1.4.3 +cc-1.0.73 +cfg-if-1.0.0 +char_reader-0.1.1 +chrono-0.4.19 +clap-2.34.0 +cli-log-0.1.0 +cli-log-2.0.0 +clipboard-win-4.4.1 +color_quant-1.1.0 +coolor-0.3.1 +crc32fast-1.3.2 +crokey-0.4.0 +crokey-proc_macros-0.4.0 +crossbeam-0.8.1 +crossbeam-channel-0.5.2 +crossbeam-deque-0.8.1 +crossbeam-epoch-0.9.7 +crossbeam-queue-0.3.4 +crossbeam-utils-0.8.7 +crossterm-0.19.0 +crossterm-0.22.1 +crossterm_winapi-0.7.0 +crossterm_winapi-0.9.0 +csv-1.1.6 +csv-core-0.1.10 +csv2svg-0.1.6 +custom_error-1.9.2 +deflate-0.8.6 +deser-hjson-1.0.2 +directories-3.0.2 +directories-next-2.0.0 +dirs-sys-0.3.6 +dirs-sys-next-0.1.2 +doc-comment-0.3.3 +either-1.6.1 +error-code-2.3.1 +fallible-iterator-0.2.0 +fallible-streaming-iterator-0.1.9 +fastrand-1.7.0 +file-size-1.0.3 +flate2-1.0.22 +fnv-1.0.7 +form_urlencoded-1.0.1 +getrandom-0.2.5 +gif-0.11.3 +git2-0.13.25 +glassbench-0.3.1 +glob-0.3.0 +hashbrown-0.9.1 +hashbrown-0.11.2 +hashlink-0.6.0 +heck-0.3.3 +hermit-abi-0.1.19 +id-arena-2.2.1 +idna-0.2.3 +image-0.23.14 +indexmap-1.8.0 +instant-0.1.12 +is_executable-1.0.1 +itoa-0.4.8 +itoa-1.0.1 +jobserver-0.1.24 +jpeg-decoder-0.1.22 +lazy-regex-2.3.0 +lazy-regex-proc_macros-2.3.0 +lazy_static-1.4.0 +lfs-core-0.11.0 +libc-0.2.119 +libgit2-sys-0.12.26+1.3.0 +libsqlite3-sys-0.20.1 +libz-sys-1.1.5 +line-wrap-0.1.1 +linked-hash-map-0.5.4 +lock_api-0.4.6 +log-0.4.14 +matches-0.1.9 +memchr-2.4.1 +memmap-0.7.0 +memoffset-0.6.5 +minimad-0.7.1 +minimad-0.9.0 +miniz_oxide-0.3.7 +miniz_oxide-0.4.4 +mio-0.7.14 +miow-0.3.7 +nix-0.22.3 +ntapi-0.3.7 +num-integer-0.1.44 +num-iter-0.1.42 +num-rational-0.3.2 +num-traits-0.2.14 +num_cpus-1.13.1 +num_threads-0.1.4 +once_cell-1.10.0 +onig-6.3.1 +onig_sys-69.7.1 +open-1.7.1 +opener-0.5.0 +parking_lot-0.11.2 +parking_lot_core-0.8.5 +pathdiff-0.2.1 +percent-encoding-2.1.0 +phf-0.9.0 +phf_generator-0.9.1 +phf_macros-0.9.0 +phf_shared-0.9.0 +pkg-config-0.3.24 +plist-1.3.1 +png-0.16.8 +ppv-lite86-0.2.16 +proc-macro-hack-0.5.19 +proc-macro2-1.0.36 +proc-status-0.1.1 +quick-xml-0.22.0 +quote-1.0.15 +rand-0.8.5 +rand_chacha-0.3.1 +rand_core-0.6.3 +rayon-1.5.1 +rayon-core-1.9.1 +redox_syscall-0.2.11 +redox_users-0.4.0 +regex-1.5.5 +regex-automata-0.1.10 +regex-syntax-0.6.25 +remove_dir_all-0.5.3 +rgb-0.8.32 +rusqlite-0.24.2 +ryu-1.0.9 +safemem-0.3.3 +same-file-1.0.6 +scoped_threadpool-0.1.9 +scopeguard-1.1.0 +secular-1.0.1 +serde-1.0.136 +serde_derive-1.0.136 +serde_json-1.0.79 +signal-hook-0.1.17 +signal-hook-0.3.13 +signal-hook-mio-0.2.1 +signal-hook-registry-1.4.0 +siphasher-0.3.10 +smallvec-1.8.0 +snafu-0.7.0 +snafu-derive-0.7.0 +splitty-0.1.0 +str-buf-1.0.5 +strict-0.1.4 +strsim-0.8.0 +svg-0.8.2 +syn-1.0.86 +syntect-no-panic-4.6.1 +tempfile-3.3.0 +termimad-0.10.3 +termimad-0.20.0 +terminal-clipboard-0.3.1 +termux-clipboard-0.1.0 +textwrap-0.11.0 +thiserror-1.0.30 +thiserror-impl-1.0.30 +tiff-0.6.1 +time-0.1.43 +time-0.3.7 +tinyvec-1.5.1 +tinyvec_macros-0.1.0 +toml-0.5.8 +umask-1.0.1 +unicode-bidi-0.3.7 +unicode-normalization-0.1.19 +unicode-segmentation-1.9.0 +unicode-width-0.1.9 +unicode-xid-0.2.2 +url-2.2.2 +users-0.11.0 +vcpkg-0.2.15 +vec_map-0.8.2 +version_check-0.9.4 +walkdir-2.3.2 +wasi-0.10.2+wasi-snapshot-preview1 +weezl-0.1.5 +winapi-0.3.9 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-util-0.1.5 +winapi-x86_64-pc-windows-gnu-0.4.0 +x11-clipboard-0.5.3 +xcb-0.10.1 +xml-rs-0.8.4 +xterm-query-0.1.0 +yaml-rust-0.4.5 +" + +inherit bash-completion-r1 cargo + +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 + $(cargo_crate_uris)" + +LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB" +SLOT="0" +KEYWORDS="~amd64" +IUSE="X" + +RDEPEND=" + dev-libs/libgit2:= + X? ( x11-libs/libxcb:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=">=virtual/rust-1.58" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_configure() { + export RUSTFLAGS="-Cstrip=none ${RUSTFLAGS}" #835400 + local myfeatures=( $(usev X clipboard) ) + + cargo_src_configure --no-default-features +} + +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_install() { + cargo_src_install + + doman "${T}"/${PN}.1 + + local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out ) + cd ${build_dir[0]} || die + + newbashcomp ${PN}.bash ${PN} + newbashcomp br.bash br + + insinto /usr/share/zsh/site-functions + doins _${PN} + doins _br + + insinto /usr/share/fish/vendor_completions.d + doins ${PN}.fish + doins br.fish +} |