git: c0234f254612 - main - deskutils/xfce4-volumed-pulse: Update to 0.3.0

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

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

commit c0234f254612d5f1cb50c6a619f1ec0976681129
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-22 21:27:59 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-22 21:27:59 +0000

    deskutils/xfce4-volumed-pulse: Update to 0.3.0
    
    - Move build to meson
---
 deskutils/xfce4-volumed-pulse/Makefile  | 18 +++++++++---------
 deskutils/xfce4-volumed-pulse/distinfo  |  6 +++---
 deskutils/xfce4-volumed-pulse/pkg-plist |  1 +
 3 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/deskutils/xfce4-volumed-pulse/Makefile b/deskutils/xfce4-volumed-pulse/Makefile
index fe1084101999..b794552a01b3 100644
--- a/deskutils/xfce4-volumed-pulse/Makefile
+++ b/deskutils/xfce4-volumed-pulse/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-volumed-pulse
-PORTVERSION=	0.2.5
+PORTVERSION=	0.3.0
 CATEGORIES=	deskutils xfce
 MASTER_SITES=	XFCE/apps
 DIST_SUBDIR=	xfce4
@@ -15,18 +15,18 @@ LIB_DEPENDS=	libkeybinder-3.0.so:x11/keybinder-gtk3 \
 		libnotify.so:devel/libnotify \
 		libpulse.so:audio/pulseaudio
 
-USES=		gettext-tools gmake gnome libtool pkgconfig tar:bz2 xfce
+USES=		gettext-tools gnome meson pkgconfig tar:xz xfce
 USE_GNOME=	glib20 gtk30
 USE_XFCE=	xfconf
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-libnotify
-INSTALL_TARGET=	install-strip
+MESON_ARGS=	-Dlibnotify=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/deskutils/xfce4-volumed-pulse/distinfo b/deskutils/xfce4-volumed-pulse/distinfo
index b7b79f5fef4b..a5e884cbcb85 100644
--- a/deskutils/xfce4-volumed-pulse/distinfo
+++ b/deskutils/xfce4-volumed-pulse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735175100
-SHA256 (xfce4/xfce4-volumed-pulse-0.2.5.tar.bz2) = 30ebee3a16e467a2120db63b53d4cd3a603b310c6141c9514371c2dedf68bb03
-SIZE (xfce4/xfce4-volumed-pulse-0.2.5.tar.bz2) = 386399
+TIMESTAMP = 1747848787
+SHA256 (xfce4/xfce4-volumed-pulse-0.3.0.tar.xz) = 7031c3597d1a1e791afaf83a7b494b436aa54397ab1661e38ab32acb01c7fe85
+SIZE (xfce4/xfce4-volumed-pulse-0.3.0.tar.xz) = 32388
diff --git a/deskutils/xfce4-volumed-pulse/pkg-plist b/deskutils/xfce4-volumed-pulse/pkg-plist
index 8324727d7f96..1a7fe33eb3e6 100644
--- a/deskutils/xfce4-volumed-pulse/pkg-plist
+++ b/deskutils/xfce4-volumed-pulse/pkg-plist
@@ -2,6 +2,7 @@ bin/xfce4-volumed-pulse
 etc/xdg/autostart/xfce4-volumed-pulse.desktop
 %%NLS%%share/locale/ast/LC_MESSAGES/xfce4-volumed-pulse.mo
 %%NLS%%share/locale/bg/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/xfce4-volumed-pulse.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/xfce4-volumed-pulse.mo
 %%NLS%%share/locale/da/LC_MESSAGES/xfce4-volumed-pulse.mo
 %%NLS%%share/locale/de/LC_MESSAGES/xfce4-volumed-pulse.mo