hotdoc: gst-hotdoc-plugins-scanner is not needed for libraries
authorXavier Claessens <xavier.claessens@collabora.com>
Mon, 7 Nov 2022 14:27:09 +0000 (09:27 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 7 Nov 2022 23:06:32 +0000 (23:06 +0000)
Meson >= 0.64.0 does not allow any more to add executables into
hotdoc.generate_doc(..., dependencies: ...) and it should not be needed
any way.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3352>

subprojects/gstreamer/docs/meson.build

index 42fcccb..3907d25 100644 (file)
@@ -130,7 +130,7 @@ libs_doc = [hotdoc.generate_doc('gstreamer',
     gi_index: 'gst/gi-index.md',
     gi_smart_index: true,
     gi_c_source_roots: [join_paths(meson.current_source_dir(), '../gst/'), ],
-    dependencies: [gst_dep, gmodule_dep, hotdoc_plugin_scanner],
+    dependencies: [gst_dep, gmodule_dep],
     extra_assets: [join_paths(meson.current_source_dir(), 'images')],
 )]
 
@@ -156,7 +156,7 @@ foreach lib: libs
       gi_index: join_paths('libs/', name, 'index.md'),
       gi_smart_index: true,
       gi_order_generated_subpages: true,
-      dependencies: deps + [hotdoc_plugin_scanner],
+      dependencies: deps,
       install: false,
   )]
 endforeach