diff --git a/x11-fonts/font-manager/Makefile b/x11-fonts/font-manager/Makefile index 043c4e80e9a50..7283fe79e806c 100644 --- a/x11-fonts/font-manager/Makefile +++ b/x11-fonts/font-manager/Makefile @@ -1,6 +1,6 @@ PORTNAME= font-manager PORTVERSION= 0.8.8 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-fonts gnome PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ @@ -20,8 +20,8 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib \ - libsoup-2.4.so:devel/libsoup \ - libwebkit2gtk-4.0.so:www/webkit2-gtk3 + libsoup-3.0.so:devel/libsoup3 \ + libwebkit2gtk-4.1.so:www/webkit2-gtk3 USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome \ meson pkgconfig python shebangfix sqlite vala:build @@ -42,7 +42,7 @@ OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_MESON_TRUE= enable-nls -post-patch: +pre-configure: @${REINPLACE_CMD} \ -e "s|\(find_installation.*\)python3|\1${PYTHON_CMD}|" \ ${WRKSRC}/meson.build diff --git a/x11-fonts/font-manager/files/patch-meson.build b/x11-fonts/font-manager/files/patch-meson.build new file mode 100644 index 0000000000000..00f5fcaf553ef --- /dev/null +++ b/x11-fonts/font-manager/files/patch-meson.build @@ -0,0 +1,13 @@ +--- meson.build.orig 2024-05-24 20:03:10 UTC ++++ meson.build +@@ -27,8 +27,8 @@ if get_option('webkit') + xml = dependency('libxml-2.0', version: '>= 2.9') + + if get_option('webkit') +- soup = dependency('libsoup-2.4', version: '>= 2.62') +- webkit = dependency('webkit2gtk-4.0', version: '>= 2.24') ++ soup = dependency('libsoup-3.0', version: '>= 2.62') ++ webkit = dependency('webkit2gtk-4.1', version: '>= 2.24') + add_global_arguments('-D', 'HAVE_WEBKIT', language: 'vala') + endif +