summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-07-03 22:52:05 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-07-03 22:58:19 +0300
commita57b793c7ebd2f155f32dee9b56bcbdb50dc311f (patch)
treebd735a32d2235d1f56f27f395ed0d5252f0659b7 /app-shells
parentapp-admin/apache-tools: drop 2.4.60 (diff)
downloadgentoo-a57b793c7ebd2f155f32dee9b56bcbdb50dc311f.tar.gz
gentoo-a57b793c7ebd2f155f32dee9b56bcbdb50dc311f.tar.bz2
gentoo-a57b793c7ebd2f155f32dee9b56bcbdb50dc311f.zip
app-shells/starship: add 1.19.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/starship/Manifest2
-rw-r--r--app-shells/starship/starship-1.19.0.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/app-shells/starship/Manifest b/app-shells/starship/Manifest
index 2950f265f37f..6f9ccac8b4a7 100644
--- a/app-shells/starship/Manifest
+++ b/app-shells/starship/Manifest
@@ -285,6 +285,8 @@ DIST starship-1.17.1.crate 340183 BLAKE2B d1c640d862760803dfe2973f2ed2344d3b49cf
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-1.19.0-crates.tar.xz 37521600 BLAKE2B 6cf6a43d32574082205555f8b3ae23bb55ae6ff8589f08cc7b7cf47378095e4b984385c590f95bb05b3191685885a08a106d56356977276ba46edf2177410be3 SHA512 3414fd1540f74976a1281f6b76ac4de6beeb41303125d108c3f0e5421b83e4188b83f0df51360a3cecdc386002fbef8ae2fcb1da0e98b30a04cb1406910a9ede
+DIST starship-1.19.0.tar.gz 8414295 BLAKE2B 32046be7f089cae01ff464f2cc53ff2dd42077280acf4490dd5d17f770a5bfe610bad7bce61b4467e4ac508d1ff0b4073b40c92fe77da489b03ab8d41248fc69 SHA512 12347b7db82425ea6656eaccb2c1e9f3c62416b1c4d1c2937cdea2aae724dfc1d6a5a93319178c9844d3f1cc2d6ae15d3e34adbe3ead7df695df87efe5d1b827
DIST starship-battery-0.8.2.crate 40839 BLAKE2B df6820322d9df15b6ff81105600d6b972cbf3c330f1bb33e2d304d08a1260b89e6efb4d1dfec76c8ac78723b2c5df1ae5ef110b38446978810c4d0e93135fbaf SHA512 a552c5592de081b4e8eb0d61d8a16349f1b1a69172717ae3f1a3ed34973bcde588aad7d874670042cb9f14d0efea2d302d369a369252c78d36401c567376da39
DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee
DIST strsim-0.10.0.crate 11355 BLAKE2B bcb25ad0a7284e24e4f17ebe0ccb621bdc4118e499b50b094d98aa7e8fcc0b96716c9953c3516ce7ea78309d41d424892ded595259696a5bbffdcb07802b5c2f SHA512 78b318532addfcf5c1ccc1e14539e258aab9d3cd893cc45d82342549bde838c177d90f13c560671f8f32929af47d0b467db35e6876bd7697d8b3f9e055aeeac1
diff --git a/app-shells/starship/starship-1.19.0.ebuild b/app-shells/starship/starship-1.19.0.ebuild
new file mode 100644
index 000000000000..fafdae2a17e8
--- /dev/null
+++ b/app-shells/starship/starship-1.19.0.ebuild
@@ -0,0 +1,58 @@
+# 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}"
+SRC_URI+="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.74.1
+"
+
+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
+}