From b5d5a828de477fe53c90eaa9a8e95f2c646d94c4 Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 27 Mar 2024 16:19:07 +0100 Subject: [PATCH] app-shells/gitstatus: treeclean --- app-shells/gitstatus/Manifest | 2 - app-shells/gitstatus/gitstatus-1.5.4.ebuild | 106 -------------------- app-shells/gitstatus/metadata.xml | 11 -- 3 files changed, 119 deletions(-) delete mode 100644 app-shells/gitstatus/Manifest delete mode 100644 app-shells/gitstatus/gitstatus-1.5.4.ebuild delete mode 100644 app-shells/gitstatus/metadata.xml diff --git a/app-shells/gitstatus/Manifest b/app-shells/gitstatus/Manifest deleted file mode 100644 index db8f362..0000000 --- a/app-shells/gitstatus/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST gitstatus-1.5.4.tar.gz 92450 BLAKE2B 6eed36b98eef84777d268c276ddcdd7dbeb3e3d9252d8ef3ef27388e91a75fab9357af421891bd2fed7588357f3bf96bc44af7276d7862395995e449f7281470 SHA512 db7b082f302851e516c79fb464972fc065aafae426dc1d732b2a08e72d88e47a35b11c079cd7bb8795b8363dc8a583c1c62bb44566d82e5c925a335c015c0329 -DIST libgit2-tag-5860a42d19bcd226cb6eff2dcbfcbf155d570c73.tar.gz 1518368 BLAKE2B bf0836df7da34c16c0702de29772f582cae4e8c255db3392540553ffa6bc41488cdf596fe39d06d0c5960bd4c56dcc25a2c29574848e116e1ffb9758c73b3664 SHA512 c9adfa819aa2d587fb30c32d4addb09623078e3ccadc0a4a063402d4c8d779f2ee60051ea3717b2cc5ff5b7c760c74390c67976ee42389895272b9f5cf66f0d1 diff --git a/app-shells/gitstatus/gitstatus-1.5.4.ebuild b/app-shells/gitstatus/gitstatus-1.5.4.ebuild deleted file mode 100644 index d9f7ad1..0000000 --- a/app-shells/gitstatus/gitstatus-1.5.4.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -DESCRIPTION="Git status for Bash and Zsh prompt" -HOMEPAGE="https://github.com/romkatv/gitstatus" -# LIBGIT2_TAG depends on pkgver. They must be updated together. See libgit2_version in: -# https://raw.githubusercontent.com/romkatv/gitstatus/v${pkgver}/build.info -LIBGIT2_TAG="tag-5860a42d19bcd226cb6eff2dcbfcbf155d570c73" -SRC_URI=" - https://github.com/romkatv/gitstatus/archive/v${PV}.tar.gz - -> ${P}.tar.gz - https://github.com/romkatv/libgit2/archive/refs/tags/${LIBGIT2_TAG}.tar.gz - -> libgit2-${LIBGIT2_TAG}.tar.gz" - -CMAKE_USE_DIR="${S}/deps/libgit2" -BUILD_DIR="${CMAKE_USE_DIR}_BUILD" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -IUSE="zsh-completion" - -DEPEND="zsh-completion? ( app-shells/zsh )" -RDEPEND="${DEPEND}" - -src_unpack() { - default - mv -v "${WORKDIR}/libgit2-${LIBGIT2_TAG}" "${S}/deps/libgit2" || die -} - -src_configure() { - mycmakeargs=( - -DCMAKE_BUILD_TYPE=Release - -DZERO_NSEC=ON - -DTHREADSAFE=ON - -DUSE_BUNDLED_ZLIB=ON - -DREGEX_BACKEND=builtin - -DUSE_HTTP_PARSER=builtin - -DUSE_SSH=OFF - -DUSE_HTTPS=OFF - -DBUILD_CLAR=OFF - -DUSE_GSSAPI=OFF - -DUSE_NTLMCLIENT=OFF - -DBUILD_SHARED_LIBS=OFF - ) - cmake_src_configure -} - -src_compile() { - append-cflags $(test-flags-CC -fno-plt) - - cmake_src_compile - - local cxxflags=( - "-I${CMAKE_USE_DIR}/include" - -DGITSTATUS_ZERO_NSEC - -D_GNU_SOURCE - ) - local ldflags=( - "-L${BUILD_DIR}" - -static - ) - - append-cxxflags "${cxxflags[@]}" - append-ldflags "${ldflags[@]}" - emake all - GITSTATUS_DAEMON= GITSTATUS_CACHE_DIR=${S}/usrbin ./install - if use zsh-completion; then - for file in *.zsh install; do - zsh -fc "emulate zsh -o no_aliases && zcompile -R -- $file.zwc $file" || die "Couldn't zcompile" - done - fi -} - -src_install() { - insinto "/usr/share/${PN}" - exeinto "${_}" - - doins gitstatus.*.sh *.info - - if use zsh-completion; then - doins gitstatus.*.zsh{,.zwc} - fi - - doexe install - - exeinto "/usr/libexec/${PN}" - doexe usrbin/gitstatusd - - dosym "../../../libexec/${PN}/gitstatusd" \ - "/usr/share/${PN}/usrbin/gitstatusd" - - dodoc {README,docs/listdir}.md -} - -pkg_postinst() { - elog "The easiest way to take advantage of gitstatus from Zsh is to use a theme" - elog "that's already integrated with it. For example: app-shells/zsh-theme-powerlevel10k" - elog "The easiest way to take advantage of gitstatus from Bash is via gitstatus.prompt.sh." - elog "Follow this guide: https://github.com/romkatv/gitstatus#using-from-bash" -} diff --git a/app-shells/gitstatus/metadata.xml b/app-shells/gitstatus/metadata.xml deleted file mode 100644 index a913e11..0000000 --- a/app-shells/gitstatus/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - florianbadie@odrling.xyz - odrling - - - romkatv/gitstatus - -