Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-ports.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-08-27 13:39:44 +0300
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-08-27 13:39:44 +0300
commitd92a1cb96c0e4d49a0a2c2af045d505c50411f24 (patch)
treea7b486b2ed518228d4e575445d98ee8e24f2705f /x11-fm
parent058c43068e0ae9065ab7dc09bc2675620c645185 (diff)
x11-fm/polo: unbreak the port's build against modern Vala
Vala now validates property names against GLib.Object conventions per https://gitlab.gnome.org/GNOME/vala/-/commit/38d61fbf commit.
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/polo/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-fm/polo/Makefile b/x11-fm/polo/Makefile
index 7ec8a0e824ed..de158e97d2b6 100644
--- a/x11-fm/polo/Makefile
+++ b/x11-fm/polo/Makefile
@@ -13,7 +13,8 @@ LIB_DEPENDS= libgee-0.8.so:devel/libgee \
libharfbuzz.so:print/harfbuzz \
libjson-glib-1.0.so:devel/json-glib
-USES= desktop-file-utils gettext-tools gmake gnome pkgconfig vala:build
+USES= desktop-file-utils gettext-tools gmake gnome pkgconfig \
+ vala:build
USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 vte3
USE_GITHUB= yes
GH_ACCOUNT= teejee2008
@@ -21,11 +22,13 @@ GH_ACCOUNT= teejee2008
WRKSRC_SUBDIR= src
MAKEFILE= makefile
-BROKEN= Does not build against current vala
-
post-patch:
@${RM} ${WRKSRC}/share/polo/files/gtk-theme/*.orig
@${RM} ${WRKSRC}/share/polo/files/install-*.sh
@${RM} -r ${WRKSRC}/share/polo/files/udisks2
+# Adhere to GLib.Object naming conventions for properties
+ @${REINPLACE_CMD} -e 's,7zip_version,sevenzip_version,g' \
+ ${WRKSRC}/Gtk/MainMenubar.vala \
+ ${WRKSRC}/Utility/ArchiveTask.vala
.include <bsd.port.mk>