commit: 9f013c6362a684fdc5d77995f527fe810ef5d8c5 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Thu Nov 27 21:54:29 2025 +0000 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> CommitDate: Fri Nov 28 00:26:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f013c63
gui-apps/swaylock: update live add missing glib with gdk-pixbuf enabled build manpages unconditionally with scdoc libgcrypt is only required if pam is disabled use cap_dac_read_search for fcaps to read /etc/shadow Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44803 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> gui-apps/swaylock/swaylock-9999.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gui-apps/swaylock/swaylock-9999.ebuild b/gui-apps/swaylock/swaylock-9999.ebuild index 9bcb747f203d..e4a0ea6d42cd 100644 --- a/gui-apps/swaylock/swaylock-9999.ebuild +++ b/gui-apps/swaylock/swaylock-9999.ebuild @@ -18,29 +18,32 @@ fi LICENSE="MIT" SLOT="0" -IUSE="+gdk-pixbuf +man +pam" +IUSE="+gdk-pixbuf +pam" DEPEND=" dev-libs/wayland x11-libs/cairo x11-libs/libxkbcommon - virtual/libcrypt:= - gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 ) + gdk-pixbuf? ( + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + ) pam? ( sys-libs/pam ) + !pam? ( virtual/libcrypt:= ) " RDEPEND="${DEPEND}" BDEPEND=" + app-text/scdoc >=dev-libs/wayland-protocols-1.25 >=dev-util/wayland-scanner-1.15 virtual/pkgconfig - man? ( app-text/scdoc ) " src_configure() { local emesonargs=( - $(meson_feature man man-pages) $(meson_feature pam) $(meson_feature gdk-pixbuf) + -Dman-pages=enabled -Dfish-completions=true -Dzsh-completions=true -Dbash-completions=true @@ -50,5 +53,5 @@ src_configure() { } pkg_postinst() { - use !pam && fcaps -m u+s cap_sys_admin usr/bin/swaylock + use !pam && fcaps -m u+s cap_dac_read_search usr/bin/swaylock }
