Skip to content

Commit

Permalink
graphics/gthumb: 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 fb3016b commit a549696
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
6 changes: 3 additions & 3 deletions graphics/gthumb/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= gthumb
PORTVERSION= 3.12.2
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= graphics
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
Expand All @@ -24,7 +24,7 @@ LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
liblcms2.so:graphics/lcms2 \
liboauth.so:net/liboauth \
libpng.so:graphics/png \
libsoup-2.4.so:devel/libsoup \
libsoup-3.0.so:devel/libsoup3 \
libtiff.so:graphics/tiff \
libcolord.so:graphics/colord
RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas
Expand Down Expand Up @@ -100,7 +100,7 @@ WEBP_MESON_TRUE= libwebp
WEBSERVICES_DESC= Web services
WEBSERVICES_LIB_DEPENDS=\
libjson-glib-1.0.so:devel/json-glib \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
libwebkit2gtk-4.1.so:www/webkit2-gtk3
WEBSERVICES_MESON_TRUE= webservices
YELP_DESC= Viewer for built-in help system
YELP_RUN_DEPENDS= yelp:x11/yelp
Expand Down
14 changes: 14 additions & 0 deletions graphics/gthumb/files/patch-meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--- meson.build.orig 2024-05-24 21:10:35 UTC
+++ meson.build
@@ -193,9 +193,9 @@ if get_option('webservices')

use_libsecret = false
if get_option('webservices')
- libsoup_dep = dependency('libsoup-2.4', version : libsoup_version, required : false)
+ libsoup_dep = dependency('libsoup-3.0', version : libsoup_version, required : false)
libjson_glib_dep = dependency('json-glib-1.0', version : libjson_glib_version, required : false)
- webkit2_dep = dependency('webkit2gtk-4.0', version : webkit2_version, required : false)
+ webkit2_dep = dependency('webkit2gtk-4.1', version : webkit2_version, required : false)
if not webkit2_dep.found()
webkit2_dep = dependency('webkit2gtk-3.0', version : webkit2_version, required : false)
endif

0 comments on commit a549696

Please sign in to comment.