From b25f8adf1c297f6fc6b78d6777342031b0623fda Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 2 May 2023 10:36:35 +0100 Subject: Update gi-docgen's wrap Use the `provide` override to ensure that Meson knows what the gi-docgen wrap provides. --- subprojects/gi-docgen.wrap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subprojects/gi-docgen.wrap b/subprojects/gi-docgen.wrap index 98cd92118..924eb0acf 100644 --- a/subprojects/gi-docgen.wrap +++ b/subprojects/gi-docgen.wrap @@ -4,3 +4,7 @@ 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 +gi-docgen = dummy_dep -- cgit v1.2.1 From 975963a2847cded353853c55c217d0dd7b0bd6ca Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 2 May 2023 10:37:14 +0100 Subject: build: Drop the fallback dummy for gi-docgen Meson will check the dependency based on the subproject's overrides. --- docs/meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/meson.build b/docs/meson.build index 8245864e4..dd9edb72e 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -1,6 +1,5 @@ gidocgen_dep = dependency('gi-docgen', version: '>= 2021.1', - fallback: ['gi-docgen', 'dummy_dep'], required: get_option('gtk_doc'), ) -- cgit v1.2.1