git: d570812e2e80 - main - audio/xfce4-mpc-plugin: Update to 0.6.0

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

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

commit d570812e2e80db4073a599eca34d4b2f11a2ac48
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-22 21:25:56 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-22 21:25:56 +0000

    audio/xfce4-mpc-plugin: Update to 0.6.0
    
    - Move build to meson
---
 audio/xfce4-mpc-plugin/Makefile | 24 +++++++++++-------------
 audio/xfce4-mpc-plugin/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/audio/xfce4-mpc-plugin/Makefile b/audio/xfce4-mpc-plugin/Makefile
index 1bf81056fe28..33dde9323872 100644
--- a/audio/xfce4-mpc-plugin/Makefile
+++ b/audio/xfce4-mpc-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-mpc-plugin
-PORTVERSION=	0.5.5
+PORTVERSION=	0.6.0
 CATEGORIES=	audio xfce
 MASTER_SITES=	XFCE/panel-plugins
 DIST_SUBDIR=	xfce4
@@ -10,23 +10,21 @@ WWW=		https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin/start
 
 LICENSE=	ISCL
 
-LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz \
-		libmpd.so:audio/libmpd
+LIB_DEPENDS=	libmpd.so:audio/libmpd
 RUN_DEPENDS=	musicpd:audio/musicpd
 
-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
-CONFIGURE_ARGS+=	--with-libmpd=${LOCALBASE}
+MESON_ARGS=	-Dlibmpd=enabled
 
-OPTIONS_DEFINE=		NLS
-OPTIONS_SUB=		yes
+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/xfce4-mpc-plugin/distinfo b/audio/xfce4-mpc-plugin/distinfo
index f1669f9a13d3..24532e244abc 100644
--- a/audio/xfce4-mpc-plugin/distinfo
+++ b/audio/xfce4-mpc-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735166892
-SHA256 (xfce4/xfce4-mpc-plugin-0.5.5.tar.bz2) = 4ce7d77667a263ee9916c0cab2a733b17e3bd65705cd4ed5cec3cbde6e7298cf
-SIZE (xfce4/xfce4-mpc-plugin-0.5.5.tar.bz2) = 388322
+TIMESTAMP = 1747772078
+SHA256 (xfce4/xfce4-mpc-plugin-0.6.0.tar.xz) = dee5bcc0566ba2dc95b9c3b4cadd5e8b3bb2798a54a2a8d8652708915fe45d50
+SIZE (xfce4/xfce4-mpc-plugin-0.6.0.tar.xz) = 47092