git: 19dd554a9ba2 - main - sysutils/xfce4-genmon-plugin: Update to 4.3.0

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

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

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

    sysutils/xfce4-genmon-plugin: Update to 4.3.0
    
    - Move build to meson
---
 sysutils/xfce4-genmon-plugin/Makefile | 31 ++++++++++++++++++++-----------
 sysutils/xfce4-genmon-plugin/distinfo |  6 +++---
 2 files changed, 23 insertions(+), 14 deletions(-)

diff --git a/sysutils/xfce4-genmon-plugin/Makefile b/sysutils/xfce4-genmon-plugin/Makefile
index ed8bd0ac42a1..6705c2d67aa8 100644
--- a/sysutils/xfce4-genmon-plugin/Makefile
+++ b/sysutils/xfce4-genmon-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-genmon-plugin
-PORTVERSION=	4.2.1
+PORTVERSION=	4.3.0
 CATEGORIES=	sysutils xfce
 MASTER_SITES=	XFCE/panel-plugins
 DIST_SUBDIR=	xfce4
@@ -10,20 +10,29 @@ WWW=		https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin/start
 
 LICENSE=	LGPL21
 
-LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
-
-USES=		compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
-		tar:bzip2 xfce
-USE_GNOME=	cairo gdkpixbuf glib20 gtk30
+USES=		compiler:c11 gettext-tools gnome meson pkgconfig shebangfix \
+		tar:xz xfce
+USE_GNOME=	glib20 gtk30
 USE_XFCE=	libmenu panel xfconf
-
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
+SHEBANG_FILES=	scripts/datetime \
+		scripts/disktemp \
+		scripts/dkspuse \
+		scripts/gmail \
+		scripts/googcal.in \
+		scripts/monBandwidth \
+		scripts/monBat \
+		scripts/monCPU \
+		scripts/monTime \
+		scripts/monUSB \
+		scripts/monWIFI \
+		scripts/sysstat
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
 
-NLS_USES=		gettext-runtime
-NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=	gettext-runtime
+
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
 
 .include <bsd.port.mk>
diff --git a/sysutils/xfce4-genmon-plugin/distinfo b/sysutils/xfce4-genmon-plugin/distinfo
index c06743c17d53..a8b568a12b07 100644
--- a/sysutils/xfce4-genmon-plugin/distinfo
+++ b/sysutils/xfce4-genmon-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735166676
-SHA256 (xfce4/xfce4-genmon-plugin-4.2.1.tar.bz2) = de540562e1ea58f35a9c815e20736d26af541a0a9372011148cb75b5f0b65951
-SIZE (xfce4/xfce4-genmon-plugin-4.2.1.tar.bz2) = 484379
+TIMESTAMP = 1747771280
+SHA256 (xfce4/xfce4-genmon-plugin-4.3.0.tar.xz) = 077197911d84e5ba22e7bb895ce6c038dbbd8e8e0067ed6f4e48502b7167a282
+SIZE (xfce4/xfce4-genmon-plugin-4.3.0.tar.xz) = 114988