public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/starship/
Date: Tue, 28 Oct 2025 07:06:04 +0000 (UTC)	[thread overview]
Message-ID: <1761635160.a65931f9b42f4bf748ef8ca632dc52cc68f35a5e.arthurzam@gentoo> (raw)

commit:     a65931f9b42f4bf748ef8ca632dc52cc68f35a5e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 26 19:30:30 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 07:06:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a65931f9

app-shells/starship: add 1.24.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-shells/starship/Manifest               |  2 +
 app-shells/starship/starship-1.24.0.ebuild | 68 ++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/app-shells/starship/Manifest b/app-shells/starship/Manifest
index a4fab073c46c..acdb422b3ada 100644
--- a/app-shells/starship/Manifest
+++ b/app-shells/starship/Manifest
@@ -1,2 +1,4 @@
 DIST starship-1.23.0-crates.tar.xz 26250264 BLAKE2B c13e472850abb73ebfa960514beff2e9ea7a156f103e05d029142f3809fb27aacdbe7485af687d51d214a0c0f0960ac32f879dac7f8ba414757d83581d76c877 SHA512 f144704bfa32574f87dcb8d71be3efc55449f1aeefed4aaae22883ad93e237a3e8bbc5754c31540735909eff4ed8cc263082f7646af2f98b73827755ff917bf8
 DIST starship-1.23.0.tar.gz 10760658 BLAKE2B e475e991240d46c2c2bc850ecd439f557f5508112a13731b85ba51d3ff9ccf07c3ec29c345209566a0cca60aa180d0fc0e31ffe2656224497f20a351b6fc83fb SHA512 e04a1b711d91aed4fe756c8f2be87304e8a4fbabc4720e4c39c517829ca9cd4f93b27fb20b9208350147f5ca6af97b5e0572c04a57f5d66172539a1c41110eae
+DIST starship-1.24.0-crates.tar.xz 34085856 BLAKE2B d9d94eb46711df432b0c6d998566752e31a203aa1e0e37f302f8ed5db1dc3750198a04038ff5a05f96e831d87d9ad6777fa4af170776bbd1d0784bd4c48ac9de SHA512 e2e71b1f4fd5f596bbc2a3a6949475e209550b8881bbfe8e901457a95bee5cdaea913e40c244ef5cba17b5b29c8d871da889acd183e4778ca35cf4248c74f249
+DIST starship-1.24.0.tar.gz 10808717 BLAKE2B f66758970a148fed0827d09350adb4723d6d67ad7474c51df0eaeb15ab1a1d2f6235fe718156728f0745fc5fde98a1e7f1b8d993c7700d2f8f6212085e21c0b1 SHA512 cfdcfb7bfb1e02b9f26945fa35eaa44834066de209e1ea321f1c52494bcf5420cabde85553da0924a0ecb0fb0a7db3108de69d2be2ed118a62d1b5b418625837

