From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 038D015802E for ; Fri, 28 Jun 2024 21:44:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D9ECE2A4E; Fri, 28 Jun 2024 21:44:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 361F8E2A4E for ; Fri, 28 Jun 2024 21:44:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D165933BF03 for ; Fri, 28 Jun 2024 21:44:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A48F1D7B for ; Fri, 28 Jun 2024 21:44:15 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1719576816.1b58dbb7a85d237d46ba796f0e17613e7c4d7cf3.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-gfx/nsxiv/Manifest media-gfx/nsxiv/nsxiv-32.ebuild media-gfx/nsxiv/nsxiv-9999.ebuild X-VCS-Directories: media-gfx/nsxiv/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 1b58dbb7a85d237d46ba796f0e17613e7c4d7cf3 X-VCS-Branch: master Date: Fri, 28 Jun 2024 21:44:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8c53384f-9df6-4990-a172-900167d8e0f1 X-Archives-Hash: ef5d2fdda9c368370001442c822ce6d1 commit: 1b58dbb7a85d237d46ba796f0e17613e7c4d7cf3 Author: NRK disroot org> AuthorDate: Fri Jun 28 12:12:02 2024 +0000 Commit: David Roman gmail com> CommitDate: Fri Jun 28 12:13:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b58dbb7 media-gfx/nsxiv: install zsh completion Signed-off-by: NRK disroot.org> media-gfx/nsxiv/Manifest | 1 + media-gfx/nsxiv/nsxiv-32.ebuild | 12 ++++++++++-- media-gfx/nsxiv/nsxiv-9999.ebuild | 12 ++++++++++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest index bb50055e2..db5131c4d 100644 --- a/media-gfx/nsxiv/Manifest +++ b/media-gfx/nsxiv/Manifest @@ -1 +1,2 @@ DIST nsxiv-32.tar.gz 74345 BLAKE2B 92257a95095291068c982d91ed32a0ae358f89048057fa6f1cb356caccbba9cb1f9fdb6ca0e16faf4e6e411af942858182cf2bea3b5d19904f3ca686f7b372ed SHA512 e53de494f104440c87eb55606c322cb7ac9989176547131f59e02eb091d04a3a2de6c11c1c775cb25302ff1da5997bc499d753a822c1de4652aa77bf2858fa9a +DIST nsxiv-f7d1efe3495949e2e88fdfef37aed5a40400acea.comp.zsh 2413 BLAKE2B 0749b55bd9f7d48922d6ac673c1d65e7625bb53c4df524123c9a579edf8aa8c3fba15f4382b5102e812acddaf99d3ec24797703340edd013758ae51a0944758f SHA512 e26af7bdfce2bd1aa1b3d31fee88370b58fbc624c8855d70133ba96a94713e7bdfbfbe6ead650822dbba0f04a5c2ab6cd9dd35a94d46a2455f3a5051554c43f2 diff --git a/media-gfx/nsxiv/nsxiv-32.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild index 0068bee5b..291f4dd13 100644 --- a/media-gfx/nsxiv/nsxiv-32.ebuild +++ b/media-gfx/nsxiv/nsxiv-32.ebuild @@ -3,13 +3,20 @@ EAPI=8 -inherit desktop xdg-utils savedconfig toolchain-funcs linux-info +inherit desktop xdg-utils savedconfig toolchain-funcs linux-info shell-completion +ZSH_COMP_COMMIT="f7d1efe3495949e2e88fdfef37aed5a40400acea" +ZSH_COMP_URI="https://codeberg.org/nsxiv/nsxiv-extra/raw/commit/${ZSH_COMP_COMMIT}/completion/zsh/_nsxiv" +ZSH_COMP="${PN}-${ZSH_COMP_COMMIT}.comp.zsh" if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git" + SRC_URI="${ZSH_COMP_URI} -> ${ZSH_COMP}" inherit git-r3 else - SRC_URI="https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI=" + https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${ZSH_COMP_URI} -> ${ZSH_COMP} + " KEYWORDS="~amd64" fi @@ -65,6 +72,7 @@ src_install() { install install-icon dodoc README.md domenu etc/nsxiv.desktop + newzshcomp "${DISTDIR}/${ZSH_COMP}" _nsxiv save_config config.h } diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild index 0068bee5b..291f4dd13 100644 --- a/media-gfx/nsxiv/nsxiv-9999.ebuild +++ b/media-gfx/nsxiv/nsxiv-9999.ebuild @@ -3,13 +3,20 @@ EAPI=8 -inherit desktop xdg-utils savedconfig toolchain-funcs linux-info +inherit desktop xdg-utils savedconfig toolchain-funcs linux-info shell-completion +ZSH_COMP_COMMIT="f7d1efe3495949e2e88fdfef37aed5a40400acea" +ZSH_COMP_URI="https://codeberg.org/nsxiv/nsxiv-extra/raw/commit/${ZSH_COMP_COMMIT}/completion/zsh/_nsxiv" +ZSH_COMP="${PN}-${ZSH_COMP_COMMIT}.comp.zsh" if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git" + SRC_URI="${ZSH_COMP_URI} -> ${ZSH_COMP}" inherit git-r3 else - SRC_URI="https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI=" + https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${ZSH_COMP_URI} -> ${ZSH_COMP} + " KEYWORDS="~amd64" fi @@ -65,6 +72,7 @@ src_install() { install install-icon dodoc README.md domenu etc/nsxiv.desktop + newzshcomp "${DISTDIR}/${ZSH_COMP}" _nsxiv save_config config.h }