mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
2 changed files with 3 additions and 5 deletions
|
|
@ -94,11 +94,6 @@ x11_dep = dependency('x11')
|
||||||
schemas_dep = dependency('gsettings-desktop-schemas', version: schemas_req)
|
schemas_dep = dependency('gsettings-desktop-schemas', version: schemas_req)
|
||||||
gnome_desktop_dep = dependency('gnome-desktop-4', version: gnome_desktop_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 = []
|
nm_deps = []
|
||||||
if get_option('networkmanager')
|
if get_option('networkmanager')
|
||||||
nm_deps += dependency('libnm', version: nm_req)
|
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
|
push-url=ssh://git@gitlab.gnome.org:GNOME/gi-docgen.git
|
||||||
revision=main
|
revision=main
|
||||||
depth=1
|
depth=1
|
||||||
|
|
||||||
|
[provide]
|
||||||
|
program_names = gi-docgen
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue