mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
docs: Do not try to generate cuda documentation when gir is not generated
On macos it is not Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8086>
This commit is contained in:
parent
10f31c1f10
commit
b6d0c57087
1 changed files with 4 additions and 1 deletions
|
@ -136,12 +136,15 @@ if build_gir
|
||||||
{'name': 'audio', 'gir': audio_gir, 'lib': gstbadaudio_dep, 'prefix': 'bad-'},
|
{'name': 'audio', 'gir': audio_gir, 'lib': gstbadaudio_dep, 'prefix': 'bad-'},
|
||||||
{'name': 'transcoder', 'gir': transcoder_gir, 'lib': gst_transcoder_dep},
|
{'name': 'transcoder', 'gir': transcoder_gir, 'lib': gst_transcoder_dep},
|
||||||
{'name': 'codecs', 'gir': codecs_gir, 'lib': gstcodecs_dep},
|
{'name': 'codecs', 'gir': codecs_gir, 'lib': gstcodecs_dep},
|
||||||
{'name': 'cuda', 'gir': gst_cuda_gir, 'lib': gstcuda_dep, 'c_source_patterns': ['*.h', '*.cpp']},
|
|
||||||
{'name': 'dxva', 'gir': dxva_gir, 'lib': gstdxva_dep, 'c_source_patterns': ['*.h', '*.cpp']},
|
{'name': 'dxva', 'gir': dxva_gir, 'lib': gstdxva_dep, 'c_source_patterns': ['*.h', '*.cpp']},
|
||||||
{'name': 'mse', 'gir': mse_gir, 'lib': gstmse_dep, 'suffix': 'lib'},
|
{'name': 'mse', 'gir': mse_gir, 'lib': gstmse_dep, 'suffix': 'lib'},
|
||||||
{'name': 'analytics', 'gir': analytics_gir, 'lib': gstanalytics_dep},
|
{'name': 'analytics', 'gir': analytics_gir, 'lib': gstanalytics_dep},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if get_variable('gst_cuda_gir', []).length() > 0
|
||||||
|
libs += [{'name': 'cuda', 'gir': gst_cuda_gir, 'lib': gstcuda_dep, 'c_source_patterns': ['*.h', '*.cpp']}]
|
||||||
|
endif
|
||||||
|
|
||||||
if gstopencv_dep.found()
|
if gstopencv_dep.found()
|
||||||
libs += [
|
libs += [
|
||||||
{'name': 'opencv', 'lib': gstopencv_dep, 'c_source_patterns': ['*.h', '*.cpp'], 'extra_c_flags': ['-x c++']},
|
{'name': 'opencv', 'lib': gstopencv_dep, 'c_source_patterns': ['*.h', '*.cpp'], 'extra_c_flags': ['-x c++']},
|
||||||
|
|
Loading…
Reference in a new issue