git: 4e284b006551 - main - audio/xfmpc: Update to 0.4.0

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

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

commit 4e284b006551c9bab2eb3fdca68c47a04b37f719
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-22 21:26:34 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-22 21:26:34 +0000

    audio/xfmpc: Update to 0.4.0
    
    - Move build to meson
---
 audio/xfmpc/Makefile | 19 ++++++++-----------
 audio/xfmpc/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/audio/xfmpc/Makefile b/audio/xfmpc/Makefile
index c9eca877efef..0d7ff3de6f7b 100644
--- a/audio/xfmpc/Makefile
+++ b/audio/xfmpc/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfmpc
-PORTVERSION=	0.3.2
+PORTVERSION=	0.4.0
 CATEGORIES=	audio xfce
 MASTER_SITES=	XFCE/apps
 DIST_SUBDIR=	xfce4
@@ -10,23 +10,20 @@ WWW=		https://gitlab.xfce.org/apps/xfmpc
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libmpd.so:audio/libmpd \
-		libharfbuzz.so:print/harfbuzz
+LIB_DEPENDS=	libmpd.so:audio/libmpd
 
-USES=		compiler:c11 gettext-tools gmake gnome pkgconfig tar:bzip2 \
+USES=		compiler:c11 gettext-tools gnome meson pkgconfig tar:xz \
 		vala:build xfce xorg
-USE_GNOME=	cairo gdkpixbuf gtk30
+USE_GNOME=	gtk30
 USE_XFCE=	libmenu
 USE_XORG=	ice sm x11
 
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
-INSTALL_TARGET=	install-strip
-
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
 
-NLS_CONFIGURE_ENABLE=	nls
-NLS_USES=		gettext-runtime
+NLS_USES=	gettext-runtime
+
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
 
 .include <bsd.port.mk>
diff --git a/audio/xfmpc/distinfo b/audio/xfmpc/distinfo
index aca199c265b1..e01ca7434e9d 100644
--- a/audio/xfmpc/distinfo
+++ b/audio/xfmpc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735175637
-SHA256 (xfce4/xfmpc-0.3.2.tar.bz2) = 4a58bd9e9c14c391943bb35b57ed8eb49000655da176639e7245da7286b07825
-SIZE (xfce4/xfmpc-0.3.2.tar.bz2) = 566036
+TIMESTAMP = 1747848944
+SHA256 (xfce4/xfmpc-0.4.0.tar.xz) = 6b8efc8c1c0ada91a1ce02413000bc6e38c72364e16f2fa4db7edc71fda25935
+SIZE (xfce4/xfmpc-0.4.0.tar.xz) = 83644