x11/swayidle: document ConsoleKit2 as systemd-logind provider

InhibitDelayMaxSec via logind.conf won't work but the rest applies.
This commit is contained in:
Jan Beich 2025-03-21 22:50:45 +01:00
parent b221ffebb5
commit c1c14aa6a4

View File

@ -1,6 +1,6 @@
PORTNAME= swayidle PORTNAME= swayidle
DISTVERSION= 1.8.0 DISTVERSION= 1.8.0
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= x11 wayland CATEGORIES= x11 wayland
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@ -43,5 +43,8 @@ post-patch:
@${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \
-e 's,login1,ConsoleKit,' \ -e 's,login1,ConsoleKit,' \
${WRKSRC}/main.c ${WRKSRC}/main.c
@${REINPLACE_CMD} -e 's,systemd,ConsoleKit2,g' \
-Ee '/conf/!s,logind(/elogind)?,ConsoleKit2,g' \
${WRKSRC}/${PORTNAME}.1.scd
.include <bsd.port.mk> .include <bsd.port.mk>