Skip to content

Commit

Permalink
mail/astroid: 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 1f1f37e commit 388d312
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mail/astroid/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORTNAME= astroid
DISTVERSIONPREFIX= v
DISTVERSION= 0.16
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= mail

MAINTAINER= [email protected]
Expand All @@ -16,14 +16,14 @@ LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LGPL-2.1+
BUILD_DEPENDS= scdoc:textproc/scdoc \
notmuch>0:mail/notmuch
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libjavascriptcoregtk-4.0.so:www/webkit2-gtk3 \
libjavascriptcoregtk-4.1.so:www/webkit2-gtk3 \
libgmime-3.0.so:mail/gmime30 \
libgnutls.so:security/gnutls \
libpcre2-8.so:devel/pcre2 \
libpeas-1.0.so:devel/libpeas \
libprotobuf.so:devel/protobuf \
libsass.so:textproc/libsass \
libsoup-2.4.so:devel/libsoup
libsoup-3.0.so:devel/libsoup3
RUN_DEPENDS= notmuch:mail/notmuch

USES= cmake compiler:c++17-lang desktop-file-utils gettext-runtime gnome \
Expand Down
16 changes: 16 additions & 0 deletions mail/astroid/files/patch-CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
--- CMakeLists.txt.orig 2024-05-24 20:31:18 UTC
+++ CMakeLists.txt
@@ -95,11 +95,11 @@ pkg_check_modules (GLIBMM2 REQUIRED glibmm-2.4)

pkg_check_modules (GTKMM3 REQUIRED gtkmm-3.0>=3.10)
pkg_check_modules (GLIBMM2 REQUIRED glibmm-2.4)
-pkg_check_modules (WEBKIT2GTK REQUIRED webkit2gtk-4.0>=2.22)
+pkg_check_modules (WEBKIT2GTK REQUIRED webkit2gtk-4.1>=2.22)
pkg_check_modules (SASS REQUIRED libsass)
pkg_check_modules (GIOMM2 REQUIRED giomm-2.4)
pkg_check_modules (GIOUNIX REQUIRED gio-unix-2.0)
-pkg_check_modules (LIBSOUP REQUIRED libsoup-2.4)
+pkg_check_modules (LIBSOUP REQUIRED libsoup-3.0)

string (REGEX REPLACE "([0-9]+\.[0-9]+)\.[0-9]+" "\\1" GMIME_MAJOR_MINOR ${Notmuch_GMIME_VERSION})
pkg_check_modules (GMIME REQUIRED gmime-${GMIME_MAJOR_MINOR}>=${Notmuch_GMIME_VERSION})

0 comments on commit 388d312

Please sign in to comment.