diff --git a/app-shells/starship/starship-1.24.0.ebuild b/app-shells/starship/starship-1.24.0.ebuild
new file mode 100644
index 000000000000..6c334cc56be0
--- /dev/null
+++ b/app-shells/starship/starship-1.24.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+
+RUST_MIN_VER="1.85.0"
+inherit cargo optfeature shell-completion
+
+DESCRIPTION="The minimal, blazing-fast, and infinitely customizable prompt for any shell"
+HOMEPAGE="https://starship.rs/"
+SRC_URI="https://github.com/starship/starship/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
+
+LICENSE="ISC"
+# Dependent crate licenses
+LICENSE+="
+	Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 Unlicense WTFPL-2
+	ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+BDEPEND="
+	dev-build/cmake
+"
+
+QA_FLAGS_IGNORED="usr/bin/starship"
+
+src_prepare() {
+	sed -e '/^strip/s/true/false/' -i Cargo.toml || die # bug 866133
+	default
+}
+
+src_configure() {
+	export PKG_CONFIG_ALLOW_CROSS=1
+	export OPENSSL_NO_VENDOR=true
+
+	cargo_src_configure
+}
+
+src_compile() {
+	cargo_src_compile
+
+	local STARSHIP_BIN="$(cargo_target_dir)/${PN}"
+
+	# Prepare shell completion generation
+	mkdir "${T}/completions" || die
+	local shell
+	for shell in bash fish zsh; do
+		"${STARSHIP_BIN}" completions ${shell} > "${T}/completions/${shell}" || die
+	done
+}
+
+src_install() {
+	dobin "$(cargo_target_dir)/${PN}"
+	dodoc README.md
+
+	newbashcomp "${T}/completions/bash" "${PN}"
+	newzshcomp "${T}/completions/zsh" "${PN}"
+	newfishcomp "${T}/completions/fish" "${PN}.fish"
+}
+
+pkg_postinst() {
+	optfeature "font support" media-fonts/iosevka media-fonts/noto-emoji
+}


             reply	other threads:[~2025-10-28  7:06 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28  7:06 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-24  5:59 [gentoo-commits] repo/gentoo:master commit in: app-shells/starship/ Arthur Zamarin
2025-05-30 21:08 Sam James
2025-05-30 20:56 Sam James
2025-04-28 18:54 Arthur Zamarin
2025-03-01 16:19 Arthur Zamarin
2025-02-18  0:12 Sam James
2025-02-18  0:12 Sam James
2025-01-17 14:21 Arthur Zamarin
2025-01-17 14:21 Arthur Zamarin
2025-01-17 14:21 Arthur Zamarin
2025-01-10 19:18 Sam James
2025-01-10 19:18 Sam James
2025-01-03 17:07 Joonas Niilola
2024-12-02 11:25 Joonas Niilola
2024-12-02 11:25 Joonas Niilola
2024-12-02 11:25 Joonas Niilola
2024-09-10 10:25 Arthur Zamarin
2024-09-10  8:10 Jakov Smolić
2024-08-09 15:08 Arthur Zamarin
2024-08-09 15:08 Arthur Zamarin
2024-08-09 15:08 Arthur Zamarin
2024-08-04  3:16 Sam James
2024-08-04  3:16 Sam James
2024-07-03 19:58 Arthur Zamarin
2024-06-15  7:05 Joonas Niilola
2024-06-15  7:02 Sam James
2024-05-11  6:56 Arthur Zamarin
2024-05-11  0:04 Sam James
2024-05-10 19:41 Arthur Zamarin
2024-03-02 16:00 Arthur Zamarin
2024-02-21  2:15 Sam James
2023-12-04 13:46 Michał Górny
2023-10-08  8:20 Joonas Niilola
2023-09-25  6:33 Arthur Zamarin
2023-09-20  6:12 Joonas Niilola
2023-09-13  2:15 Sam James
2023-08-15 12:17 Joonas Niilola
2023-07-12  6:36 Sam James
2023-06-27  2:24 Sam James
2023-05-20 12:32 Joonas Niilola
2023-05-20 12:32 Joonas Niilola
2023-05-20 12:32 Joonas Niilola
2023-04-12  3:48 Sam James
2023-03-11 17:15 Sam James
2023-03-11 17:15 Sam James
2023-03-11 17:15 Sam James
2023-01-28 17:22 Arthur Zamarin
2022-12-01  0:56 Sam James
2022-11-25  6:41 Joonas Niilola
2022-11-05  2:07 Sam James
2022-10-04 13:44 Sam James
2022-10-04 13:44 Sam James
2022-10-04 13:44 Sam James
2022-09-24  3:15 Sam James
2022-08-23  5:11 Sam James
2022-08-03  6:29 Joonas Niilola
2022-07-01  7:05 Florian Schmaus
2022-07-01  7:05 Florian Schmaus
2022-07-01  7:05 Florian Schmaus
2022-06-24  8:23 Agostino Sarubbo
2022-05-20  1:17 Sam James
2022-05-17  6:53 Jakov Smolić
2022-04-20 23:53 Sam James
2022-04-14 17:49 Ionen Wolkens
2022-03-16 14:21 Ionen Wolkens
2022-03-16  4:46 Ionen Wolkens
2022-03-16  4:46 Ionen Wolkens
2022-03-12 12:21 Jakov Smolić
2022-02-25  7:55 Agostino Sarubbo
2022-02-10  4:01 Ionen Wolkens
2022-01-26  1:09 Ionen Wolkens
2022-01-26  1:09 Ionen Wolkens
2022-01-26  1:09 Ionen Wolkens
2022-01-20  2:45 Sam James
2021-12-18 21:37 Ionen Wolkens
2021-12-18 21:37 Ionen Wolkens
2021-12-15  5:37 Sam James
2021-11-15  1:10 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1761635160.a65931f9b42f4bf748ef8ca632dc52cc68f35a5e.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox