git: 15fc33f29dfa - main - devel/thunar-vcs-plugin: Update to 0.4.0

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

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

commit 15fc33f29dfab65d9f029acae0e3d70da2e63592
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-22 21:29:25 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-22 21:29:25 +0000

    devel/thunar-vcs-plugin: Update to 0.4.0
    
    - Move build to meson
---
 devel/thunar-vcs-plugin/Makefile  | 25 +++++++++++--------------
 devel/thunar-vcs-plugin/distinfo  |  6 +++---
 devel/thunar-vcs-plugin/pkg-plist |  2 ++
 3 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/devel/thunar-vcs-plugin/Makefile b/devel/thunar-vcs-plugin/Makefile
index aeb3b0bc4b7d..057f91a067b1 100644
--- a/devel/thunar-vcs-plugin/Makefile
+++ b/devel/thunar-vcs-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	thunar-vcs-plugin
-PORTVERSION=	0.3.0
+PORTVERSION=	0.4.0
 CATEGORIES=	devel xfce
 MASTER_SITES=	XFCE/thunar-plugins
 DIST_SUBDIR=	xfce4
@@ -11,32 +11,29 @@ WWW=		https://docs.xfce.org/thunar-plugins/thunar-vcs-plugin
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
-
-USES=		compiler:c11 gettext-tools gmake gnome libtool localbase \
-		pkgconfig tar:bzip2 xfce
-USE_GNOME=	cairo gdkpixbuf gtk30 glib20
+USES=		compiler:c11 gettext-tools gnome localbase meson pkgconfig \
+		tar:xz xfce
+USE_GNOME=	glib20 gtk30
 USE_XFCE=	libexo thunar
 
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
-
 OPTIONS_DEFINE=		GIT NLS SUBVERSION
 OPTIONS_DEFAULT=	GIT
 OPTIONS_SUB=		yes
 
 GIT_RUN_DEPENDS=	git:devel/git
-GIT_CONFIGURE_ENABLE=	git
+GIT_MESON_ENABLED=	git
 
 NLS_USES=		gettext-runtime
-NLS_CONFIGURE_ENABLE=	nls
 
 .if ${WITH_SUBVERSION_VER:U} == LTS
-SUBVERSION_LIB_DEPENDS=	libsvn_client-1.so:devel/subversion-lts
+SUBVERSION_LIB_DEPENDS=		libsvn_client-1.so:devel/subversion-lts
 .else
-SUBVERSION_LIB_DEPENDS=	libsvn_client-1.so:devel/subversion
+SUBVERSION_LIB_DEPENDS=		libsvn_client-1.so:devel/subversion
 .endif
 SUBVERSION_LIB_DEPENDS+=	libapr-1.so:devel/apr1
-SUBVERSION_CONFIGURE_ENABLE=	subversion
+SUBVERSION_MESON_ENABLED=	svn
+
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
 
 .include <bsd.port.mk>
diff --git a/devel/thunar-vcs-plugin/distinfo b/devel/thunar-vcs-plugin/distinfo
index 25ce866fdb85..796d5bfc8a29 100644
--- a/devel/thunar-vcs-plugin/distinfo
+++ b/devel/thunar-vcs-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735597416
-SHA256 (xfce4/thunar-vcs-plugin-0.3.0.tar.bz2) = 4093b2802f08222b6b8edc6aa8127059ef138ff2b382117a25c34441ba6c1fec
-SIZE (xfce4/thunar-vcs-plugin-0.3.0.tar.bz2) = 808074
+TIMESTAMP = 1747847035
+SHA256 (xfce4/thunar-vcs-plugin-0.4.0.tar.xz) = 0e4170e099c9ffedfcbb1290f1fc42c00560cf6108e25fe90685315f18c8d6cc
+SIZE (xfce4/thunar-vcs-plugin-0.4.0.tar.xz) = 231328
diff --git a/devel/thunar-vcs-plugin/pkg-plist b/devel/thunar-vcs-plugin/pkg-plist
index 488be5af04d3..bb64b204af7f 100644
--- a/devel/thunar-vcs-plugin/pkg-plist
+++ b/devel/thunar-vcs-plugin/pkg-plist
@@ -1,6 +1,8 @@
 lib/thunarx-3/thunar-vcs-plugin.so
 %%GIT%%libexec/tvp-git-helper
 %%SUBVERSION%%libexec/tvp-svn-helper
+share/icons/hicolor/16x16/apps/git.png
+share/icons/hicolor/16x16/apps/subversion.png
 share/icons/hicolor/24x24/apps/git.png
 share/icons/hicolor/24x24/apps/subversion.png
 share/icons/hicolor/48x48/apps/git.png