commit:     376b0130ed94b6b5e570e7979f51819471ce1f66
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Feb  4 19:19:09 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Feb  4 19:21:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=376b0130

phosh-base/phosh-tour: add verify-sig

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

 phosh-base/phosh-tour/Manifest                 |  1 +
 phosh-base/phosh-tour/phosh-tour-0.36.0.ebuild | 14 +++++++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/phosh-base/phosh-tour/Manifest b/phosh-base/phosh-tour/Manifest
index 4ceb65f155..304c00fb54 100644
--- a/phosh-base/phosh-tour/Manifest
+++ b/phosh-base/phosh-tour/Manifest
@@ -1,2 +1,3 @@
 DIST phosh-tour-0.36.0.tar.xz 113636 BLAKE2B 
21803419b5e70d7fbb38da23d266905eb254b7f38653d222b7da062c603071ff682a4c92ec673e50850d4cdadc5fc82c2b59fa7d1c87d9a5827bc12ab4f0a35b
 SHA512 
c0d493be60462fe801a72d957ab2f36aafd7fcb5a515f087094ca9723889b8725c241d251cf5e6a0fe2b895417b8779b3c4efe19eb8372e4da9ec812b849dc15
+DIST phosh-tour-0.36.0.tar.xz.asc 833 BLAKE2B 
5501484621f4aa76f4a4f71c65d6c1469d521e1e0b01427180b6753b9c20d7aa07e72cd75c43eee08fa7e6493a07c6b8f671c539afca389d44f5fe836731469b
 SHA512 
a243fe4ea2933bc3b4de46ce23e29571a620db6e8c415e16f928f5c6a9c821c6c87146dec85832d36cd1d68349054a12888f1f67ee4fdcbfc6fee7fb01add7aa
 DIST phosh-tour-v0.35.0.tar.bz2 121098 BLAKE2B 
cd229c7d7a406dd4cea1a4e5bdf6c271f93025c2337d974873995c7b000316d7d210dcf729955d3c49dbb6360f79d1d28d6198c257142dd252cf263ab1089693
 SHA512 
af435e228f4a3151accf122faf7eb33d1198ccc890fee8d45e9005dfa3887a5fd0ae7a931756a707bcbe0511c20a54e1adf967873dca126f9904bf43174769c3

diff --git a/phosh-base/phosh-tour/phosh-tour-0.36.0.ebuild 
b/phosh-base/phosh-tour/phosh-tour-0.36.0.ebuild
index 383044b173..5facdc306b 100644
--- a/phosh-base/phosh-tour/phosh-tour-0.36.0.ebuild
+++ b/phosh-base/phosh-tour/phosh-tour-0.36.0.ebuild
@@ -3,11 +3,12 @@
 
 EAPI=8
 
-inherit gnome2-utils meson xdg
+inherit gnome2-utils meson verify-sig xdg
 
 DESCRIPTION="Introduction to phosh on smartphones"
 HOMEPAGE="https://gitlab.gnome.org/guidog/phosh-tour";
-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+"
 SLOT="0"
@@ -19,7 +20,14 @@ DEPEND="
        >=gui-libs/libadwaita-1.1:1
 "
 RDEPEND="${DEPEND}"
-BDEPEND="sys-devel/gettext"
+BDEPEND="
+       sys-devel/gettext
+       verify-sig? (
+               sec-keys/openpgp-keys-phosh
+       )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/phosh.asc"
 
 QA_DESKTOP_FILE="usr/share/applications/mobi.phosh.PhoshTour.desktop"
 

Reply via email to