Skip to content

Commit

Permalink
docs: override rtp library project name
Browse files Browse the repository at this point in the history
.. to avoid conflicts with the rtp plugin
  • Loading branch information
MathieuDuponchelle committed Jun 4, 2019
1 parent ab165db commit 1abecb3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/meson.build
Expand Up @@ -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]
Expand All @@ -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,
Expand Down

0 comments on commit 1abecb3

Please sign in to comment.