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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3131>
This commit is contained in:
parent
79b0c9c726
commit
569293fad6
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user