commit:     93dac2a0b12d940a104d6ecdaed8e892c78b63d5
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Feb  4 19:16:46 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Feb  4 19:16:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93dac2a0

gui-wm/phoc: add verify-sig

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 gui-wm/phoc/Manifest           | 1 +
 gui-wm/phoc/phoc-0.36.0.ebuild | 9 +++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/gui-wm/phoc/Manifest b/gui-wm/phoc/Manifest
index 7d1927efb3..7710ab46ea 100644
--- a/gui-wm/phoc/Manifest
+++ b/gui-wm/phoc/Manifest
@@ -1,2 +1,3 @@
 DIST phoc-0.35.0.tar.xz 677432 BLAKE2B 
722a3669b1d76015612b5f4020d0e21c47faa8f6fb19887b2b79d4f6b79e30f45e0332ae2e2771fb9169214002508bdcff61ee0e7f874930e03a7cf952c44e7c
 SHA512 
ec4b382ef11b257afe3b13ebf1e588353c785279afde4b1a8ee80790cb6a299fd94098a5170b30a2114061d86bdf388bb1c99f8ce1bd5173deb886d11015681e
 DIST phoc-0.36.0.tar.xz 681384 BLAKE2B 
6c27c785dd01f9e44cb0940c5a4f73d5ce75cad85808d0b6c801360401ff001cca839abd27bc8442702c5241bac043c6d7015e6f1c5a5ec30cfcb6779adf973b
 SHA512 
a47851a3e222958ad55c05ed86a068b30f6e00ed5d7e957aab99e7f4103b95fee4db6b177f2de8d0c9ce11306c68ef74d78e38ea0bdb6c47e66f9ef9bf0e9f66
+DIST phoc-0.36.0.tar.xz.asc 833 BLAKE2B 
0562c02dcb5d1618b3a316c4c36e4757f4729adf99b8ac748ed52c1bdcad6b65bc9fdb98462375e80f6898d699c6e237e4aa5057631434235166ca616de7d2e6
 SHA512 
2108eed0a0723c743d86eee9f517a9c8505faf8f55a32eb60ee9da04ae53221b00520ca9e422397617d1bde6f1047ba2ebdf6d45211df052b9b2cfa2d3ea12fe

diff --git a/gui-wm/phoc/phoc-0.36.0.ebuild b/gui-wm/phoc/phoc-0.36.0.ebuild
index 6b3b29f93f..8565dfb6c1 100644
--- a/gui-wm/phoc/phoc-0.36.0.ebuild
+++ b/gui-wm/phoc/phoc-0.36.0.ebuild
@@ -3,11 +3,13 @@
 
 EAPI=8
 
-inherit gnome2-utils meson virtualx xdg
+inherit gnome2-utils meson verify-sig virtualx xdg
 
 DESCRIPTION="Wayland compositor for mobile phones"
 HOMEPAGE="https://gitlab.gnome.org/World/Phosh/phoc";
-SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz";
+SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz
+       verify-sig? ( https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz.asc 
)
+"
 
 LICENSE="|| ( GPL-3+ MIT ) GPL-3+ LGPL-2.1+ MIT"
 SLOT="0"
@@ -42,8 +44,11 @@ BDEPEND="
        sys-devel/gettext
        gtk-doc? ( dev-util/gi-docgen )
        man? ( dev-python/docutils )
+       verify-sig? ( sec-keys/openpgp-keys-phosh )
 "
 
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/phosh.asc"
+
 src_configure() {
        local emesonargs=(
                $(meson_feature X xwayland)

Reply via email to