summaryrefslogtreecommitdiff
path: root/devel/thunar-vcs-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/thunar-vcs-plugin/Makefile')
-rw-r--r--devel/thunar-vcs-plugin/Makefile34
1 files changed, 20 insertions, 14 deletions
diff --git a/devel/thunar-vcs-plugin/Makefile b/devel/thunar-vcs-plugin/Makefile
index aeb3b0bc4b7d..04d8541cb91d 100644
--- a/devel/thunar-vcs-plugin/Makefile
+++ b/devel/thunar-vcs-plugin/Makefile
@@ -1,5 +1,6 @@
PORTNAME= thunar-vcs-plugin
-PORTVERSION= 0.3.0
+PORTVERSION= 0.4.0
+PORTREVISION= 2
CATEGORIES= devel xfce
MASTER_SITES= XFCE/thunar-plugins
DIST_SUBDIR= xfce4
@@ -11,32 +12,37 @@ 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:ldflags 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:
+.for SIZE in 16x16 24x24 48x48
+ @${MV} ${WRKSRC}/icons/${SIZE}/git.png \
+ ${WRKSRC}/icons/${SIZE}/org.xfce.thunar-vcs-plugin.git.png
+ @${MV} ${WRKSRC}/icons/${SIZE}/subversion.png \
+ ${WRKSRC}/icons/${SIZE}/org.xfce.thunar-vcs-plugin.subversion.png
+.endfor
+
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
.include <bsd.port.mk>