commit:     b4a3a2ab273fe510e077efe83500f616df9206c5
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  9 17:13:08 2026 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  9 17:13:25 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4a3a2ab

gui-apps/swayidle: sync live

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

 gui-apps/swayidle/swayidle-9999.ebuild | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/gui-apps/swayidle/swayidle-9999.ebuild 
b/gui-apps/swayidle/swayidle-9999.ebuild
index 401c403c41b6..869092b8e58d 100644
--- a/gui-apps/swayidle/swayidle-9999.ebuild
+++ b/gui-apps/swayidle/swayidle-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit meson
 
@@ -12,13 +12,15 @@ 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/${PV}.tar.gz -> 
${P}.tar.gz"
+       inherit verify-sig
+       
SRC_URI="https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz
+               
https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz.sig";
        KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="elogind +man systemd"
+IUSE="elogind systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
@@ -28,17 +30,23 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 BDEPEND="
+       app-text/scdoc
+       >=dev-util/wayland-scanner-1.14.91
        >=dev-libs/wayland-protocols-1.27
        virtual/pkgconfig
-       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=(
-               -Dman-pages=$(usex man enabled disabled)
-               "-Dfish-completions=true"
-               "-Dzsh-completions=true"
-               "-Dbash-completions=true"
+               -Dman-pages=enabled
+               -Dfish-completions=true
+               -Dzsh-completions=true
+               -Dbash-completions=true
        )
        if use systemd; then
                emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")

Reply via email to