summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-01-06 05:06:01 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-01-06 05:45:22 -0500
commit8a934e094569441fa342f4d31dd69b0572c197c5 (patch)
tree6dfdee17bb289209467cb3928feafff96afd9aca /x11-terms/kitty/kitty-0.24.1.ebuild
parentsec-keys/openpgp-keys-kovidgoyal: initial import (diff)
downloadgentoo-8a934e094569441fa342f4d31dd69b0572c197c5.tar.gz
gentoo-8a934e094569441fa342f4d31dd69b0572c197c5.tar.bz2
gentoo-8a934e094569441fa342f4d31dd69b0572c197c5.zip
x11-terms/kitty: use verify-sig
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-terms/kitty/kitty-0.24.1.ebuild')
-rw-r--r--x11-terms/kitty/kitty-0.24.1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11-terms/kitty/kitty-0.24.1.ebuild b/x11-terms/kitty/kitty-0.24.1.ebuild
index 99fe4de04235..ae77780523a3 100644
--- a/x11-terms/kitty/kitty-0.24.1.ebuild
+++ b/x11-terms/kitty/kitty-0.24.1.ebuild
@@ -10,7 +10,11 @@ if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git"
else
- SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz"
+ inherit verify-sig
+ SRC_URI="
+ https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz
+ verify-sig? ( https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )"
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg"
KEYWORDS="~amd64 ~x86"
fi
@@ -58,6 +62,7 @@ BDEPEND="
virtual/pkgconfig
test? ( $(python_gen_cond_dep 'dev-python/pillow[${PYTHON_USEDEP}]') )
wayland? ( dev-util/wayland-scanner )"
+[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )"
PATCHES=(
"${FILESDIR}"/${PN}-0.23.1-flags.patch