git: 0aa5feb8b58f - main - x11/xfce4-docklike-plugin: Update to 0.5.0

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Wed, 21 May 2025 17:47:04 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0aa5feb8b58ff98debd3d0da9bd714ce810ea860

commit 0aa5feb8b58ff98debd3d0da9bd714ce810ea860
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-21 17:45:52 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-21 17:45:52 +0000

    x11/xfce4-docklike-plugin: Update to 0.5.0
    
    - Added WAYLAND option
    - Project moved to meson build
    
    PR:             286941
    Approved by:    Quentin Baker <bsd@quentb.com> (maintainer)
---
 x11/xfce4-docklike-plugin/Makefile  | 25 +++++++++++++------------
 x11/xfce4-docklike-plugin/distinfo  |  6 +++---
 x11/xfce4-docklike-plugin/pkg-plist |  1 +
 3 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/x11/xfce4-docklike-plugin/Makefile b/x11/xfce4-docklike-plugin/Makefile
index 5bfe45799127..300dd46aea87 100644
--- a/x11/xfce4-docklike-plugin/Makefile
+++ b/x11/xfce4-docklike-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-docklike-plugin
-PORTVERSION=	0.4.3
+PORTVERSION=	0.5.0
 CATEGORIES=	x11 xfce
 MASTER_SITES=	XFCE/panel-plugins
 DIST_SUBDIR=	xfce4
@@ -10,22 +10,23 @@ WWW=		https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz \
-		libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
-
-USES=		gettext-tools gmake gnome libtool pkgconfig tar:bzip2 xfce xorg
-USE_GNOME=	cairo gdkpixbuf gtk30
+USES=		gettext-tools gnome meson pkgconfig tar:xz xfce xorg
+USE_GNOME=	gdkpixbuf gtk30
 USE_XFCE=	libmenu panel windowing
 USE_XORG=	x11
 
-GNU_CONFIGURE=		yes
-
-INSTALL_TARGET=	install-strip
+MESON_ARGS=	-Dx11=enabled
 
-OPTIONS_DEFINE=	NLS
+OPTIONS_DEFINE=	NLS WAYLAND
+OPTIONS_DEFAULT=WAYLAND
 OPTIONS_SUB=	yes
 
-NLS_USES=		gettext-runtime
-NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=	gettext-runtime
+
+WAYLAND_LIB_DEPENDS=	libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
+WAYLAND_MESON_ENABLED=	wayland
+
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
 
 .include <bsd.port.mk>
diff --git a/x11/xfce4-docklike-plugin/distinfo b/x11/xfce4-docklike-plugin/distinfo
index fa192fff1fac..88cd8f388e6c 100644
--- a/x11/xfce4-docklike-plugin/distinfo
+++ b/x11/xfce4-docklike-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735495066
-SHA256 (xfce4/xfce4-docklike-plugin-0.4.3.tar.bz2) = e81e16b4ab1c655a3202473d78cc81617bb4829e5dd102eecabf9addd7668a9d
-SIZE (xfce4/xfce4-docklike-plugin-0.4.3.tar.bz2) = 456424
+TIMESTAMP = 1747674178
+SHA256 (xfce4/xfce4-docklike-plugin-0.5.0.tar.xz) = 418aa01f51f6528d95ceeb3b19d52bdc0ac554447bdb7afa9975cca5234f244b
+SIZE (xfce4/xfce4-docklike-plugin-0.5.0.tar.xz) = 78724
diff --git a/x11/xfce4-docklike-plugin/pkg-plist b/x11/xfce4-docklike-plugin/pkg-plist
index 3ecaab697f5b..b07f1265bc3f 100644
--- a/x11/xfce4-docklike-plugin/pkg-plist
+++ b/x11/xfce4-docklike-plugin/pkg-plist
@@ -34,6 +34,7 @@ lib/xfce4/panel/plugins/libdocklike.so
 %%NLS%%share/locale/sv/LC_MESSAGES/xfce4-docklike-plugin.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/xfce4-docklike-plugin.mo
 %%NLS%%share/locale/uk/LC_MESSAGES/xfce4-docklike-plugin.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-docklike-plugin.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-docklike-plugin.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-docklike-plugin.mo
 share/xfce4/panel/plugins/docklike.desktop