diff options
author | Patrick Steinhardt <ps@pks.im> | 2022-12-21 15:47:15 +0100 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2023-01-03 15:09:53 +0000 |
commit | ba53913906e1127b775d910db907bbcd9838951a (patch) | |
tree | c3bfbb15da4823ea0612704a96ac58a49afff402 | |
parent | 6ed49e8e6c622053bca41db297c5f2647097dd74 (diff) |
config.mk: link against webkit-gtk 4.1
The webkit-gtk project has released a new minor version bump of their
API with version 4.1. The difference between 4.0 and 4.1 is that the
former links against libsoup 2.x, whereas the latter links against
libsoup 3.0 and newer. As libsoup has introduced backwards-incompatible
changes in 3.0 it will cause the process to hard-crash if a program is
linked against both libraries at the same time.
Now that we have ported vimb to be compatible with libsoup 3.0 we can
start to link against the recent webkit-gtk 4.1.
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | config.mk | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -5,7 +5,7 @@ neovimb is a fork of [vimb](https://github.com/fanglingsu/vimb) but with a coupl ## dependencies - gtk+-3.0 -- webkit2gtk-4.0 >= 2.20.x +- webkit2gtk-4.1 - gst-libav, gst-plugins-good (optional, for media decoding among other things) ## Install @@ -17,7 +17,7 @@ SRCDIR = src DOCDIR = doc # used libs -LIBS = gtk+-3.0 'webkit2gtk-4.0 >= 2.20.0' +LIBS = gtk+-3.0 webkit2gtk-4.1 # setup general used CFLAGS CFLAGS += -std=c99 -pipe -Wall -fPIC @@ -34,9 +34,9 @@ endif # flags used to build webextension EXTTARGET = webext_main.so -EXTCFLAGS = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-web-extension-4.0) +EXTCFLAGS = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-web-extension-4.1) EXTCPPFLAGS = $(CPPFLAGS) -EXTLDFLAGS = ${LDFLAGS} $(shell pkg-config --libs webkit2gtk-web-extension-4.0) -shared +EXTLDFLAGS = ${LDFLAGS} $(shell pkg-config --libs webkit2gtk-web-extension-4.1) -shared # flags used for the main application CFLAGS += $(shell pkg-config --cflags $(LIBS)) |