git: 7b2a9d9e837d - main - sysutils/xfce4-battery-plugin: Update to 1.2.0

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Tue, 20 May 2025 06:48:43 UTC
The branch main has been updated by madpilot:

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

commit 7b2a9d9e837d6d913c863b3970656ca0a3a2cb8c
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-20 06:46:13 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-20 06:46:13 +0000

    sysutils/xfce4-battery-plugin: Update to 1.2.0
---
 sysutils/xfce4-battery-plugin/Makefile | 17 +++++++----------
 sysutils/xfce4-battery-plugin/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/sysutils/xfce4-battery-plugin/Makefile b/sysutils/xfce4-battery-plugin/Makefile
index ae3977149806..d83e7d9c7978 100644
--- a/sysutils/xfce4-battery-plugin/Makefile
+++ b/sysutils/xfce4-battery-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-battery-plugin
-PORTVERSION=	1.1.6
+PORTVERSION=	1.2.0
 CATEGORIES=	sysutils xfce
 MASTER_SITES=	XFCE/panel-plugins
 DIST_SUBDIR=	xfce4
@@ -12,22 +12,19 @@ LICENSE=	GPLv2
 
 ONLY_FOR_ARCHS=	amd64 i386
 
-LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
-
-USES=		alias gettext-tools gmake gnome libtool pkgconfig tar:bzip2 \
-		xfce
-USE_GNOME=	cairo gdkpixbuf glib20 gtk30
+USES=		alias gettext-tools gnome meson pkgconfig tar:xz xfce
+USE_GNOME=	glib20 gtk30
 USE_LDCONFIG=	yes
 USE_XFCE=	libmenu panel
 
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
 SSP_UNSAFE=	yes
 
 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-battery-plugin/distinfo b/sysutils/xfce4-battery-plugin/distinfo
index d379d4d0e7a9..22fe0eec62a3 100644
--- a/sysutils/xfce4-battery-plugin/distinfo
+++ b/sysutils/xfce4-battery-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735047695
-SHA256 (xfce4/xfce4-battery-plugin-1.1.6.tar.bz2) = 327d7304dded8411cd1a48da4f46bac248b44d8b27ffbc2036e0268cb37c3676
-SIZE (xfce4/xfce4-battery-plugin-1.1.6.tar.bz2) = 569701
+TIMESTAMP = 1747672610
+SHA256 (xfce4/xfce4-battery-plugin-1.2.0.tar.xz) = 1dba8f470d2b12517e7b86d83cd2ebf13eb57ff1a01a4f2d2d156cf5194d97b6
+SIZE (xfce4/xfce4-battery-plugin-1.2.0.tar.xz) = 111360