Skip to content

Commit

Permalink
x11-fonts/font-manager: update webkit3gtk3 API version 4.1
Browse files Browse the repository at this point in the history
Pull Request:	freebsd#266
  • Loading branch information
clausecker committed May 24, 2024
1 parent d9aab88 commit 283b167
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x11-fonts/font-manager/Makefile
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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
Expand All @@ -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
Expand Down
13 changes: 13 additions & 0 deletions x11-fonts/font-manager/files/patch-meson.build
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 283b167

Please sign in to comment.