summaryrefslogtreecommitdiff
path: root/src/examples/ecore/meson.build
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2019-01-09 09:05:01 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-10 10:57:42 +0100
commit2c2f93dc1a8114695d5d72d7ea850995e88f9e56 (patch)
tree95f43e6ad952e19e52f3b38e8e08e2cdd7479cb5 /src/examples/ecore/meson.build
parent98c8ddd2fe7cb10650c24cfd5018be5813d1bceb (diff)
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
Diffstat (limited to '')
-rw-r--r--src/examples/ecore/meson.build14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/examples/ecore/meson.build b/src/examples/ecore/meson.build
index 7233a83b82..c0b42959fa 100644
--- a/src/examples/ecore/meson.build
+++ b/src/examples/ecore/meson.build
@@ -7,7 +7,6 @@ examples = [
7 'ecore_file_download_example', 7 'ecore_file_download_example',
8 'ecore_idler_example', 8 'ecore_idler_example',
9 'ecore_job_example', 9 'ecore_job_example',
10 'ecore_pipe_gstreamer_example',
11 'ecore_pipe_simple_example', 10 'ecore_pipe_simple_example',
12 'ecore_poller_example', 11 'ecore_poller_example',
13 'ecore_thread_example', 12 'ecore_thread_example',
@@ -22,9 +21,20 @@ examples += ['ecore_fd_handler_gnutls_example']
22endif 21endif
23 22
24foreach example : examples 23foreach example : examples
25 executable(example, example + '.c', dependencies: [eina, ecore, gstreamer, ecore_file, gnutls]) 24 executable(example, example + '.c', dependencies: [eina, ecore, ecore_file, gnutls])
26endforeach 25endforeach
27 26
27if get_option('gstreamer') == true
28 examples = [
29 'ecore_pipe_gstreamer_example',
30 ]
31
32 foreach example : examples
33 executable(example, example + '.c', dependencies: [eina, ecore, gstreamer, ecore_file])
34 endforeach
35endif
36
37
28examples = [ 38examples = [
29# 'ecore_audio_custom', 39# 'ecore_audio_custom',
30# 'ecore_audio_playback', 40# 'ecore_audio_playback',