[gcr/gi-docsgen] Include gi-docgen as subproject



commit 6292516cfccc8ae8051e7a95f0930fbe15d85e85
Author: Corentin Noël <corentin noel collabora com>
Date:   Tue Nov 2 14:54:36 2021 +0100

    Include gi-docgen as subproject

 meson.build                | 6 ++++++
 subprojects/gi-docgen.wrap | 6 ++++++
 2 files changed, 12 insertions(+)
---
diff --git a/meson.build b/meson.build
index 6a7202a..01d9f0f 100644
--- a/meson.build
+++ b/meson.build
@@ -70,6 +70,12 @@ if get_option('gtk')
   gtk_dep = dependency('gtk+-3.0', version: '>=' + gtk_min_version)
 endif
 
+
+gidocgen_dep = dependency('gi-docgen', version: '>= 2021.1',
+  fallback: ['gi-docgen', 'dummy_dep'],
+  required: get_option('gtk_doc')
+)
+
 # configuration
 conf = configuration_data()
 conf.set_quoted('VERSION', meson.project_version())
diff --git a/subprojects/gi-docgen.wrap b/subprojects/gi-docgen.wrap
new file mode 100644
index 0000000..98cd921
--- /dev/null
+++ b/subprojects/gi-docgen.wrap
@@ -0,0 +1,6 @@
+[wrap-git]
+directory=gi-docgen
+url=https://gitlab.gnome.org/GNOME/gi-docgen.git
+push-url=ssh://git gitlab gnome org:GNOME/gi-docgen.git
+revision=main
+depth=1


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