From 1abecb3f42daabbd9509b18254fb77dda7aeeebb Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Tue, 4 Jun 2019 14:58:45 +0200 Subject: [PATCH] docs: override rtp library project name .. to avoid conflicts with the rtp plugin --- docs/meson.build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/meson.build b/docs/meson.build index 7eda411..ed7024f 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -102,6 +102,12 @@ if build_gstgl ]]] endif +# Used to avoid conflicts with known plugin names +project_names = { + 'app': 'applib', + 'rtp': 'rtplib', +} + libs_doc = [] foreach lib: libs name = lib[0] @@ -111,7 +117,7 @@ foreach lib: libs if lib.length() >= 4 extra_sources = lib[3] endif - project_name = name == 'app' ? 'applib': name + project_name = project_names.get(name, name) libs_doc += [hotdoc.generate_doc(project_name, project_version: api_version, gi_c_sources: [join_paths('../gst-libs/gst', name, '*.[hc]')] + extra_sources, -- 2.7.4