From 569293fad69550b4b2aeaae9cda4b7da70881afc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 21 Jan 2024 00:12:18 +0100 Subject: [PATCH] build: Remove dummy gi-docgen dependency Instead, add a provide to the wrap that allows it to be pulled in by the `find_program('gi-docgen')` call. Part-of: --- meson.build | 5 ----- subprojects/gi-docgen.wrap | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index b2b4d3735..95ead7b93 100644 --- a/meson.build +++ b/meson.build @@ -94,11 +94,6 @@ x11_dep = dependency('x11') schemas_dep = dependency('gsettings-desktop-schemas', version: schemas_req) gnome_desktop_dep = dependency('gnome-desktop-4', version: gnome_desktop_req) -gidocgen_dep = dependency('gi-docgen', - version: '>= 2021.1', - fallback: ['gi-docgen', 'dummy_dep'], - required: get_option('gtk_doc')) - nm_deps = [] if get_option('networkmanager') nm_deps += dependency('libnm', version: nm_req) diff --git a/subprojects/gi-docgen.wrap b/subprojects/gi-docgen.wrap index 98cd92118..ccfa14eda 100644 --- a/subprojects/gi-docgen.wrap +++ b/subprojects/gi-docgen.wrap @@ -4,3 +4,6 @@ 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