[devhelp/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: [devhelp/jjardon/webkit2gtk-4.1] meson.build: build against webkit2gtk-4.1
- Date: Sat, 24 Jul 2021 21:52:59 +0000 (UTC)
commit dc2fb5c99f6ab3f3eac912858619b9ca4727839f
Author: Javier Jardón <jjardon gnome org>
Date: Sat Jul 24 02:00:58 2021 +0100
meson.build: build against webkit2gtk-4.1
meson.build | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 52df6ff2..089b3dd4 100644
--- a/meson.build
+++ b/meson.build
@@ -46,10 +46,15 @@ lt_revision = 3
lt_age = 0
LIBDEVHELP_LT_VERSION = '@0@.@1@.@2@'.format(lt_current, lt_revision, lt_age)
+webkit_dep = dependency('webkit2gtk-4.1')
+if not webkit_dep.found()
+ webkit_dep = dependency('webkit2gtk-4.0')
+endif
+
LIBDEVHELP_PUBLIC_DEPS = [
dependency('gio-2.0', version: '>= 2.64'),
dependency('gtk+-3.0', version: '>= 3.22'),
- dependency('webkit2gtk-4.0', version: '>= 2.26'),
+ webkit_dep,
]
LIBDEVHELP_PRIVATE_DEPS = [
dependency('gsettings-desktop-schemas'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]