commit: a9001c525b1e660087545e86e69c00bf06b496a8 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Mon Feb 9 17:09:54 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=a9001c52
gui-apps/swayidle: add 1.9.0, EAPI=8, enable verify-sig - EAPI=8 - start using the official dist tarball - enable verify-sig for the official dist tarball - make man page mandatory - scdoc is really a small dependency and I believe the man page is very useful to miss it on swayidle (and also this is a QA policy, but here I think it is less critical) - add build dependency dev-util/wayland-scanner, since it is used by build Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> gui-apps/swayidle/Manifest | 2 ++ gui-apps/swayidle/swayidle-1.9.0.ebuild | 60 +++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/gui-apps/swayidle/Manifest b/gui-apps/swayidle/Manifest index 9f95400560b3..6a8e14989ffd 100644 --- a/gui-apps/swayidle/Manifest +++ b/gui-apps/swayidle/Manifest @@ -1 +1,3 @@ DIST swayidle-1.8.0.tar.gz 13610 BLAKE2B 0eeb83b1ff77dc0a4288280e680da988471651c9ca635641f8fadfc89c3db24f814535c5e2b8854c39d7ff2d2f76181cb758251a550e7e1f532d077468f8962c SHA512 92b482e24926e645c33e29e7ed88912294a375ec625c0c8d85bc6aeeb6691f9cbfc05e88533465702667e479daeaae915481907526f7c862cb81622745f1ce68 +DIST swayidle-1.9.0.tar.gz 12879 BLAKE2B 3d6752bdd6605c3f89d9f7612b5dbb6a0af1ff302959d68b0c008fb23eabbaa08956326bf9495162172fcd3903fcdb547c79ab3767e2c05b49f82d735c1f951a SHA512 158bce330b4d4f17e0d12358361e52abb881e3da61b3da0013ddbd1f99339b490e1c8078e539740707582b62fde80b8e1325c65800096e292d96c7e1abfd1462 +DIST swayidle-1.9.0.tar.gz.sig 566 BLAKE2B c7bb2b1422327029182037a7a4d2995225483dd288b9da14605eec1a145c3831927cde027f38d199f5bd6774dd0eb5c72005d61c1bb997e2aaf986c871450e6b SHA512 8d9a72ccde212502a432581816618098fce6c04da723238de68757ff119a879b60d5e4892ffb71f3ea55fe8a3e5169face22e52ae35ac8e6bce06b4b8c87422f diff --git a/gui-apps/swayidle/swayidle-1.9.0.ebuild b/gui-apps/swayidle/swayidle-1.9.0.ebuild new file mode 100644 index 000000000000..869092b8e58d --- /dev/null +++ b/gui-apps/swayidle/swayidle-1.9.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Idle management daemon for Wayland" +HOMEPAGE="https://github.com/swaywm/swayidle" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" +else + 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 systemd" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + dev-libs/wayland + elogind? ( >=sys-auth/elogind-237[policykit] ) + systemd? ( >=sys-apps/systemd-237[policykit] ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-text/scdoc + >=dev-util/wayland-scanner-1.14.91 + >=dev-libs/wayland-protocols-1.27 + 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=( + -Dman-pages=enabled + -Dfish-completions=true + -Dzsh-completions=true + -Dbash-completions=true + ) + if use systemd; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd") + elif use elogind; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind") + else + emesonargs+=("-Dlogind=disabled") + fi + + meson_src_configure +}
