From: "Nickolas Raymond Kaczynski" <nrk@disroot.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/
Date: Fri, 28 Jun 2024 12:14:04 +0000 (UTC) [thread overview]
Message-ID: <1719576816.1b58dbb7a85d237d46ba796f0e17613e7c4d7cf3.nrk@gentoo> (raw)
commit: 1b58dbb7a85d237d46ba796f0e17613e7c4d7cf3
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Fri Jun 28 12:12:02 2024 +0000
Commit: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
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 <nrk <AT> 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
}
next reply other threads:[~2024-06-28 12:14 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-28 12:14 Nickolas Raymond Kaczynski [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-26 17:13 [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/ Nickolas Raymond Kaczynski
2024-08-01 16:14 Nickolas Raymond Kaczynski
2024-05-25 15:17 Nickolas Raymond Kaczynski
2024-05-15 2:58 Lucio Sauer
2024-05-15 2:58 Lucio Sauer
2023-10-02 12:21 Nickolas Raymond Kaczynski
2023-10-01 13:58 Nickolas Raymond Kaczynski
2023-05-20 17:30 Nickolas Raymond Kaczynski
2023-05-20 17:30 Nickolas Raymond Kaczynski
2023-02-18 14:06 Ronny Gutbrod
2023-02-18 9:51 Nickolas Raymond Kaczynski
2023-02-18 9:51 Nickolas Raymond Kaczynski
2023-01-28 16:32 Nickolas Raymond Kaczynski
2023-01-10 4:55 Nickolas Raymond Kaczynski
2023-01-09 10:25 Nickolas Raymond Kaczynski
2022-08-09 17:25 Nickolas Raymond Kaczynski
2022-06-18 7:01 Nickolas Raymond Kaczynski
2022-06-11 15:38 Nickolas Raymond Kaczynski
2022-05-30 13:08 Nickolas Raymond Kaczynski
2022-04-25 0:31 Nickolas Raymond Kaczynski
2022-03-03 13:04 Nickolas Raymond Kaczynski
2021-12-12 12:17 Nickolas Raymond Kaczynski
2021-11-21 14:48 Nickolas Raymond Kaczynski
2021-11-21 14:22 Nickolas Raymond Kaczynski
2021-09-23 6:46 Nickolas Raymond Kaczynski
2021-09-17 0:24 Nickolas Raymond Kaczynski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1719576816.1b58dbb7a85d237d46ba796f0e17613e7c4d7cf3.nrk@gentoo \
--to=nrk@disroot.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox