git: 02f1adc8d839 - main - multimedia/xfce4-parole: Update to 4.20.0

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

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

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

    multimedia/xfce4-parole: Update to 4.20.0
    
    - Move build to meson
---
 multimedia/xfce4-parole/Makefile | 46 +++++++++++++++++++++-------------------
 multimedia/xfce4-parole/distinfo |  6 +++---
 2 files changed, 27 insertions(+), 25 deletions(-)

diff --git a/multimedia/xfce4-parole/Makefile b/multimedia/xfce4-parole/Makefile
index 184210f81f73..7c9d739e42b1 100644
--- a/multimedia/xfce4-parole/Makefile
+++ b/multimedia/xfce4-parole/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	parole
-PORTVERSION=	4.18.2
-PORTREVISION=	1
+PORTVERSION=	4.20.0
 CATEGORIES=	multimedia xfce
 MASTER_SITES=	XFCE/apps
 DIST_SUBDIR=	xfce4
@@ -15,44 +14,47 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libdbus-1.so:devel/dbus \
 		libdbus-glib-1.so:devel/dbus-glib \
 		libnotify.so:devel/libnotify \
-		libtag_c.so:audio/taglib \
-		libharfbuzz.so:print/harfbuzz
+		libtag_c.so:audio/taglib
 RUN_DEPENDS=	xdg-screensaver:devel/xdg-utils
 
-USES=		compiler:c++11-lang desktop-file-utils gettext-tools \
-		gmake gnome gstreamer libtool pkgconfig tar:bzip2 xfce xorg
-USE_GNOME=	cairo gdkpixbuf gtk30 glib20
+USES=		compiler:c++11-lang desktop-file-utils gettext-tools gnome \
+		gstreamer meson pkgconfig tar:xz xfce xorg
+USE_GNOME=	glib20 gtk30
 USE_GSTREAMER=	core faad flac wavpack x
 USE_XFCE=	libmenu xfconf
 USE_XORG=	ice sm x11
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-notify-plugin \
-		--enable-tray-plugin \
-		--enable-taglib \
-		--enable-mpris2-plugin \
-		--without-html-dir
-INSTALL_TARGET=	install-strip
+MESON_ARGS=	-Dgtk-doc=false \
+		-Dmpris2-plugin=enabled \
+		-Dnotify-plugin=enabled \
+		-Dtaglib=enabled \
+		-Dtray-plugin=enabled \
+		-Dx11=enabled
 
-OPTIONS_DEFINE=		NLS
-OPTIONS_DEFAULT=	HTTP
+OPTIONS_DEFINE=		NLS WAYLAND
+OPTIONS_DEFAULT=	HTTP WAYLAND
 OPTIONS_GROUP=		GST_PLUG
 OPTIONS_GROUP_GST_PLUG=	CDDA HTTP
 OPTIONS_SUB=		yes
 
-GST_PLUG_DESC=		Additional GStreamer plugins
-HTTP_DESC=		HTTP streaming (libsoup)
+GST_PLUG_DESC=	Additional GStreamer plugins
+HTTP_DESC=	HTTP streaming (libsoup)
 
-CDDA_USE=		gstreamer=cdparanoia
+CDDA_USE=	GSTREAMER=cdparanoia
 
-HTTP_USE=		gstreamer=soup
+HTTP_USE=	GSTREAMER=soup
 
-NLS_USES=		gettext-runtime
-NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=	gettext-runtime
+
+WAYLAND_LIB_DEPENDS=	libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
+WAYLAND_MESON_ENABLED=	wayland
 
 post-patch:
 # Fix .rc files path
 	@${REINPLACE_CMD} -e 's|xfce4/src/misc|${PORTNAME}|g' \
 		${WRKSRC}/src/common/parole-rc-utils.h
 
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
+
 .include <bsd.port.mk>
diff --git a/multimedia/xfce4-parole/distinfo b/multimedia/xfce4-parole/distinfo
index ab6ade1c18c9..cfe0784a9d1b 100644
--- a/multimedia/xfce4-parole/distinfo
+++ b/multimedia/xfce4-parole/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735172090
-SHA256 (xfce4/parole-4.18.2.tar.bz2) = 6625288b760d38a15c295051ecf66c556fcad21dd1516d6d661c2a582421ee0e
-SIZE (xfce4/parole-4.18.2.tar.bz2) = 1183723
+TIMESTAMP = 1747847711
+SHA256 (xfce4/parole-4.20.0.tar.xz) = 5cf753e670d6518701133eb860d8bceb3a08a496af6a2b7cc67b93320230c983
+SIZE (xfce4/parole-4.20.0.tar.xz) = 481288