[sushi/jjardon/webkit2gtk-4.1] meson.build: Build against webkit2gtk-4.1
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/jjardon/webkit2gtk-4.1] meson.build: Build against webkit2gtk-4.1
- Date: Sat, 24 Jul 2021 22:14:23 +0000 (UTC)
commit f5c71b9ce135313005f8ed6db84786ba9b77d046
Author: Javier Jardón <jjardon gnome org>
Date: Sat Jul 24 02:10:48 2021 +0100
meson.build: Build against webkit2gtk-4.1
meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index c712397..d7f828f 100644
--- a/meson.build
+++ b/meson.build
@@ -21,7 +21,10 @@ gtk_x11_dep = dependency('gtk+-x11-3.0', required: get_option('X11'))
gtk_wayland_dep = dependency('gtk+-wayland-3.0', version: '>= 3.21.5', required: get_option('wayland'))
gtksourceview_dep = dependency('gtksourceview-4', version: '>=4.0.3')
harfbuzz_dep = dependency('harfbuzz', version: '>=0.9.9')
-webkit_dep = dependency('webkit2gtk-4.0')
+webkit_dep = dependency('webkit2gtk-4.1', required : false)
+if not webkit_dep.found()
+ webkit_dep = dependency('webkit2gtk-4.0')
+endif
bindir = join_paths(get_option('prefix'), get_option('bindir'))
datadir = join_paths(get_option('prefix'), get_option('datadir'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]