diff --git a/.travis.yml b/.travis.yml index 7dbb4bc9..f490b28d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ branches: gh-pages language: c -dist: bionic +dist: jammy sudo: required compiler: @@ -12,6 +12,6 @@ compiler: before_install: - sudo apt-get update -q - - sudo apt-get install -y --allow-unauthenticated --no-install-recommends libwebkit2gtk-4.0-dev + - sudo apt-get install -y --allow-unauthenticated --no-install-recommends libwebkit2gtk-4.1-dev script: make options && make -j test diff --git a/README.md b/README.md index d1569a4b..c6c2adf9 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ the project page of [Vimb][]. ## 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 diff --git a/config.mk b/config.mk index f5c6042b..e2e13fd0 100644 --- a/config.mk +++ b/config.mk @@ -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))