git: 02c714e4a8f0 - main - deskutils/xfce4-notes-plugin: Update to 1.12.0

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

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

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

    deskutils/xfce4-notes-plugin: Update to 1.12.0
    
    - Move build to meson
---
 deskutils/xfce4-notes-plugin/Makefile | 21 +++++++++------------
 deskutils/xfce4-notes-plugin/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/deskutils/xfce4-notes-plugin/Makefile b/deskutils/xfce4-notes-plugin/Makefile
index ed86a717ea0f..a6f4cb655874 100644
--- a/deskutils/xfce4-notes-plugin/Makefile
+++ b/deskutils/xfce4-notes-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-notes-plugin
-PORTVERSION=	1.11.2
+PORTVERSION=	1.12.0
 CATEGORIES=	deskutils xfce
 MASTER_SITES=	XFCE/panel-plugins
 DIST_SUBDIR=	xfce4
@@ -10,21 +10,18 @@ WWW=		https://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
-
-USES=		compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
-		tar:bzip2 xfce xorg
-USE_GNOME=	cairo gdkpixbuf glib20 gtk30 gtksourceview4
+USES=		compiler:c11 gettext-tools gnome meson pkgconfig tar:xz \
+		vala:build xfce xorg
+USE_GNOME=	glib20 gtk30 gtksourceview4
 USE_XFCE=	libmenu panel xfconf
 USE_XORG=	ice sm x11
 
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-OPTIONS_DEFINE=		NLS
-OPTIONS_SUB=		yes
+NLS_USES=	gettext-runtime
 
-NLS_USES=		gettext-runtime
-NLS_CONFIGURE_ENABLE=	nls
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
 
 .include <bsd.port.mk>
diff --git a/deskutils/xfce4-notes-plugin/distinfo b/deskutils/xfce4-notes-plugin/distinfo
index 3484295c880d..b69f9428b382 100644
--- a/deskutils/xfce4-notes-plugin/distinfo
+++ b/deskutils/xfce4-notes-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738449598
-SHA256 (xfce4/xfce4-notes-plugin-1.11.2.tar.bz2) = 8301fcd397bbc98a3def3d94f04de30cc128b4a35477024d2bcb2952a161a3b5
-SIZE (xfce4/xfce4-notes-plugin-1.11.2.tar.bz2) = 640562
+TIMESTAMP = 1747772534
+SHA256 (xfce4/xfce4-notes-plugin-1.12.0.tar.xz) = cf4cc8f2e9785b7032aef6a74f316b8d7945457982295f8465a872b75da46a2a
+SIZE (xfce4/xfce4-notes-plugin-1.12.0.tar.xz) = 99140