forked from enlightenment/efl
meson: excludes stuffs related with gst if gst is disabled
if a option for gstreamer is disabled, stuffs related with gstreamer should not be compiled. this patch excludes the stuffs. Differential Revision: https://phab.enlightenment.org/D7566
This commit is contained in:
parent
98c8ddd2fe
commit
2c2f93dc1a
|
@ -7,7 +7,6 @@ examples = [
|
|||
'ecore_file_download_example',
|
||||
'ecore_idler_example',
|
||||
'ecore_job_example',
|
||||
'ecore_pipe_gstreamer_example',
|
||||
'ecore_pipe_simple_example',
|
||||
'ecore_poller_example',
|
||||
'ecore_thread_example',
|
||||
|
@ -22,9 +21,20 @@ examples += ['ecore_fd_handler_gnutls_example']
|
|||
endif
|
||||
|
||||
foreach example : examples
|
||||
executable(example, example + '.c', dependencies: [eina, ecore, gstreamer, ecore_file, gnutls])
|
||||
executable(example, example + '.c', dependencies: [eina, ecore, ecore_file, gnutls])
|
||||
endforeach
|
||||
|
||||
if get_option('gstreamer') == true
|
||||
examples = [
|
||||
'ecore_pipe_gstreamer_example',
|
||||
]
|
||||
|
||||
foreach example : examples
|
||||
executable(example, example + '.c', dependencies: [eina, ecore, gstreamer, ecore_file])
|
||||
endforeach
|
||||
endif
|
||||
|
||||
|
||||
examples = [
|
||||
# 'ecore_audio_custom',
|
||||
# 'ecore_audio_playback',
|
||||
|
|
|
@ -10,5 +10,8 @@ generic_src = files([
|
|||
'main.c'
|
||||
])
|
||||
|
||||
generic_deps = [dependency('gstreamer-1.0')]
|
||||
generic_deps = []
|
||||
if get_option('gstreamer') == true
|
||||
generic_deps += dependency('gstreamer-1.0')
|
||||
endif
|
||||
generic_support = ['264','3g2','3gp','3gp2','3gpp','3gpp2','3p2','asf','avi','bdm','bdmv','clpi','cpi','dv','fla','flv','m1v','m2t','m2v','m4v','mkv','mov','mp2','mp2ts','mp4','mpe','mpeg','mpg','mpl','mpls','mts','mxf','nut','nuv','ogg','ogm','ogv','qt','rm','rmj','rmm','rms','rmx','rmvb','rv','swf','ts','webm','weba','wmv']
|
Loading…
Reference in New Issue