diff --git a/x11/swayidle/Makefile b/x11/swayidle/Makefile index 801247abc273..42bee3760a9a 100644 --- a/x11/swayidle/Makefile +++ b/x11/swayidle/Makefile @@ -1,50 +1,32 @@ PORTNAME= swayidle DISTVERSION= 1.8.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 wayland -PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ -PATCHFILES+= 28950f787813.patch:-p1 # https://github.com/swaywm/swayidle/pull/89 -PATCHFILES+= 26e192a5f1b2.patch:-p1 # https://github.com/swaywm/swayidle/pull/89 -PATCHFILES+= f2f7e4d0a7c8.patch:-p1 # https://github.com/swaywm/swayidle/pull/89 - MAINTAINER= jbeich@FreeBSD.org COMMENT= Idle management daemon for Wayland WWW= https://github.com/swaywm/swayidle LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.27:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c11 meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= swaywm -MESON_ARGS= -Dsd-bus-provider=basu +MESON_ARGS= -Dlogind=disabled PLIST_FILES= bin/${PORTNAME} \ share/bash-completion/completions/${PORTNAME} \ share/fish/vendor_completions.d/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} -OPTIONS_DEFINE= BASU MANPAGES -OPTIONS_DEFAULT=BASU MANPAGES - -BASU_DESC= ConsoleKit2 support via basu (experimental) -BASU_LIB_DEPENDS= libbasu.so:devel/basu -BASU_MESON_ENABLED= logind +OPTIONS_DEFINE= MANPAGES +OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz -post-patch: -# https://github.com/ConsoleKit2/ConsoleKit2/issues/150 - @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ - -e 's,login1,ConsoleKit,' \ - ${WRKSRC}/main.c - @${REINPLACE_CMD} -e 's,systemd,ConsoleKit2,g' \ - -Ee '/conf/!s,logind(/elogind)?,ConsoleKit2,g' \ - ${WRKSRC}/${PORTNAME}.1.scd - .include diff --git a/x11/swayidle/distinfo b/x11/swayidle/distinfo index ee29d94607d7..7c8c5fbf36fc 100644 --- a/x11/swayidle/distinfo +++ b/x11/swayidle/distinfo @@ -1,9 +1,3 @@ TIMESTAMP = 1670163481 SHA256 (swaywm-swayidle-1.8.0_GH0.tar.gz) = 0fba74c520a2bd64acd00bc3bce7bc8c7b84a2609c0f66329d72dfb33cca03d7 SIZE (swaywm-swayidle-1.8.0_GH0.tar.gz) = 13610 -SHA256 (28950f787813.patch) = 76301a36ce8a6acdd7f7466ec8079ae8cb3099560649b4e7e02f31139a81b6b1 -SIZE (28950f787813.patch) = 658 -SHA256 (26e192a5f1b2.patch) = 36fa718d512e6955daa3764b46fe4e6aeb901b67f86cbff0cae87d17b9d88514 -SIZE (26e192a5f1b2.patch) = 7047 -SHA256 (f2f7e4d0a7c8.patch) = c027af1e7255fac2d9410d3db16f0234fa7213c0f5e05d6ebcb7c29ee916ab46 -SIZE (f2f7e4d0a7c8.patch) = 4483