git: bf855bb3fa9c - main - x11/xfce4-whiskermenu-plugin: Update to 2.10.0

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Thu, 22 May 2025 21:44:13 UTC
The branch main has been updated by madpilot:

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

commit bf855bb3fa9cb3a79377d68aa300441cb4348570
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-22 21:42:32 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-22 21:42:32 +0000

    x11/xfce4-whiskermenu-plugin: Update to 2.10.0
    
    - Move build to meson
---
 x11/xfce4-whiskermenu-plugin/Makefile | 20 +++++++++-----------
 x11/xfce4-whiskermenu-plugin/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/x11/xfce4-whiskermenu-plugin/Makefile b/x11/xfce4-whiskermenu-plugin/Makefile
index 9d87cecd3fba..c4b3159a8282 100644
--- a/x11/xfce4-whiskermenu-plugin/Makefile
+++ b/x11/xfce4-whiskermenu-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-whiskermenu-plugin
-PORTVERSION=	2.9.2
+PORTVERSION=	2.10.0
 CATEGORIES=	x11 xfce
 MASTER_SITES=	XFCE/panel-plugins
 DIST_SUBDIR=	xfce4
@@ -11,31 +11,29 @@ WWW=		https://docs.xfce.org/panel-plugins/xfce4-whiskermenu-plugin
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake compiler:c++14-lang gettext-tools gnome localbase \
-		pkgconfig tar:bzip2 xfce
-USE_GNOME=	cairo gdkpixbuf gtk30
+USES=		compiler:c++14-lang gettext-tools gnome localbase meson \
+		pkgconfig tar:xz xfce
+USE_GNOME=	gtk30
 USE_XFCE=	garcon libexo panel xfconf
 
-OPTIONS_DEFINE=		ACCOUNTS_SERVICE LTO MENULIBRE NLS WAYLAND
-OPTIONS_DEFAULT=	ACCOUNTS_SERVICE LTO MENULIBRE WAYLAND
+OPTIONS_DEFINE=		ACCOUNTS_SERVICE MENULIBRE NLS WAYLAND
+OPTIONS_DEFAULT=	ACCOUNTS_SERVICE MENULIBRE WAYLAND
 OPTIONS_SUB=		yes
 
 ACCOUNTS_SERVICE_DESC=	Enable AccountsService support
 MENULIBRE_DESC=		Depend at runtime on x11/menulibre
 
 ACCOUNTS_SERVICE_LIB_DEPENDS=	libaccountsservice.so:sysutils/accountsservice
-ACCOUNTS_SERVICE_CMAKE_BOOL=	ENABLE_ACCOUNTS_SERVICE
-
-LTO_CMAKE_BOOL=	ENABLE_LINK_TIME_OPTIMIZATION
+ACCOUNTS_SERVICE_MESON_ENABLED=	accountsservice
 
 MENULIBRE_RUN_DEPENDS=	menulibre:x11/menulibre
 
 NLS_USES=	gettext-runtime
 
 WAYLAND_LIB_DEPENDS=	libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
-WAYLAND_CMAKE_BOOL=	ENABLE_GTK_LAYER_SHELL
+WAYLAND_MESON_ENABLED=	gtk-layer-shell
 
 post-patch-NLS-off:
-	@${REINPLACE_CMD} '/add_subdirectory(po)/d' ${WRKSRC}/CMakeLists.txt
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
 
 .include <bsd.port.mk>
diff --git a/x11/xfce4-whiskermenu-plugin/distinfo b/x11/xfce4-whiskermenu-plugin/distinfo
index 402e70c52253..80d98d661fd5 100644
--- a/x11/xfce4-whiskermenu-plugin/distinfo
+++ b/x11/xfce4-whiskermenu-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739969798
-SHA256 (xfce4/xfce4-whiskermenu-plugin-2.9.2.tar.bz2) = e2f28c066709bdcfe30236307026a562ec9aed790f9929a4e40aa411a5c7e3de
-SIZE (xfce4/xfce4-whiskermenu-plugin-2.9.2.tar.bz2) = 193188
+TIMESTAMP = 1747849271
+SHA256 (xfce4/xfce4-whiskermenu-plugin-2.10.0.tar.xz) = c2efb3782816d44d421dcbee2900b9513bdb2469b695b776641f495601f33a10
+SIZE (xfce4/xfce4-whiskermenu-plugin-2.10.0.tar.xz) = 188712