summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/ecore/meson.build76
-rw-r--r--src/examples/ecore_avahi/meson.build8
-rw-r--r--src/examples/edje/meson.build135
-rw-r--r--src/examples/eet/meson.build13
-rw-r--r--src/examples/eina/meson.build47
-rw-r--r--src/examples/eio/meson.build15
-rw-r--r--src/examples/eldbus/meson.build17
-rw-r--r--src/examples/emile/meson.build7
-rw-r--r--src/examples/emotion/meson.build14
-rw-r--r--src/examples/ethumb_client/meson.build10
-rw-r--r--src/examples/evas/meson.build57
11 files changed, 399 insertions, 0 deletions
diff --git a/src/examples/ecore/meson.build b/src/examples/ecore/meson.build
new file mode 100644
index 0000000000..7233a83b82
--- /dev/null
+++ b/src/examples/ecore/meson.build
@@ -0,0 +1,76 @@
1examples = [
2 'ecore_event_example_01',
3 'ecore_event_example_02',
4 'ecore_exe_example',
5 'ecore_exe_example_child',
6 'ecore_fd_handler_example',
7 'ecore_file_download_example',
8 'ecore_idler_example',
9 'ecore_job_example',
10 'ecore_pipe_gstreamer_example',
11 'ecore_pipe_simple_example',
12 'ecore_poller_example',
13 'ecore_thread_example',
14 'ecore_time_functions_example',
15 'ecore_timer_example',
16 'ecore_getopt_example'
17]
18
19gnutls = dependency('gnutls', required : false)
20if gnutls.found()
21examples += ['ecore_fd_handler_gnutls_example']
22endif
23
24foreach example : examples
25 executable(example, example + '.c', dependencies: [eina, ecore, gstreamer, ecore_file, gnutls])
26endforeach
27
28examples = [
29# 'ecore_audio_custom',
30# 'ecore_audio_playback',
31# 'ecore_audio_to_ogg',
32]
33
34foreach example : examples
35 executable(example, example + '.c', dependencies: [eina, ecore, ecore_audio])
36endforeach
37
38
39examples = [
40 'ecore_con_client_example',
41 'ecore_con_client_simple_example',
42 'ecore_con_lookup_example',
43 'ecore_con_server_example',
44 'ecore_con_server_http_example',
45 'ecore_con_server_simple_example',
46 'ecore_con_url_cookies_example',
47 'ecore_con_url_download_example',
48 'ecore_con_url_headers_example',
49 'ecore_client_bench',
50 'ecore_server_bench',
51]
52
53foreach example : examples
54 executable(example, example + '.c', dependencies: [eina, ecore, ecore_con])
55endforeach
56
57examples = [
58 'ecore_animator_example',
59 'ecore_evas_basics_example',
60 'ecore_evas_buffer_example_01',
61 'ecore_evas_buffer_example_02',
62 'ecore_evas_callbacks',
63 'ecore_evas_ews_example',
64 'ecore_evas_object_example',
65 'ecore_evas_window_sizes_example',
66]
67
68foreach example : examples
69 executable(example, example + '.c',
70 dependencies: [eina, ecore_evas],
71 c_args : [
72 '-DPACKAGE_EXAMPLES_DIR="'+meson.current_source_dir()+'"']
73 )
74endforeach
75
76# 'ecore_imf_example',
diff --git a/src/examples/ecore_avahi/meson.build b/src/examples/ecore_avahi/meson.build
new file mode 100644
index 0000000000..3ab470da1c
--- /dev/null
+++ b/src/examples/ecore_avahi/meson.build
@@ -0,0 +1,8 @@
1examples = [
2 'ecore_avahi_browse_example',
3 'ecore_avahi_example',
4]
5
6foreach example : examples
7 executable(example, example + '.c', dependencies: [ecore_avahi_deps, ecore_avahi])
8endforeach
diff --git a/src/examples/edje/meson.build b/src/examples/edje/meson.build
new file mode 100644
index 0000000000..49e7e53c73
--- /dev/null
+++ b/src/examples/edje/meson.build
@@ -0,0 +1,135 @@
1edc_files = [
2 'animations.edc',
3 'animations2.edc',
4 'basic.edc',
5 'basic2.edc',
6 'bezier-transition-example.edc',
7 'box.edc',
8 'box_example.edc',
9 'color-class.edc',
10 'drag.edc',
11 'dynamic_multiseat.edc',
12 'edje-group.edc',
13 'edje-nested.edc',
14 'edje-threshold.edc',
15 'edje_example.edc',
16 'embryo_custom_state.edc',
17 'embryo_pong.edc',
18 'embryo_run_program.edc',
19 'embryo_set_state.edc',
20 'embryo_set_state_anim.edc',
21 'embryo_set_text.edc',
22 'embryo_timer.edc',
23 'embryo_tween_anim.edc',
24 'entry.edc',
25 'external_elm_anchorblock.edc',
26 'external_elm_button.edc',
27 'external_elm_check.edc',
28 'external_elm_panes.edc',
29 'external_emotion_elm.edc',
30 'focus.edc',
31 'lua_script.edc',
32 'messages_echo.edc',
33 'multiseat.edc',
34 'multiseat_custom_names.edc',
35 'multiseat_filter.edc',
36 'perspective.edc',
37 'signals-messages.edc',
38 'signalsBubble.edc',
39 'sigtest.edc',
40 'svg.edc',
41 'swallow.edc',
42 'table.edc',
43 'text.edc',
44 'textblock-hyphen.edc',
45 'toggle_using_filter.edc'
46]
47
48if (get_option('physics'))
49 edc_files += [
50 'physics_3d.edc',
51 'physics_actions.edc',
52 'physics_backcull.edc',
53 'physics_basic.edc',
54 'physics_complex.edc',
55 'physics_soft_bodies.edc'
56 ]
57endif
58
59themes = []
60
61foreach edc_file : edc_files
62 themes += custom_target('edje_cc_' + edc_file,
63 input : edc_file,
64 output : '@BASENAME@.edj',
65 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta',
66 '-id', meson.current_source_dir(),
67 '-fd', meson.current_source_dir(),
68 '-sd', meson.current_source_dir(),
69 '-vd', meson.current_source_dir(),
70 '-dd', meson.current_source_dir(),
71 '-md', meson.current_source_dir(),
72 '-td', meson.current_source_dir(),
73 '@INPUT@', '@OUTPUT@'],
74 depends : edje_cc, )
75endforeach
76
77codegen = custom_target('edje_cc_codegen_edc',
78 input : 'codegen.edc',
79 output : '@BASENAME@.edj',
80 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta',
81 '-id', meson.current_source_dir(),
82 '-fd', meson.current_source_dir(),
83 '-sd', meson.current_source_dir(),
84 '-vd', meson.current_source_dir(),
85 '-dd', meson.current_source_dir(),
86 '-md', meson.current_source_dir(),
87 '-td', meson.current_source_dir(),
88 '@INPUT@', '@OUTPUT@'],
89 depends : edje_cc, )
90
91themes += custom_target('edje_codegen_codegen.edj',
92 input : codegen,
93 output : ['@BASENAME@_example_generated.c', '@BASENAME@_example_generated.h'],
94 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_codegen.full_path(),
95 '--prefix=codegen_example', '@INPUT@',
96 'example_group', '@OUTPUT0@', '@OUTPUT1@'],
97 depends : [edje_codegen, themes])
98
99edje_examples = [
100 'animations2',
101 'edje-animations',
102 'edje-basic',
103 'edje-basic2',
104 'edje-box',
105 'edje-box2',
106 'edje-codegen-example',
107 'edje-color-class',
108 'edje-drag',
109 'edje-dynamic-multiseat',
110 'edje-edit-part-box',
111 'edje-entry',
112 'edje-focus',
113 'edje-multiseat',
114 'edje-multiseat-custom-names',
115 'edje-multiseat-filter',
116 'edje-multisense',
117 'edje-perspective',
118 'edje-signals-messages',
119 'edje-swallow',
120 'edje-swallow2',
121 'edje-table',
122 'edje-text',
123 'edje-textblock-hyphenation',
124 'edje_example',
125 'signals2',
126 'sigtest',
127 'svg-test'
128]
129
130foreach edje_example : edje_examples
131 executable(edje_example,
132 [edje_example + '.c'] + themes,
133 dependencies: [edje, ecore_evas],
134 )
135endforeach
diff --git a/src/examples/eet/meson.build b/src/examples/eet/meson.build
new file mode 100644
index 0000000000..98a1120a44
--- /dev/null
+++ b/src/examples/eet/meson.build
@@ -0,0 +1,13 @@
1examples = [
2 'eet-basic',
3 'eet-file',
4 'eet-data-simple',
5 'eet-data-nested',
6 'eet-data-file_descriptor_01',
7 'eet-data-file_descriptor_02',
8 'eet-data-cipher_decipher'
9]
10
11foreach example : examples
12 executable(example, example + '.c', dependencies: eet)
13endforeach
diff --git a/src/examples/eina/meson.build b/src/examples/eina/meson.build
new file mode 100644
index 0000000000..78aa46a290
--- /dev/null
+++ b/src/examples/eina/meson.build
@@ -0,0 +1,47 @@
1examples = [
2'eina_accessor_01',
3'eina_array_01',
4'eina_array_02',
5'eina_error_01',
6'eina_file_01',
7'eina_file_02',
8'eina_hash_01',
9'eina_hash_02',
10'eina_hash_03',
11'eina_hash_04',
12'eina_hash_05',
13'eina_hash_06',
14'eina_hash_07',
15'eina_hash_08',
16'eina_iterator_01',
17'eina_list_01',
18'eina_list_02',
19'eina_list_03',
20'eina_list_04',
21'eina_log_01',
22'eina_log_02',
23'eina_log_03',
24'eina_inlist_01',
25'eina_inlist_02',
26'eina_inlist_03',
27'eina_str_01',
28'eina_strbuf_01',
29'eina_stringshare_01',
30'eina_tmpstr_01',
31#that examples is using ecore evas ... WTF
32#'eina_tiler_01',
33'eina_simple_xml_parser_01',
34'eina_value_01',
35'eina_value_02',
36'eina_value_03',
37'eina_inarray_01',
38'eina_inarray_02',
39'eina_inarray_03',
40'eina_magic_01',
41'eina_xattr_01',
42'eina_xattr_02'
43]
44
45foreach example : examples
46 executable(example, example + '.c', dependencies: eina)
47endforeach
diff --git a/src/examples/eio/meson.build b/src/examples/eio/meson.build
new file mode 100644
index 0000000000..6524a75840
--- /dev/null
+++ b/src/examples/eio/meson.build
@@ -0,0 +1,15 @@
1files = [
2 'efl_io_manager_ls',
3 'efl_io_manager_open',
4 'efl_io_manager_open_multi',
5 'eio_file_copy',
6 'eio_file_ls',
7 'eio_sentry'
8]
9
10foreach file : files
11 executable(file,
12 file + '.c',
13 dependencies: [ecore, eio],
14 )
15endforeach \ No newline at end of file
diff --git a/src/examples/eldbus/meson.build b/src/examples/eldbus/meson.build
new file mode 100644
index 0000000000..db4dadafcb
--- /dev/null
+++ b/src/examples/eldbus/meson.build
@@ -0,0 +1,17 @@
1examples = [
2 'connman-list-services',
3 'ofono-dial',
4 'banshee',
5 'complex-types',
6 'complex-types-server',
7 'server',
8 'client',
9 'simple-signal-emit',
10 'complex-types-client-eina-value',
11 'connect-address',
12 'dbusmodel',
13]
14
15foreach example : examples
16 executable(example, example + '.c', dependencies: [eldbus, ecore])
17endforeach
diff --git a/src/examples/emile/meson.build b/src/examples/emile/meson.build
new file mode 100644
index 0000000000..c628f08ccc
--- /dev/null
+++ b/src/examples/emile/meson.build
@@ -0,0 +1,7 @@
1examples = [
2 'emile_base64'
3]
4
5foreach example : examples
6 executable(example, example + '.c', dependencies: emile)
7endforeach
diff --git a/src/examples/emotion/meson.build b/src/examples/emotion/meson.build
new file mode 100644
index 0000000000..3a7b46b055
--- /dev/null
+++ b/src/examples/emotion/meson.build
@@ -0,0 +1,14 @@
1files = [
2 'emotion_basic_example',
3 'emotion_border_example',
4 'emotion_generic_example',
5 'emotion_generic_subtitle_example',
6 'emotion_signals_example',
7]
8
9foreach file : files
10 executable(file,
11 file + '.c',
12 dependencies: [emotion, evas, ecore_evas, ecore],
13 )
14endforeach \ No newline at end of file
diff --git a/src/examples/ethumb_client/meson.build b/src/examples/ethumb_client/meson.build
new file mode 100644
index 0000000000..d6456027a2
--- /dev/null
+++ b/src/examples/ethumb_client/meson.build
@@ -0,0 +1,10 @@
1files = [
2 'ethumb_dbus'
3]
4
5foreach file : files
6 executable(file,
7 file + '.c',
8 dependencies: [ethumb, ethumb_client, ecore, eina],
9 )
10endforeach \ No newline at end of file
diff --git a/src/examples/evas/meson.build b/src/examples/evas/meson.build
new file mode 100644
index 0000000000..c07587dec6
--- /dev/null
+++ b/src/examples/evas/meson.build
@@ -0,0 +1,57 @@
1examples = [
2 'evas-3d-aabb',
3 'evas-3d-blending',
4 'evas-3d-colorpick',
5 'evas-3d-cube2',
6 'evas-3d-cube',
7 'evas-3d-cube-rotate',
8 'evas-3d-eet',
9 'evas-3d-fog',
10 'evas-3d-frustum',
11 'evas-3d-hull',
12 'evas-3d-md2',
13 'evas-3d-mmap-set',
14 'evas-3d-obj',
15 'evas-3d-parallax-occlusion',
16 'evas-3d-pick',
17 'evas-3d-ply',
18 'evas-3d-proxy',
19 'evas-3d-shadows',
20 'evas-3d-static-lod',
21 #'evas-aspect-hints',
22 'evas-box',
23 'evas-buffer-simple',
24 'evas-event-filter',
25 'evas-events',
26 'evas-gl',
27 'evas-hints',
28 'evas-images2',
29 'evas-images3',
30 'evas-images4',
31 'evas-images5',
32 'evas-images',
33 'evas-init-shutdown',
34 'evas-map-aa',
35 'evas-map-aa-eo',
36 'evas-map-utils',
37 'evas-map-utils-eo',
38 'evas-multiseat-events',
39 'evas-multi-touch',
40 'evas-object-manipulation',
41 'evas-object-manipulation-eo',
42 'evas-smart-interface',
43 'evas-smart-object',
44 'evas-stacking',
45 'evas-table',
46 'evas-textblock-obstacles',
47 'evas-text',
48 'evas-transparent',
49 'evas-vg-batman',
50 'evas-vg-simple',
51]
52
53foreach example : examples
54 executable(example, example + '.c',
55 dependencies: [eina, ecore_evas, ecore_file, m],
56 c_args : ['-DPACKAGE_EXAMPLES_DIR="'+meson.current_source_dir()+'"'])
57endforeach