Skip to content

Commit

Permalink
misc/xiphos: update webkit2gtk3 API version to 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 217a7cd commit e6dd9da
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misc/xiphos/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= xiphos
DISTVERSION= 4.2.1
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES= misc gnome
# Don't use USE_GITHUB: the sources downloaded by USE_GITHUB cannot be
# built as they miss the file ${WRKSRC}/cmake/source_version.txt.
Expand All @@ -23,10 +23,10 @@ LIB_DEPENDS= libbiblesync.so:misc/biblesync \
libdbus-glib-1.so:devel/dbus-glib \
libenchant.so:textproc/enchant \
libicui18n.so:devel/icu \
libsoup-2.4.so:devel/libsoup \
libsoup-3.0.so:devel/libsoup3 \
libsword.so:misc/sword \
libuuid.so:misc/e2fsprogs-libuuid \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
libwebkit2gtk-4.1.so:www/webkit2-gtk3

# gettext is always needed, even if NLS is off
USES= cmake compiler:c11 gettext gnome minizip pkgconfig
Expand Down
29 changes: 29 additions & 0 deletions misc/xiphos/files/patch-cmake_XiphosDependencies.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--- cmake/XiphosDependencies.cmake.orig 2024-05-24 21:02:06 UTC
+++ cmake/XiphosDependencies.cmake
@@ -84,7 +84,7 @@ pkg_check_modules(Gnome REQUIRED IMPORTED_TARGET
"gdk-pixbuf-2.0"
"gio-2.0"
"gobject-2.0"
- "libsoup-2.4"
+ "libsoup-3.0"
"pango"
"minizip"
"zlib"
@@ -135,7 +135,7 @@ else (GTK2)
# Gtk+-3.0 + Webkit2 + WebKit-editor
pkg_check_modules(Gtk REQUIRED IMPORTED_TARGET
"gtk+-3.0"
- "webkit2gtk-4.0"
+ "webkit2gtk-4.1"
"gtkhtml-editor-4.0"
"libgtkhtml-4.0"
)
@@ -144,7 +144,7 @@ else (GTK2)
# Gtk+-3.0 + Webkit2 + GtkHtml-editor
pkg_check_modules(Gtk REQUIRED IMPORTED_TARGET
"gtk+-3.0"
- "webkit2gtk-4.0"
+ "webkit2gtk-4.1"
)
endif()
endif (GTK2)

0 comments on commit e6dd9da

Please sign in to comment.