commit:     e839a644e8db1eca8f246634a9c9bf91cdd50236
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  9 17:35:42 2026 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  9 17:36:08 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e839a644

gui-apps/swaylock: switch to dist tarball; wire up verify-sig

Checked all tarballs for diff, and there was none in the content,
which is why there is no revbump.

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 gui-apps/swaylock/Manifest              |  9 ++++++---
 gui-apps/swaylock/swaylock-1.8.0.ebuild | 11 +++++++++--
 gui-apps/swaylock/swaylock-1.8.3.ebuild | 11 +++++++++--
 gui-apps/swaylock/swaylock-1.8.4.ebuild |  9 ++++++++-
 gui-apps/swaylock/swaylock-9999.ebuild  | 11 +++++++++--
 5 files changed, 41 insertions(+), 10 deletions(-)

diff --git a/gui-apps/swaylock/Manifest b/gui-apps/swaylock/Manifest
index 383ee303e423..cfa1dc0659b7 100644
--- a/gui-apps/swaylock/Manifest
+++ b/gui-apps/swaylock/Manifest
@@ -1,3 +1,6 @@
-DIST swaylock-1.8.0.tar.gz 33073 BLAKE2B 
ab93ec0f5274de623f8c75ad174d7799d36471761234afc7697194483253d201978d8d977a5a80f8f8c926382b2eab5ab36c7be9c30e5dc26a3d0e1c747f7be6
 SHA512 
950b608d3af010d4c68efb3468859e6b45632220cfb1597084eed457c1afc31afb7f75d49d316aae2b20c9849e8c7f1d37a288b6ca0c27f53994c2e43f97789f
-DIST swaylock-1.8.3.tar.gz 33540 BLAKE2B 
4e0440625f3908ca5018266d9979b218200fbabf754c0b6dbef80c54c14fc80ddb14bb480ed0f2eb4fe9a7b07f137399a5a75f7186f8da376fa3778716fc3f54
 SHA512 
3ae69de30faf3056ad0d814d57445b1797d006c8494e4b3a0fd5ad06778b89c1ec86407ab18d30bdef0b277a23c5f5ff4597d3c0703e04a217d9aa5c966f8d89
-DIST swaylock-1.8.4.tar.gz 33819 BLAKE2B 
586c4500e0a1f523a757648f47fd631ede78fad7409f0d2d7007c0ab30715c278d52894a599ebfb593c8913f6f26f52736ff3e96500754c2359a456f82c3e510
 SHA512 
6f8fd52fe94dfcafc6faa976a4933594c1714d21c6d0b78f0ba903222be07456db44c9c51b852c4a2175ca4c1b0cce1f71027edfffca9d7fffa2a32aecab2c61
+DIST swaylock-1.8.0.gh.tar.gz 33213 BLAKE2B 
f4e82f02c024489aa9d0adf5f36e11f524e62e974c5a4753b2f0eb9bba12a4f7829981821a6ccd35997a551bfd1941faa3e8cc326f11aa110409afa193989bcc
 SHA512 
2714c4377ff6a14d5ffc57afdac92b464918c904a4845c54dd5f9eba6c2a9ec58217bafd028d86c636174110bc6cfa2fe45715b6ec25927ed9ac3d6e08c575f9
+DIST swaylock-1.8.0.gh.tar.gz.sig 566 BLAKE2B 
ec9d7b642959303e9bd5f313e0b995beba88c2b85917971230c5c31754bd624be334058f7f1943cabadead966131ef56fdee564dd600ec89e87f773e37162ccd
 SHA512 
f81b7a713bade2e179c2d20df1d218c1d351624c7ba29d27e7df0b00401117ac4cc933eb289224f3e861f51df121a272c6b699697edc238f9681e746d854a310
+DIST swaylock-1.8.3.gh.tar.gz 33817 BLAKE2B 
a0895e316ba9a529b2d113a9cecdce44a2283e7d67dbe0008a0b5ce0c3479dc911382f26506243ad26f69e3582386658efb5ba9e603b8f028f7470a08592b870
 SHA512 
f2d3db3f18de330d4dcc2ef123bb8de9bc24086602db8a8d95108efb84a0f2c5403a121c24171df7cd32b24609ae74e05608eec23500912817dd04a5cf4187e7
+DIST swaylock-1.8.3.gh.tar.gz.sig 566 BLAKE2B 
bf92a14152226fe36f264ba99adb4f251d32ff77ae32ef2a2952644ddbf01862fba5790b0e8fca672148be9a4d142e0658f48065a934dd491b82f31b92ca0a99
 SHA512 
053b4fb6acee7ec7e223829a66d7d062840ce5e5ce7cf627bd85bd7610a7efaf83ce5adbc46f11159861264cef0ab18be2c9af10b42b18d0c55199d4244c0dae
+DIST swaylock-1.8.4.gh.tar.gz 34123 BLAKE2B 
1ced271af25e826bf14340ae0673f18a0134d0b52b94239aae6fdb70d1d064bde8127b50f430fbfc0cfd6844fa87407f9868e7ff1dc32b5b86d8596cbb355a2e
 SHA512 
