diff options
author | Karl-Johan Karlsson <creideiki@lysator.liu.se> | 2024-02-25 21:18:44 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-02-28 10:11:18 +0100 |
commit | b84e19c19f45e8d47bf2556acfc006e140270351 (patch) | |
tree | ccefadf1fbebeb311887127a051857216e3f6bb6 /app-misc/broot | |
parent | dev-scheme/guile-zlib: let pkg-config find zlib dir (diff) | |
download | gentoo-b84e19c19f45e8d47bf2556acfc006e140270351.tar.gz gentoo-b84e19c19f45e8d47bf2556acfc006e140270351.tar.bz2 gentoo-b84e19c19f45e8d47bf2556acfc006e140270351.zip |
app-misc/broot: add 1.34.0
Signed-off-by: Karl-Johan Karlsson <creideiki@lysator.liu.se>
Closes: https://github.com/gentoo/gentoo/pull/35526
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-misc/broot')
-rw-r--r-- | app-misc/broot/Manifest | 1 | ||||
-rw-r--r-- | app-misc/broot/broot-1.34.0.ebuild | 379 |
2 files changed, 380 insertions, 0 deletions
diff --git a/app-misc/broot/Manifest b/app-misc/broot/Manifest index 4deb545f2bee..8667a9e284b5 100644 --- a/app-misc/broot/Manifest +++ b/app-misc/broot/Manifest @@ -34,6 +34,7 @@ DIST bitflags-2.4.1.crate 37043 BLAKE2B f61c45b142265e9c2944c7054e01704de4751073 DIST block-0.1.6.crate 4077 BLAKE2B a2c11873b8cb1a1ea399ecc99ed45e5d0b9399bd88435cdea346910b8707b7da94eeef522dafa5cdb09929534472b2a096c03c373744a789962d4175fd1b110e SHA512 c278e3c0346cae423b533a8f5d6b822e788ec450c92ef0f5f559d5705764a0a11df49f0f66bb1c8af7e89bec8ec802934676b969e43f92255a38b210d0fbd710 DIST broot-1.32.0.tar.gz 12483895 BLAKE2B ea3dfa015aad9214ed456931ad81771d260c8f8d0cdf321df81f0a675be88a17f3725880d0b8adf33f78fbb82bb7b96c9534533c833df512c329e0712f15c569 SHA512 e0180d537856d678d3ff75b3cd61e053a819211f7341387c02f5f21d625ffd25a2ef9bd4002fa818eb5aebc0efc7b7597b659e2f926467e1ffc8e79b02d3c032 DIST broot-1.33.1.tar.gz 12485530 BLAKE2B 931171b2d00319fcd501bb683a4510db2de1f12fde3af03a97b2128d148845371a6921a2fd5bbd4a35aa2718283ec7ed5895a7ec1be6138783b5fb7a59f2a10c SHA512 591ba4272d48abd77b59b9afb360c53b891766fef23292de450695f2be7d956375c690117d9bb538cae33c99653ac69ea25121092adf92081e64bf782e16dfcf +DIST broot-1.34.0.tar.gz 12485507 BLAKE2B ea3fc0aa3d33f68130c128774ab15e02d97192094c20955555b105013a3730cde30ae4c22fbb23ea720d11c3bc6d5aa76b54ad1d403bad84e58d415504841775 SHA512 e476dbf50f19463a9876b3193a20e3c844c8d0ef8eabe73a08097016952bb870003ef5f12b575512554cf77b70814f21ed2f82ea2907f8c35fc4afc1e72b9d42 DIST bstr-1.8.0.crate 380176 BLAKE2B 017ba2818bd636297cfb16fa975b34aa83367aef6df2cc321443754e5fbf4a9afa8ec9e99328e0cb0e5929268d6a4c2301e55aa2a6516e43e87280789c8d159f SHA512 9b8828790f3e342e69bb92cb9231c7134188c168a9b67a8705dc2e3370b86885f99e4d47f21ff68afc9147968b0fbf5a293307b09f132dddc550d8cd576f1048 DIST bstr-1.9.0.crate 380170 BLAKE2B 06ae5065a5d566b6333e911a5b97e3999ad2f0bc19b27023187004c81cd01e5315dcac920ff87a6bb87ccfbb949364f1361dc04d342e24f9f54490b5d44a81d1 SHA512 dc313a16c38ad881128977a20bb390e7c95a96d9530596433a7c4fd7f77d5fffd079d436006dd8d2bfc4aacdd7f0aff229504444250418f6aa3f8d6d4df9abba DIST bumpalo-3.14.0.crate 82400 BLAKE2B 13bde02e2e60ea3099f4e46ff679d07b2e8046740c1855bb81fe8d20a4ef0fb26e565da724f628a00c9154ef16ffc9018f67433d2a32544564b66803b5bab223 SHA512 179c116a5320c5f21163c343ed48add36089d806e35bc303318dcfe09ba1d5f02bf8012726d0c2cb76a73fae05a7c887a91e18f9e5ff3b9f9ad8a2f12838757b diff --git a/app-misc/broot/broot-1.34.0.ebuild b/app-misc/broot/broot-1.34.0.ebuild new file mode 100644 index 000000000000..c3422e887d19 --- /dev/null +++ b/app-misc/broot/broot-1.34.0.ebuild @@ -0,0 +1,379 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +adler@1.0.2 +ahash@0.4.8 +ahash@0.8.7 +aho-corasick@1.1.2 +android-tzdata@0.1.1 +android_system_properties@0.1.5 +ansi_colours@1.2.2 +anstream@0.6.7 +anstyle@1.0.4 +anstyle-parse@0.2.3 +anstyle-query@1.0.2 +anstyle-wincon@3.0.2 +anyhow@1.0.79 +argh@0.1.12 +argh_derive@0.1.12 +argh_shared@0.1.12 +arrayref@0.3.7 +arrayvec@0.7.4 +autocfg@1.1.0 +base64@0.13.1 +base64@0.21.7 +bet@1.0.2 +bincode@1.3.3 +bit_field@0.10.2 +bitflags@1.3.2 +bitflags@2.4.1 +block@0.1.6 +bstr@1.9.0 +bumpalo@3.14.0 +bytemuck@1.14.0 +byteorder@1.5.0 +cc@1.0.83 +cfg-if@1.0.0 +char_reader@0.1.1 +chrono@0.4.31 +clap@4.4.16 +clap-help@1.1.0 +clap_builder@4.4.16 +clap_complete@4.4.6 +clap_derive@4.4.7 +clap_lex@0.6.0 +clap_mangen@0.2.17 +cli-log@2.0.0 +clipboard-win@4.5.0 +clipboard_macos@0.1.0 +color_quant@1.1.0 +colorchoice@1.0.0 +coolor@0.9.0 +core-foundation-sys@0.8.6 +crc32fast@1.3.2 +crokey@0.6.3 +crokey-proc_macros@0.6.3 +crossbeam@0.8.4 +crossbeam-channel@0.5.11 +crossbeam-deque@0.8.5 +crossbeam-epoch@0.9.18 +crossbeam-queue@0.3.11 +crossbeam-utils@0.8.19 +crossterm@0.27.0 +crossterm_winapi@0.9.1 +crunchy@0.2.2 +csv@1.3.0 +csv-core@0.1.11 +csv2svg@0.2.0 +custom_error@1.9.2 +data-url@0.3.1 +deranged@0.3.11 +deser-hjson@2.2.4 +directories@4.0.1 +directories-next@2.0.0 +dirs-sys@0.3.7 +dirs-sys-next@0.1.2 +doc-comment@0.3.3 +either@1.9.0 +equivalent@1.0.1 +errno@0.3.8 +error-code@2.3.1 +exr@1.71.0 +fallible-iterator@0.2.0 +fallible-streaming-iterator@0.1.9 +fastrand@2.0.1 +fdeflate@0.3.3 +file-size@1.0.3 +flate2@1.0.28 +float-cmp@0.9.0 +flume@0.11.0 +fnv@1.0.7 +fontconfig-parser@0.5.3 +fontdb@0.15.0 +form_urlencoded@1.2.1 +gethostname@0.3.0 +getrandom@0.2.12 +gif@0.12.0 +git2@0.14.4 +glassbench@0.4.1 +glob@0.3.1 +half@2.2.1 +hashbrown@0.9.1 +hashbrown@0.14.3 +hashlink@0.6.0 +heck@0.4.1 +home@0.5.9 +iana-time-zone@0.1.59 +iana-time-zone-haiku@0.1.2 +id-arena@2.2.1 +idna@0.5.0 +image@0.24.8 +imagesize@0.12.0 +include_dir@0.7.3 +include_dir_macros@0.7.3 +indexmap@2.1.0 +is_executable@1.0.1 +itoa@1.0.10 +jobserver@0.1.27 +jpeg-decoder@0.3.1 +js-sys@0.3.67 +kurbo@0.9.5 +lazy-regex@3.1.0 +lazy-regex-proc_macros@3.1.0 +lazy_static@1.4.0 +lebe@0.5.2 +lfs-core@0.11.2 +libc@0.2.152 +libgit2-sys@0.13.5+1.4.5 +libredox@0.0.1 +libsqlite3-sys@0.20.1 +libz-sys@1.1.14 +line-wrap@0.1.1 +linked-hash-map@0.5.6 +linux-raw-sys@0.4.12 +lock_api@0.4.11 +log@0.4.20 +malloc_buf@0.0.6 +memchr@2.7.1 +memmap2@0.6.2 +memmap2@0.8.0 +memoffset@0.6.5 +memoffset@0.7.1 +minimad@0.13.0 +miniz_oxide@0.7.1 +mio@0.8.10 +nix@0.22.3 +nix@0.26.4 +normpath@1.1.1 +num-traits@0.2.17 +objc@0.2.7 +objc-foundation@0.1.1 +objc_id@0.1.1 +once_cell@1.19.0 +onig@6.4.0 +onig_sys@69.8.1 +open@1.7.1 +opener@0.6.1 +parking_lot@0.12.1 +parking_lot_core@0.9.9 +pathdiff@0.2.1 +percent-encoding@2.3.1 +phf@0.11.2 +phf_generator@0.11.2 +phf_macros@0.11.2 +phf_shared@0.11.2 +pico-args@0.5.0 +pkg-config@0.3.28 +plist@1.6.0 +png@0.17.11 +powerfmt@0.2.0 +proc-macro2@1.0.76 +proc-status@0.1.1 +qoi@0.4.1 +quick-xml@0.31.0 +quote@1.0.35 +rand@0.8.5 +rand_core@0.6.4 +rayon@1.8.0 +rayon-core@1.12.0 +rctree@0.5.0 +redox_syscall@0.4.1 +redox_users@0.4.4 +regex@1.10.2 +regex-automata@0.4.3 +regex-syntax@0.6.29 +regex-syntax@0.8.2 +resvg@0.36.0 +rgb@0.8.37 +roff@0.2.1 +roxmltree@0.18.1 +rusqlite@0.24.2 +rustix@0.38.30 +rustybuzz@0.10.0 +ryu@1.0.16 +safemem@0.3.3 +same-file@1.0.6 +scopeguard@1.2.0 +secular@1.0.1 +serde@1.0.195 +serde_derive@1.0.195 +serde_json@1.0.111 +serde_spanned@0.6.5 +signal-hook@0.3.17 +signal-hook-mio@0.2.3 +signal-hook-registry@1.4.1 +simd-adler32@0.3.7 +simplecss@0.2.1 +siphasher@0.3.11 +slotmap@1.0.7 +smallvec@1.12.0 +snafu@0.7.5 +snafu-derive@0.7.5 +spin@0.9.8 +splitty@1.0.1 +str-buf@1.0.6 +strict@0.1.4 +strict@0.2.0 +strict-num@0.1.1 +strsim@0.10.0 +svg@0.13.1 +svgtypes@0.12.0 +syn@1.0.109 +syn@2.0.48 +syntect-no-panic@4.6.1 +tempfile@3.9.0 +termimad@0.28.2 +termimad@0.29.0 +terminal-clipboard@0.4.1 +terminal-light@1.2.0 +termux-clipboard@0.1.0 +thiserror@1.0.56 +thiserror-impl@1.0.56 +tiff@0.9.1 +time@0.3.31 +time-core@0.1.2 +time-macros@0.2.16 +tiny-skia@0.11.3 +tiny-skia-path@0.11.3 +tinyvec@1.6.0 +tinyvec_macros@0.1.1 +toml@0.8.8 +toml_datetime@0.6.5 +toml_edit@0.21.0 +trash@3.2.0 +ttf-parser@0.19.2 +umask@2.1.0 +unicode-bidi@0.3.14 +unicode-bidi-mirroring@0.1.0 +unicode-ccc@0.1.2 +unicode-ident@1.0.12 +unicode-normalization@0.1.22 +unicode-properties@0.1.0 +unicode-script@0.5.5 +unicode-vo@0.1.0 +unicode-width@0.1.11 +url@2.5.0 +usvg@0.36.0 +usvg-parser@0.36.0 +usvg-text-layout@0.36.0 +usvg-tree@0.36.0 +utf8parse@0.2.1 +uzers@0.11.3 +vcpkg@0.2.15 +version_check@0.9.4 +walkdir@2.4.0 +wasi@0.11.0+wasi-snapshot-preview1 +wasm-bindgen@0.2.90 +wasm-bindgen-backend@0.2.90 +wasm-bindgen-macro@0.2.90 +wasm-bindgen-macro-support@0.2.90 +wasm-bindgen-shared@0.2.90 +weezl@0.1.7 +which@4.4.2 +winapi@0.3.9 +winapi-i686-pc-windows-gnu@0.4.0 +winapi-util@0.1.6 +winapi-wsapoll@0.1.1 +winapi-x86_64-pc-windows-gnu@0.4.0 +windows@0.44.0 +windows-core@0.52.0 +windows-sys@0.48.0 +windows-sys@0.52.0 +windows-targets@0.42.2 +windows-targets@0.48.5 +windows-targets@0.52.0 +windows_aarch64_gnullvm@0.42.2 +windows_aarch64_gnullvm@0.48.5 +windows_aarch64_gnullvm@0.52.0 +windows_aarch64_msvc@0.42.2 +windows_aarch64_msvc@0.48.5 +windows_aarch64_msvc@0.52.0 +windows_i686_gnu@0.42.2 +windows_i686_gnu@0.48.5 +windows_i686_gnu@0.52.0 +windows_i686_msvc@0.42.2 +windows_i686_msvc@0.48.5 +windows_i686_msvc@0.52.0 +windows_x86_64_gnu@0.42.2 +windows_x86_64_gnu@0.48.5 +windows_x86_64_gnu@0.52.0 +windows_x86_64_gnullvm@0.42.2 +windows_x86_64_gnullvm@0.48.5 +windows_x86_64_gnullvm@0.52.0 +windows_x86_64_msvc@0.42.2 +windows_x86_64_msvc@0.48.5 +windows_x86_64_msvc@0.52.0 +winnow@0.5.34 +x11-clipboard@0.8.1 +x11rb@0.12.0 +x11rb-protocol@0.12.0 +xmlparser@0.13.6 +xmlwriter@0.1.0 +xterm-query@0.1.0 +xterm-query@0.2.0 +yaml-rust@0.4.5 +zerocopy@0.7.32 +zerocopy-derive@0.7.32 +zune-inflate@0.2.54 +" + +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:= + sys-libs/zlib + X? ( x11-libs/libxcb:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=">=virtual/rust-1.65" + +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 +} |