diff --git a/meson.build b/meson.build index b780d16c0..b628033a0 100644 --- a/meson.build +++ b/meson.build @@ -333,11 +333,6 @@ if have_introspection endif have_documentation = get_option('docs') -if have_documentation - gidocgen_dep = dependency('gi-docgen', version: '>= 2021.1', - fallback: ['gi-docgen', 'dummy_dep']) -endif - have_tests = get_option('tests') have_core_tests = false have_cogl_tests = false diff --git a/subprojects/gi-docgen.wrap b/subprojects/gi-docgen.wrap new file mode 100644 index 000000000..ccfa14eda --- /dev/null +++ b/subprojects/gi-docgen.wrap @@ -0,0 +1,9 @@ +[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 + +[provide] +program_names = gi-docgen