Re: git: b963d02e766e - main - deskutils/xfce4-notifyd: Add WAYLAND option

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Fri, 21 Feb 2025 18:05:56 UTC
On Wed, 19 Feb 2025 19:04:29 GMT Guido Falsi wrote:
> The branch main has been updated by madpilot:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=b963d02e766ee268a74acaab87e4431b15670224
> 
> commit b963d02e766ee268a74acaab87e4431b15670224
> Author:     Guido Falsi <madpilot@FreeBSD.org>
> AuthorDate: 2025-02-19 19:03:08 +0000
> Commit:     Guido Falsi <madpilot@FreeBSD.org>
> CommitDate: 2025-02-19 19:03:08 +0000
> 
>     deskutils/xfce4-notifyd: Add WAYLAND option
>     
>     Put gtk-layer-shell under a WAYLAND option, on by default.
>     
>     Reported by:    tijl
> ---
>  deskutils/xfce4-notifyd/Makefile | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/deskutils/xfce4-notifyd/Makefile b/deskutils/xfce4-notifyd/Makefile
> index ccb031c419d3..574e039bf293 100644
> --- a/deskutils/xfce4-notifyd/Makefile
> +++ b/deskutils/xfce4-notifyd/Makefile
> @@ -15,8 +15,7 @@ WWW=		https://gitlab.xfce.org/apps/xfce4-notifyd
>  
>  LICENSE=	GPLv3
>  
> -LIB_DEPENDS=	libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \
> -		libharfbuzz.so:print/harfbuzz \
> +LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz \
>  		libnotify.so:devel/libnotify
>  
>  USES=		compiler:c11 gettext-tools gmake gnome libtool pkgconfig sqlite \
> @@ -29,7 +28,8 @@ GNU_CONFIGURE=	yes
>  CONFIGURE_ARGS=	--disable-systemd
>  INSTALL_TARGET=	install-strip
>  
> -OPTIONS_DEFINE=	NLS SOUND
> +OPTIONS_DEFINE=	NLS SOUND WAYLAND
> +OPTIONS_DEFAULT=	WAYLAND
>  OPTIONS_SUB=	yes
>  
>  SOUND_DESC=	Sound (audio) support via canberra
> @@ -41,4 +41,7 @@ SOUND_LIB_DEPENDS=	libcanberra-gtk3.so:audio/libcanberra-gtk3 \
>  			libcanberra.so:audio/libcanberra
>  SOUND_CONFIGURE_ENABLE=	sound
>  
> +WAYLAND_LIB_DEPENDS=	libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
> +WAYLAND_CONFIGURE_ENABLE=	wayland
> +
>  .include <bsd.port.mk>

Thanks!