diff --git a/docs/reference/meson.build b/docs/reference/meson.build index 842d3a68d9..1654463490 100644 --- a/docs/reference/meson.build +++ b/docs/reference/meson.build @@ -3,8 +3,9 @@ if get_option('gtk_doc') error('Building the GTK documentation requires Meson 0.52.0') endif - # Use gtk-doc as a sub-project if the version isn't new enough - dependency('gtk-doc', version: '>=1.32', + # Use gtk-doc as a sub-project from the gtk-doc-for-gtk4 branch + # for the time being + dependency('gtk-doc', version: '>=1.99', fallback: ['gtk-doc', 'dummy_dep'], default_options: ['tests=false']) diff --git a/subprojects/gtk-doc.wrap b/subprojects/gtk-doc.wrap index 7469d027b0..0b8d4412d0 100644 --- a/subprojects/gtk-doc.wrap +++ b/subprojects/gtk-doc.wrap @@ -1,4 +1,4 @@ [wrap-git] directory=gtk-doc url=https://gitlab.gnome.org/GNOME/gtk-doc.git -revision=master +revision=gtk-doc-for-gtk4