[folks/wip/jtojnar/docs-eds-41-ftbfs] docs: Fix build with EDS ≥ 3.41




commit 62d588b0c609de17df5b4d1ebfbc67c456267efc
Author: Jan Tojnar <jtojnar gmail com>
Date:   Sat Oct 2 00:13:14 2021 +0200

    docs: Fix build with EDS ≥ 3.41
    
    Docs need the same flag as source code to be able to use fixes from 
https://gitlab.gnome.org/GNOME/folks/-/merge_requests/49.

 docs/meson.build | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/docs/meson.build b/docs/meson.build
index 7ace84bd..05264f94 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -35,6 +35,10 @@ valadoc_targets = [
 ]
 
 if eds_backend_enabled
+  if eds_dep.version().version_compare('>=3.41')
+    docs_common_valadoc_flags += ['-D', 'HAS_EDS_3_41']
+  endif
+
   valadoc_targets += {
     'name': 'folks-eds',
     'source_files': eds_backendlib_sources,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]