mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
meson: Add "pipeline-preview" to printed summary
This commit is contained in:
@@ -166,3 +166,8 @@ if build_clapper
|
|||||||
summary(name, clapper_available_features.contains(name) ? 'Yes' : 'No', section: 'Features')
|
summary(name, clapper_available_features.contains(name) ? 'Yes' : 'No', section: 'Features')
|
||||||
endforeach
|
endforeach
|
||||||
endif
|
endif
|
||||||
|
if build_clapperapp
|
||||||
|
foreach name : clapperapp_possible_functionalities
|
||||||
|
summary(name, clapperapp_available_functionalities.contains(name) ? 'Yes' : 'No', section: 'Functionalities')
|
||||||
|
endforeach
|
||||||
|
endif
|
||||||
|
@@ -94,12 +94,18 @@ clapperapp_c_args = [
|
|||||||
'-DGST_USE_UNSTABLE_API',
|
'-DGST_USE_UNSTABLE_API',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
clapperapp_possible_functionalities = [
|
||||||
|
'pipeline-preview',
|
||||||
|
]
|
||||||
|
clapperapp_available_functionalities = []
|
||||||
|
|
||||||
pp_option = get_option('pipeline-preview')
|
pp_option = get_option('pipeline-preview')
|
||||||
|
|
||||||
if not pp_option.disabled()
|
if not pp_option.disabled()
|
||||||
if cgraph_dep.found() and gvc_dep.found()
|
if cgraph_dep.found() and gvc_dep.found()
|
||||||
clapperapp_c_args += ['-DHAVE_GRAPHVIZ']
|
clapperapp_c_args += ['-DHAVE_GRAPHVIZ']
|
||||||
clapperapp_deps += [cgraph_dep, gvc_dep]
|
clapperapp_deps += [cgraph_dep, gvc_dep]
|
||||||
|
clapperapp_available_functionalities += 'pipeline-preview'
|
||||||
elif pp_option.enabled()
|
elif pp_option.enabled()
|
||||||
error('pipeline-preview option was enabled, but required dependencies were not found')
|
error('pipeline-preview option was enabled, but required dependencies were not found')
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user