aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
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
parentevas doc: fix minor typos. (diff)
downloadefl-2c2f93dc1a8114695d5d72d7ea850995e88f9e56.tar.gz
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 'src/examples')
-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 = [
'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',