git: 317fc953e455 - main - deskutils/xfce4-volumed-pulse: Update to 0.2.5

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Fri, 27 Dec 2024 14:07:36 UTC
The branch main has been updated by madpilot:

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

commit 317fc953e455fa6b17168780dd28ad7323e356ba
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2024-12-27 13:41:49 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-12-27 13:41:49 +0000

    deskutils/xfce4-volumed-pulse: Update to 0.2.5
    
    - Update WWW
    - Add NLS option
    - Convert to external PLIST
---
 deskutils/xfce4-volumed-pulse/Makefile  | 14 ++++++------
 deskutils/xfce4-volumed-pulse/distinfo  |  6 +++---
 deskutils/xfce4-volumed-pulse/pkg-plist | 38 +++++++++++++++++++++++++++++++++
 3 files changed, 49 insertions(+), 9 deletions(-)

diff --git a/deskutils/xfce4-volumed-pulse/Makefile b/deskutils/xfce4-volumed-pulse/Makefile
index ba13a56cc280..fe1084101999 100644
--- a/deskutils/xfce4-volumed-pulse/Makefile
+++ b/deskutils/xfce4-volumed-pulse/Makefile
@@ -1,13 +1,12 @@
 PORTNAME=	xfce4-volumed-pulse
-PORTVERSION=	0.2.4
-PORTREVISION=	4
+PORTVERSION=	0.2.5
 CATEGORIES=	deskutils xfce
 MASTER_SITES=	XFCE/apps
 DIST_SUBDIR=	xfce4
 
 MAINTAINER=	xfce@FreeBSD.org
 COMMENT=	Volume management daemon for Xfce using PulseAudio
-WWW=		https://git.xfce.org/apps/xfce4-volumed-pulse/
+WWW=		https://gitlab.xfce.org/apps/xfce4-volumed-pulse
 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
@@ -16,7 +15,7 @@ LIB_DEPENDS=	libkeybinder-3.0.so:x11/keybinder-gtk3 \
 		libnotify.so:devel/libnotify \
 		libpulse.so:audio/pulseaudio
 
-USES=		gmake gnome libtool pkgconfig tar:bz2 xfce
+USES=		gettext-tools gmake gnome libtool pkgconfig tar:bz2 xfce
 USE_GNOME=	glib20 gtk30
 USE_XFCE=	xfconf
 
@@ -24,7 +23,10 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-libnotify
 INSTALL_TARGET=	install-strip
 
-PLIST_FILES=	bin/xfce4-volumed-pulse \
-		etc/xdg/autostart/xfce4-volumed-pulse.desktop
+OPTIONS_DEFINE=		NLS
+OPTIONS_SUB=		yes
+
+NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=		gettext-runtime
 
 .include <bsd.port.mk>
diff --git a/deskutils/xfce4-volumed-pulse/distinfo b/deskutils/xfce4-volumed-pulse/distinfo
index 33c779e2dd18..b7b79f5fef4b 100644
--- a/deskutils/xfce4-volumed-pulse/distinfo
+++ b/deskutils/xfce4-volumed-pulse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1690299374
-SHA256 (xfce4/xfce4-volumed-pulse-0.2.4.tar.bz2) = a019e3f626b31c0aaa0b807962606645cc0caf7930882b034a5a3a1719858362
-SIZE (xfce4/xfce4-volumed-pulse-0.2.4.tar.bz2) = 314882
+TIMESTAMP = 1735175100
+SHA256 (xfce4/xfce4-volumed-pulse-0.2.5.tar.bz2) = 30ebee3a16e467a2120db63b53d4cd3a603b310c6141c9514371c2dedf68bb03
+SIZE (xfce4/xfce4-volumed-pulse-0.2.5.tar.bz2) = 386399
diff --git a/deskutils/xfce4-volumed-pulse/pkg-plist b/deskutils/xfce4-volumed-pulse/pkg-plist
new file mode 100644
index 000000000000..8324727d7f96
--- /dev/null
+++ b/deskutils/xfce4-volumed-pulse/pkg-plist
@@ -0,0 +1,38 @@
+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/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
+%%NLS%%share/locale/el/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/es/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/et/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/he/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/ie/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/it/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/kk/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/oc/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-volumed-pulse.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-volumed-pulse.mo