Skip to content

Commit

Permalink
www/midori: 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 91c81ae commit 7b2c9cf
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/midori/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORTNAME= midori
PORTVERSION= 9.0
DISTVERSIONPREFIX= v
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= www

MAINTAINER= ports@FreeBSD.org
Expand All @@ -12,11 +12,11 @@ LICENSE= LGPL21 MIT
LICENSE_COMB= multi

LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
libsoup-2.4.so:devel/libsoup \
libsoup-3.0.so:devel/libsoup3 \
libp11-kit.so:security/p11-kit \
libgcr-base-3.so:security/gcr \
libpeas-1.0.so:devel/libpeas \
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libwebkit2gtk-4.1.so:www/webkit2-gtk3 \
libharfbuzz.so:print/harfbuzz
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss

Expand Down
31 changes: 31 additions & 0 deletions www/midori/files/patch-CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
--- CMakeLists.txt.orig 2024-05-24 20:53:33 UTC
+++ CMakeLists.txt
@@ -46,24 +46,24 @@ pkg_check_modules(DEPS REQUIRED
pkg_check_modules(DEPS REQUIRED
sqlite3>=3.6.19
gio-2.0>=2.46.2
- libsoup-2.4>=2.48.0
+ libsoup-3.0>=2.48.0
)
-set(PKGS sqlite3 gio-2.0 libsoup-2.4)
+set(PKGS sqlite3 gio-2.0 libsoup-3.0)

pkg_check_modules(DEPS_GTK REQUIRED
gtk+-3.0>=3.12.0
- webkit2gtk-4.0>=2.16.6
+ webkit2gtk-4.1>=2.16.6
gcr-ui-3>=2.32
libpeas-gtk-1.0
json-glib-1.0>=0.12
libarchive
)
-set(PKGS ${PKGS} gtk+-3.0 libsoup-2.4 gcr-ui-3 libpeas-gtk-1.0 json-glib-1.0 posix)
+set(PKGS ${PKGS} gtk+-3.0 libsoup-3.0 gcr-ui-3 libpeas-gtk-1.0 json-glib-1.0 posix)
set(EXTRA_VAPIS
${CMAKE_SOURCE_DIR}/vapi/config.vapi
${CMAKE_SOURCE_DIR}/vapi/libarchive.vapi
${CMAKE_SOURCE_DIR}/vapi/webkit2gtk-4.0.vapi
${CMAKE_SOURCE_DIR}/vapi/javascriptcoregtk-4.0.vapi)

add_definitions("-DGCR_API_SUBJECT_TO_CHANGE")
set(CFLAGS "${CFLAGS} -g")

0 comments on commit 7b2c9cf

Please sign in to comment.