1From 397751846130f79d5fbe8d617b788f3bcbb36816 Mon Sep 17 00:00:00 2001 2From: Ross Burton <ross.burton@arm.com> 3Date: Tue, 9 Jan 2024 22:20:03 +0000 4Subject: [PATCH] meson: remove pointless gtk-doc check 5 6There's no point explicitly checking for gtk-doc, for two reasons: 7 81) In cross-compiled environments this looks for a target gtk-doc, not a 9 native gtk-doc, so it should set native:true. 10 112) The gnome.gtkdoc() function checks for gtk-doc itself. 12 13Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/351] 14Signed-off-by: Ross Burton <ross.burton@arm.com> 15--- 16 meson.build | 6 ------ 17 1 file changed, 6 deletions(-) 18 19diff --git a/meson.build b/meson.build 20index ba07da70..1109daea 100644 21--- a/meson.build 22+++ b/meson.build 23@@ -107,12 +107,6 @@ else 24 vapigen_dep = [] 25 endif 26 27-if build_gtk_doc 28- gtk_doc_dep = dependency('gtk-doc', version: gtk_doc_req) 29-else 30- gtk_doc_dep = [] 31-endif 32- 33 # Look for the libxml2 library manually on Visual Studio if 34 # its pkg-config file could not be found, as the NMake 35 # Makefiles of libxml2 do not generate the pkg-config files 36-- 372.34.1 38 39