Skip to content

Commit

Permalink
www/vimb: update to 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 b9470a3 commit b4db74d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
6 changes: 3 additions & 3 deletions www/vimb/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= vimb
DISTVERSION= 3.7.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www

MAINTAINER= [email protected]
Expand All @@ -10,8 +10,8 @@ WWW= https://fanglingsu.github.io/vimb/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE

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

USES= compiler:c11 desktop-file-utils gmake gnome pkgconfig
USE_GITHUB= yes
Expand Down
14 changes: 1 addition & 13 deletions www/vimb/files/patch-config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,7 @@

# used libs
-LIBS = gtk+-3.0 webkit2gtk-4.1
+LIBS = gtk+-3.0 webkit2gtk-4.0 gdk-pixbuf-2.0 cairo harfbuzz pango glib-2.0 harfbuzz atk
+LIBS = gtk+-3.0 webkit2gtk-4.1 gdk-pixbuf-2.0 cairo harfbuzz pango glib-2.0 harfbuzz atk

# setup general used CFLAGS
CFLAGS += -std=c99 -pipe -Wall -fPIC
@@ -35,9 +35,9 @@ endif

# flags used to build webextension
EXTTARGET = webext_main.so
-EXTCFLAGS = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-web-extension-4.1)
+EXTCFLAGS = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-web-extension-4.0)
EXTCPPFLAGS = $(CPPFLAGS)
-EXTLDFLAGS = ${LDFLAGS} $(shell pkg-config --libs webkit2gtk-web-extension-4.1) -shared
+EXTLDFLAGS = ${LDFLAGS} $(shell pkg-config --libs webkit2gtk-web-extension-4.0) -shared

# flags used for the main application
CFLAGS += $(shell pkg-config --cflags $(LIBS))

0 comments on commit b4db74d

Please sign in to comment.