mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-misc/onefetch: add 2.26.1
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
DIST onefetch-2.25.0-crates.tar.xz 24495264 BLAKE2B af067b3584e0c25ff6c97fe6c317de38d155bc888714f208771841b7846b4a6a2096b7703cd8efec0822498b2e4029b5081c47e5a7e3dbaec34dd5655f1ac0ec SHA512 a3a5be0283f9f766bc1c2fe4866387840f4db9a6063da4a7b459ca456fce439fb57791c409954cba0b767d7c0218ddc75362ae744da200c4aa809b1c47ca8421
|
||||
DIST onefetch-2.25.0-shellcomp.tar.xz 3952 BLAKE2B aedb85fa8e6dba9b1f0602cc8eab79e42757b253d1a24f38cc6aa7ecdbc795d02cbbf8513894124e81bc82033f33a24f5daec5e0762441029b56a36f37fc9ae6 SHA512 d609e196db3dc2a6fe092745ecbc421f21ba30d82806d7ac386247713cddc3bbb232b80f537579e5d29c92b8d193651caceafcecdd928f03a28e20f0d302042a
|
||||
DIST onefetch-2.25.0.gh.tar.gz 1881811 BLAKE2B 3c7fb44959898229a256ef8c025697f515ac37de1f2ed5d1cf3b505b381ed428b614007df50d1a7af6fd05f0f559686ce212612d3238d5b6f4c5f553edc2d2b2 SHA512 f6ca4f960d6b6daab9dbd24f78e6947a2931ca6328a38b56435985c2a62ce38bb573aaef557b2748f0b5e35883d82e409995788814715370d2a36f9bb8e7cb16
|
||||
DIST onefetch-2.26.1-crates.tar.xz 25926048 BLAKE2B 386f51f5801bc80fb1c82c2eb5b05773c7035f08adb2a806421dd89e2f2d84fd0a89999ee5a99f164e4bb909625ad919aeaf047d47471405973dd72580314dc6 SHA512 56a78884eb4d0c9f37b0290d0a979b9fb77fbb97573a3f6d97de4e7c813766427b892fb2b8336fe0aeb14fa2aaecfe96e86bc6721d562e28a61bdd13c9b0ebba
|
||||
DIST onefetch-2.26.1-shellcomp.tar.xz 3952 BLAKE2B e8bc900e5460ea533b428404d9652d7e53730785ba2242bc1c9ce1bf56727ed37fb22b6bf14218782014929a74890488f6ab2d03c02b708bafd57aedb858eeaf SHA512 1f8e7a13aa21a36c67979520deced589633fbc17fe14650b79a29814164f2b3cc7757e3cd841eb94438ec82eb354514e2eabe6bcd635c1688e344046d366704f
|
||||
DIST onefetch-2.26.1.gh.tar.gz 1752514 BLAKE2B c438281292ac38eb6d4638f8d68889a2149c97a50f2b4a01bc692b82132d129aa93d76a01163f4b56b5f588dea89e3cf93b0cf64d17230a6d7bab47cc62d77df SHA512 e50714f344e993eb3e3468edb2ee667d95b2f3935b4c7c397b8b675db35565c21a104f9b4d7eb8aae4f7d528888d6dce736066333d9feab149c38e49b3d7cc52
|
||||
|
||||
52
app-misc/onefetch/onefetch-2.26.1.ebuild
Normal file
52
app-misc/onefetch/onefetch-2.26.1.ebuild
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
RUST_MIN_VER="1.88.0"
|
||||
|
||||
inherit cargo shell-completion
|
||||
|
||||
DESCRIPTION="Command-line Git information tool"
|
||||
HOMEPAGE="https://onefetch.dev"
|
||||
SRC_URI="https://github.com/o2sh/onefetch/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
https://home.cit.tum.de/~salu/distfiles/${P}-crates.tar.xz
|
||||
https://home.cit.tum.de/~salu/distfiles/${P}-shellcomp.tar.xz
|
||||
"
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" Apache-2.0 BSD ISC MIT MPL-2.0 Unicode-3.0 ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-arch/zstd:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? ( dev-vcs/git )
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/onefetch"
|
||||
|
||||
pkg_setup() {
|
||||
export ZSTD_SYS_USE_PKG_CONFIG=1
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doman docs/onefetch.1
|
||||
dodoc {CHANGELOG,README}.md
|
||||
|
||||
dobashcomp "${WORKDIR}"/completions/onefetch
|
||||
dofishcomp "${WORKDIR}"/completions/onefetch.fish
|
||||
dozshcomp "${WORKDIR}"/completions/_onefetch
|
||||
cargo_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Onefetch supports displaying images using x11-terms/kitty or any terminal emulator"
|
||||
elog "which supports the SIXEL graphics format or iTerm2's Inline Images Protocol."
|
||||
elog "See also: https://github.com/o2sh/onefetch/wiki/images-in-the-terminal"
|
||||
}
|
||||
Reference in New Issue
Block a user