ee960c574176f8fca837d3643879456681f79a887744abd6ba274b23ab45cc8f06ccf95da7d0059ffded6330970ea4aedb1f0ca2d473b202c8cf60c4e34088eb
+DIST swaylock-1.8.4.gh.tar.gz.sig 566 BLAKE2B 
6d4e06e4666f5617f0f8da9a12b3f394deb3d089a70856bdb3994372ebe72b8324d131bd90bbf8537fcb3d410b35b42101c6a07a83b46d4e6b3677044d5db797
 SHA512 
a925d1efe61f820a5b9c10973860c984f6305f50510db4af50bdaae742121c063b895129a7d14fc62f2b9e075563eeb485eeaaa3ee1f65951c7db9f0f1939c53

diff --git a/gui-apps/swaylock/swaylock-1.8.0.ebuild 
b/gui-apps/swaylock/swaylock-1.8.0.ebuild
index 33241efe9f7b..9207775431e5 100644
--- a/gui-apps/swaylock/swaylock-1.8.0.ebuild
+++ b/gui-apps/swaylock/swaylock-1.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,9 @@ if [[ ${PV} == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/swaywm/${PN}.git";
 else
-       SRC_URI="https://github.com/swaywm/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       inherit verify-sig
+       
SRC_URI="https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz 
-> ${P}.gh.tar.gz
+               
https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz.sig -> 
${P}.gh.tar.gz.sig"
        KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
@@ -36,6 +38,11 @@ BDEPEND="
        man? ( app-text/scdoc )
 "
 
+if [[ ${PV} != 9999 ]]; then
+       BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-emersion )"
+       VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc"
+fi
+
 src_configure() {
        local emesonargs=(
                $(meson_feature man man-pages)

diff --git a/gui-apps/swaylock/swaylock-1.8.3.ebuild 
b/gui-apps/swaylock/swaylock-1.8.3.ebuild
index 9bcb747f203d..90d2b518cde4 100644
--- a/gui-apps/swaylock/swaylock-1.8.3.ebuild
+++ b/gui-apps/swaylock/swaylock-1.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,9 @@ if [[ ${PV} == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/swaywm/${PN}.git";
 else
-       SRC_URI="https://github.com/swaywm/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       inherit verify-sig
+       
SRC_URI="https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz 
-> ${P}.gh.tar.gz
+               
https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz.sig -> 
${P}.gh.tar.gz.sig"
        KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
@@ -36,6 +38,11 @@ BDEPEND="
        man? ( app-text/scdoc )
 "
 
+if [[ ${PV} != 9999 ]]; then
+       BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-emersion )"
+       VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc"
+fi
+
 src_configure() {
        local emesonargs=(
                $(meson_feature man man-pages)

diff --git a/gui-apps/swaylock/swaylock-1.8.4.ebuild 
b/gui-apps/swaylock/swaylock-1.8.4.ebuild
index f047ad2012ec..4e23c41496c4 100644
--- a/gui-apps/swaylock/swaylock-1.8.4.ebuild
+++ b/gui-apps/swaylock/swaylock-1.8.4.ebuild
@@ -12,7 +12,9 @@ if [[ ${PV} == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/swaywm/${PN}.git";
 else
-       SRC_URI="https://github.com/swaywm/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       inherit verify-sig
+       
SRC_URI="https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz 
-> ${P}.gh.tar.gz
+               
https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz.sig -> 
${P}.gh.tar.gz.sig"
        KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
@@ -39,6 +41,11 @@ BDEPEND="
        virtual/pkgconfig
 "
 
+if [[ ${PV} != 9999 ]]; then
+       BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-emersion )"
+       VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc"
+fi
+
 src_configure() {
        local emesonargs=(
                $(meson_feature pam)

diff --git a/gui-apps/swaylock/swaylock-9999.ebuild 
b/gui-apps/swaylock/swaylock-9999.ebuild
index e76a3d765c0f..a12c77260c5b 100644
--- a/gui-apps/swaylock/swaylock-9999.ebuild
+++ b/gui-apps/swaylock/swaylock-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,9 @@ if [[ ${PV} == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/swaywm/${PN}.git";
 else
-       SRC_URI="https://github.com/swaywm/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       inherit verify-sig
+       
SRC_URI="https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz 
-> ${P}.gh.tar.gz
+               
https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz.sig -> 
${P}.gh.tar.gz.sig"
        KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
@@ -39,6 +41,11 @@ BDEPEND="
        virtual/pkgconfig
 "
 
+if [[ ${PV} != 9999 ]]; then
+       BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-emersion )"
+       VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc"
+fi
+
 src_configure() {
        local emesonargs=(
                $(meson_feature pam)

Reply via email to