git: 8eb023a1268f - main - sysutils/xfce4-netload-plugin: Update to 1.5.0

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

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

commit 8eb023a1268fd21d2b5fa846515b9db5f011c0e2
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-22 21:34:20 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-22 21:34:20 +0000

    sysutils/xfce4-netload-plugin: Update to 1.5.0
    
    - Move build to meson
---
 sysutils/xfce4-netload-plugin/Makefile | 19 ++++++++-----------
 sysutils/xfce4-netload-plugin/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile
index 6d7baf4ad5c8..252b92f5a697 100644
--- a/sysutils/xfce4-netload-plugin/Makefile
+++ b/sysutils/xfce4-netload-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-netload-plugin
-PORTVERSION=	1.4.2
+PORTVERSION=	1.5.0
 CATEGORIES=	sysutils xfce
 MASTER_SITES=	XFCE/panel-plugins
 DIST_SUBDIR=	xfce4
@@ -11,21 +11,15 @@ WWW=		https://docs.xfce.org/panel-plugins/xfce4-netload-plugin/start
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
-
-USES=		compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
-		tar:bzip2 xfce
-USE_GNOME=	cairo gdkpixbuf gtk30
+USES=		compiler:c11 gettext-tools gnome meson pkgconfig \
+		tar:xz xfce
+USE_GNOME=	gtk30
 USE_XFCE=	libmenu panel
 
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
-
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
 
-NLS_USES=		gettext-runtime
-NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=	gettext-runtime
 
 post-patch:
 	@${REINPLACE_CMD} -e 's/ || defined \{0,1\}(__FreeBSD_kernel__)//' \
@@ -33,4 +27,7 @@ post-patch:
 		${WRKSRC}/panel-plugin/net.h \
 		${WRKSRC}/panel-plugin/os.h
 
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
+
 .include <bsd.port.mk>
diff --git a/sysutils/xfce4-netload-plugin/distinfo b/sysutils/xfce4-netload-plugin/distinfo
index c81b8eb16e6c..c69c0cf3ee83 100644
--- a/sysutils/xfce4-netload-plugin/distinfo
+++ b/sysutils/xfce4-netload-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735165937
-SHA256 (xfce4/xfce4-netload-plugin-1.4.2.tar.bz2) = a2041338408b2670f8debe57fcec6af539f704659eba853943c1524936ebabeb
-SIZE (xfce4/xfce4-netload-plugin-1.4.2.tar.bz2) = 490871
+TIMESTAMP = 1747772318
+SHA256 (xfce4/xfce4-netload-plugin-1.5.0.tar.xz) = a868be8f73e8396c2d61903d46646993c5130d16ded71ddb5da9088abf7cb7ba
+SIZE (xfce4/xfce4-netload-plugin-1.5.0.tar.xz) = 72700