commit: fb55821958a4ce7ddc7ca3dddd12a9657e69002a Author: ingenarel <ingenarelitems <AT> gmail <DOT> com> AuthorDate: Sat Nov 29 17:35:57 2025 +0000 Commit: Saad Abdullah <ingenarelitems <AT> gmail <DOT> com> CommitDate: Sat Nov 29 17:35:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb558219
media-sound/rmpc: add 9999 Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com> media-sound/rmpc/rmpc-9999.ebuild | 49 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/media-sound/rmpc/rmpc-9999.ebuild b/media-sound/rmpc/rmpc-9999.ebuild new file mode 100644 index 0000000000..513fbf60da --- /dev/null +++ b/media-sound/rmpc/rmpc-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.15.0 + +EAPI=8 + +RUST_MIN_VER="1.88.0" + +CRATES=" " + +inherit cargo shell-completion + +DESCRIPTION="A beautiful and configurable TUI client for MPD" +HOMEPAGE="https://mierak.github.io/rmpc/" +LICENSE="BSD-3-Clause" + +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC + LGPL-3+ MIT UoI-NCSA Unicode-3.0 ZLIB +" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mierak/${PN}" + src_unpack() { + git-r3_src_unpack + cargo_live_src_unpack + } +else + SRC_URI="https://github.com/mierak/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" ${CARGO_CRATE_URIS}" + KEYWORDS="~amd64" + RESTRICT="mirror" +fi + +SLOT="0" + +DOCS=( README.md CHANGELOG.md ) + +src_install() { + cargo_src_install + einstalldocs + doman target/man/* + newbashcomp target/completions/rmpc.bash rmpc + dozshcomp target/completions/_rmpc + dofishcomp target/completions/rmpc.fish +}
