Skip to content

Commit

Permalink
devel/geany-plugin-markdown: update webkit3gtk3 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 2c85832 commit bcb99a6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devel/geany-plugin-markdown/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
PORTNAME= geany-plugin-markdown
PORTVERSION= ${GEANY_VER}
PORTREVISION= 1
CATEGORIES= devel

MAINTAINER= [email protected]
COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC}
WWW= https://plugins.geany.org/markdown.html

LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 \
libwebkit2gtk-4.1.so:www/webkit2-gtk3

OPTIONS_DEFINE= DOCS

Expand Down
18 changes: 18 additions & 0 deletions devel/geany-plugin-markdown/files/patch-build_markdown.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- build/markdown.m4.orig 2024-05-24 20:17:22 UTC
+++ build/markdown.m4
@@ -49,13 +49,13 @@ AC_DEFUN([GP_CHECK_MARKDOWN],
GTK_VERSION=2.16
WEBKIT_VERSION=1.1.13

- GP_CHECK_GTK3([webkit_package=webkit2gtk-4.0],
+ GP_CHECK_GTK3([webkit_package=webkit2gtk-4.1],
[webkit_package=webkit-1.0])
GP_CHECK_PLUGIN_DEPS([markdown], [MARKDOWN],
[$GP_GTK_PACKAGE >= ${GTK_VERSION}
$webkit_package >= ${WEBKIT_VERSION}
gthread-2.0])
- AM_CONDITIONAL([MARKDOWN_WEBKIT2], [test "$webkit_package" = webkit2gtk-4.0])
+ AM_CONDITIONAL([MARKDOWN_WEBKIT2], [test "$webkit_package" = webkit2gtk-4.1])

GP_COMMIT_PLUGIN_STATUS([Markdown])

0 comments on commit bcb99a6

Please sign in to comment.