docs: override rtp library project name
.. to avoid conflicts with the rtp plugin
This commit is contained in:
parent
ab165db6a9
commit
1abecb3f42
@ -102,6 +102,12 @@ if build_gstgl
|
|||||||
]]]
|
]]]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Used to avoid conflicts with known plugin names
|
||||||
|
project_names = {
|
||||||
|
'app': 'applib',
|
||||||
|
'rtp': 'rtplib',
|
||||||
|
}
|
||||||
|
|
||||||
libs_doc = []
|
libs_doc = []
|
||||||
foreach lib: libs
|
foreach lib: libs
|
||||||
name = lib[0]
|
name = lib[0]
|
||||||
@ -111,7 +117,7 @@ foreach lib: libs
|
|||||||
if lib.length() >= 4
|
if lib.length() >= 4
|
||||||
extra_sources = lib[3]
|
extra_sources = lib[3]
|
||||||
endif
|
endif
|
||||||
project_name = name == 'app' ? 'applib': name
|
project_name = project_names.get(name, name)
|
||||||
libs_doc += [hotdoc.generate_doc(project_name,
|
libs_doc += [hotdoc.generate_doc(project_name,
|
||||||
project_version: api_version,
|
project_version: api_version,
|
||||||
gi_c_sources: [join_paths('../gst-libs/gst', name, '*.[hc]')] + extra_sources,
|
gi_c_sources: [join_paths('../gst-libs/gst', name, '*.[hc]')] + extra_sources,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user