git: 19ede5dd2eed - main - mail/xfce4-mailwatch-plugin: Update to 1.4.0

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

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

commit 19ede5dd2eed0303bc2fb737ff7ffe27cca05894
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-22 21:30:03 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-22 21:30:03 +0000

    mail/xfce4-mailwatch-plugin: Update to 1.4.0
    
    - Move build to meson
---
 mail/xfce4-mailwatch-plugin/Makefile | 28 +++++++++++-----------------
 mail/xfce4-mailwatch-plugin/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 20 deletions(-)

diff --git a/mail/xfce4-mailwatch-plugin/Makefile b/mail/xfce4-mailwatch-plugin/Makefile
index ccce870280aa..0ee2cc0abbdb 100644
--- a/mail/xfce4-mailwatch-plugin/Makefile
+++ b/mail/xfce4-mailwatch-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-mailwatch-plugin
-PORTVERSION=	1.3.2
+PORTVERSION=	1.4.0
 CATEGORIES=	mail xfce
 MASTER_SITES=	XFCE/panel-plugins
 DIST_SUBDIR=	xfce4
@@ -11,28 +11,22 @@ WWW=		https://docs.xfce.org/panel-plugins/xfce4-mailwatch-plugin/start
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libgnutls.so:security/gnutls \
-		libharfbuzz.so:print/harfbuzz
+LIB_DEPENDS=	libgnutls.so:security/gnutls
 
-USES=		compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
-		tar:bzip2 xfce xorg
-USE_GNOME=	cairo gdkpixbuf glib20 gtk30
+USES=		compiler:c11 gettext-tools gnome meson pkgconfig tar:xz xfce \
+		xorg
+USE_GNOME=	glib20 gtk30
 USE_XFCE=	libexo panel
 USE_XORG=	x11
 
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
+OPTIONS_DEFINE=	IPV6 NLS
+OPTIONS_SUB=	yes
 
-OPTIONS_DEFINE=		IPV6 NLS
-OPTIONS_SUB=		yes
+IPV6_MESON_ENABLED=	ipv6
 
-IPV6_CONFIGURE_ENABLE=	ipv6
+NLS_USES=	gettext-runtime
 
-NLS_CONFIGURE_ENABLE=	nls
-NLS_USES=		gettext-runtime
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|xfce-mail|mail-send|' \
-		${WRKSRC}/panel-plugin/mailwatch-plugin.c
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
 
 .include <bsd.port.mk>
diff --git a/mail/xfce4-mailwatch-plugin/distinfo b/mail/xfce4-mailwatch-plugin/distinfo
index e1b53ca4f0db..a699370d7f44 100644
--- a/mail/xfce4-mailwatch-plugin/distinfo
+++ b/mail/xfce4-mailwatch-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735164563
-SHA256 (xfce4/xfce4-mailwatch-plugin-1.3.2.tar.bz2) = c4783f1533891cd2e0c34066da859864dce45a23caa6015b58cb9fa9d65a7e44
-SIZE (xfce4/xfce4-mailwatch-plugin-1.3.2.tar.bz2) = 712411
+TIMESTAMP = 1747771498
+SHA256 (xfce4/xfce4-mailwatch-plugin-1.4.0.tar.xz) = 5c211025db1096663fa6b8cc41213464a6d71f24e76326499d857ff81ea3861f
+SIZE (xfce4/xfce4-mailwatch-plugin-1.4.0.tar.xz) = 167520