summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-05-10 22:41:37 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-05-10 22:41:47 +0300
commitdfddf8cdc056681f279d2daa83a052f335a3d274 (patch)
treefcd376f396ab68f187e00f546de38cdca626ca34
parentdev-lang/go: add 1.21.10 (diff)
downloadgentoo-dfddf8cdc056681f279d2daa83a052f335a3d274.tar.gz
gentoo-dfddf8cdc056681f279d2daa83a052f335a3d274.tar.bz2
gentoo-dfddf8cdc056681f279d2daa83a052f335a3d274.zip
app-shells/starship: add 1.18.2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--app-shells/starship/Manifest2
-rw-r--r--app-shells/starship/starship-1.18.2.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/app-shells/starship/Manifest b/app-shells/starship/Manifest
index 4b6d491930ff..3b87b730f29b 100644
--- a/app-shells/starship/Manifest
+++ b/app-shells/starship/Manifest
@@ -473,6 +473,8 @@ DIST socket2-0.4.9.crate 45421 BLAKE2B 19c296b1b42839086793a29234f604a6c94ed1b9d
DIST starship-1.16.0.tar.gz 7686971 BLAKE2B b81882610b49780de0892d11561dbc85ce651a7410604496dd9b7562ccf4f060528d9a7241e87acee5b29caad7ad3e29abe8dae9bf22e1ebb54281dd78fd534b SHA512 867d6691788ab91d39c4e5610051936d90bdc815a76520114d88d81bfaa7ad854b904f164d21e1ab9654e6ab2da0e689e9ef65f23ad6734215e4242db3ed6f94
DIST starship-1.17.1.crate 340183 BLAKE2B d1c640d862760803dfe2973f2ed2344d3b49cf82de2df4b2312b9fc87a820cc2445d2ba2763a1530a256d20d776b5a726f838b463b1145e7bb8d4809642af70c SHA512 eb40b86fd251c352bfd82471150c026a3665325156a31aaeea442f36622d449a14fc1983fb35efbe45caf6b110327af44bc5da7b7d21f93a5f5bbe37f333c9b1
DIST starship-1.17.1.tar.gz 7973673 BLAKE2B 5ba2900aa4681cc71cee85b227e61d6cafad5b5a8ae7828b8f566a3950a579c1505ef102bba641f7495a558645a2c38eb830143322d3672c83eb77186d5759c1 SHA512 4005faf828bedf20a101e22b10f770968feb419deae8c23594cb645abaff167c494767c15a36d61c918ac099a38f5a82b8467ff5031857fd733eca011f1ae414
+DIST starship-1.18.2-crates.tar.xz 38152384 BLAKE2B c88decb5ca2534c262c68aa7e0fcec966598967a864906f2dc8353fa8a63b94535c5bb86fa09d4be80df1421473ad3a5b3547dcc25d81f51dac117f235a7f52f SHA512 ed63f80509ea3fa37ee6dfdc76aa36604e49f12fea54e5250e1adb3e4f1b6a2ca98b7104d72724047cafffb1997c447b9d0f286a63249d70d68bbd0fa060f7e2
+DIST starship-1.18.2.tar.gz 8256264 BLAKE2B 1ed2fa0bc71de0e48ad1073227acdc020c4d7f6ac0d060d53ff0689975bc395a83fbfc611f6392013b10c7b87a08309d03742058dbff2672a1b23048ad9e72de SHA512 77bdebf9fe3bad485ef99562a4c90574f0201c7c3e9ae25665fea85da3a9b038ebc68806ca639f127f2c4f2f974e699e271481e0d945ff294b212449b1ebd70f
DIST starship-battery-0.8.1.crate 40920 BLAKE2B 06e4a3725905644b1fe9227bfd6f720cb50314645cf332032a8dc32d8d972cbcda54662d3511227b761f266bea6208442ff852468978673ba3424775cda76471 SHA512 383896da59dd82c842a47ba57bd5fed9344d526d2c3ba5a93b7becffa011517c57cfcc5ca06f2d96aeb9e4408587725391a199fec3868d93f92e29bb4b95be15
DIST starship-battery-0.8.2.crate 40839 BLAKE2B df6820322d9df15b6ff81105600d6b972cbf3c330f1bb33e2d304d08a1260b89e6efb4d1dfec76c8ac78723b2c5df1ae5ef110b38446978810c4d0e93135fbaf SHA512 a552c5592de081b4e8eb0d61d8a16349f1b1a69172717ae3f1a3ed34973bcde588aad7d874670042cb9f14d0efea2d302d369a369252c78d36401c567376da39
DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee
diff --git a/app-shells/starship/starship-1.18.2.ebuild b/app-shells/starship/starship-1.18.2.ebuild
new file mode 100644
index 000000000000..c216205ceba3
--- /dev/null
+++ b/app-shells/starship/starship-1.18.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=""
+
+inherit cargo
+
+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
+ ${CARGO_CRATE_URIS}
+ https://dev.gentoo.org/~arthurzam/distfiles/app-shells/${PN}/${P}-crates.tar.xz
+"
+
+LICENSE="ISC"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense
+ WTFPL-2 ZLIB
+"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+BDEPEND="
+ dev-build/cmake
+ >=virtual/rust-1.71
+"
+
+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_install() {
+ cargo_src_install
+ dodoc README.md CHANGELOG.md
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt "1.9.0"; then
+ einfo "Note that vicmd_symbol config option was renamed to vimcmd_symbol in version 1.9"
+ fi
+ done
+}