mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
docs: override rtp library project name
.. to avoid conflicts with the rtp plugin
This commit is contained in:
parent
ab165db6a9
commit
1abecb3f42
1 changed files with 7 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue