diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-08-12 15:26:29 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-10-02 17:22:50 +0200 |
commit | 46d464e5bfc10398461a33a2256c1c58d509dd1a (patch) | |
tree | 8c1a9272c05f14033a4430bc122632461bd73608 /src | |
parent | 70ecf1056bb4be5a68b63044f938ccc2fe0a58c0 (diff) |
here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min..
1 min. conf time
2:30 min. build time
Where autotools takes:
1:50 min. conf time
3:40 min. build time.
meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read.
Further informations can be gathered from the README.meson
Right now, bindings & windows support are missing.
It is highly recommented to use meson 0.48 due to optimizations in meson
that reduced the time the meson call would need.
Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7012
Depends on D7011
Diffstat (limited to '')
233 files changed, 8552 insertions, 0 deletions
diff --git a/src/benchmarks/eina/meson.build b/src/benchmarks/eina/meson.build new file mode 100644 index 0000000000..aa9081cef2 --- /dev/null +++ b/src/benchmarks/eina/meson.build | |||
@@ -0,0 +1,41 @@ | |||
1 | eina_bench_src = files( | ||
2 | 'eina_bench.c', | ||
3 | 'eina_bench_sort.c', | ||
4 | 'eina_bench_hash.c', | ||
5 | 'eina_bench_crc_hash.c', | ||
6 | 'eina_bench_stringshare.c', | ||
7 | 'eina_bench_convert.c', | ||
8 | 'eina_bench_mempool.c', | ||
9 | 'eina_bench_stringshare_e17.c', | ||
10 | 'eina_bench_array.c', | ||
11 | 'eina_bench_rectangle_pool.c', | ||
12 | 'ecore_list.c', | ||
13 | 'ecore_strings.c', | ||
14 | 'ecore_hash.c', | ||
15 | 'ecore_sheap.c', | ||
16 | 'evas_hash.c', | ||
17 | 'evas_list.c', | ||
18 | 'evas_mempool.c', | ||
19 | 'evas_object_list.c', | ||
20 | 'evas_stringshare.c', | ||
21 | 'eina_bench_quad.c', | ||
22 | 'eina_bench.h', | ||
23 | 'Ecore_Data.h', | ||
24 | 'Evas_Data.h', | ||
25 | 'evas_mempool.h') | ||
26 | |||
27 | city = shared_library('city', | ||
28 | sources : ['city.cc','city.h'], | ||
29 | ) | ||
30 | |||
31 | eina_bench = executable('eina_bench', | ||
32 | sources : eina_bench_src, | ||
33 | dependencies : eina, | ||
34 | c_args : ['-fPIC','-DCITYHASH_BENCH', '-DEINA_ENABLE_BENCH_E17'], | ||
35 | include_directories : config_dir, | ||
36 | link_with : city, | ||
37 | ) | ||
38 | |||
39 | benchmark('eina_bench', eina_bench, | ||
40 | timeout : 20*60 | ||
41 | ) \ No newline at end of file | ||
diff --git a/src/benchmarks/eo/meson.build b/src/benchmarks/eo/meson.build new file mode 100644 index 0000000000..2df6c71e97 --- /dev/null +++ b/src/benchmarks/eo/meson.build | |||
@@ -0,0 +1,16 @@ | |||
1 | eo_benchmark_src = [ | ||
2 | 'class_simple.c', | ||
3 | 'class_simple.h', | ||
4 | 'eo_bench.c', | ||
5 | 'eo_bench.h', | ||
6 | 'eo_bench_callbacks.c', | ||
7 | 'eo_bench_eo_do.c', | ||
8 | 'eo_bench_eo_add.c' | ||
9 | ] | ||
10 | |||
11 | eo_bench = executable('eo_bench', | ||
12 | eo_benchmark_src, | ||
13 | dependencies: [eo, eina], | ||
14 | ) | ||
15 | |||
16 | benchmark('eo', eo_bench) | ||
diff --git a/src/bin/ecore_buffer/meson.build b/src/bin/ecore_buffer/meson.build new file mode 100644 index 0000000000..86ee20a872 --- /dev/null +++ b/src/bin/ecore_buffer/meson.build | |||
@@ -0,0 +1,5 @@ | |||
1 | executable('bq_mgr', | ||
2 | ['bq_mgr_protocol.c', 'bq_mgr.c'], | ||
3 | dependencies: [ecore, ecore_buffer, ecore_buffer_deps], | ||
4 | install : true | ||
5 | ) | ||
diff --git a/src/bin/ecore_con/meson.build b/src/bin/ecore_con/meson.build new file mode 100644 index 0000000000..d8d33dcd4d --- /dev/null +++ b/src/bin/ecore_con/meson.build | |||
@@ -0,0 +1,6 @@ | |||
1 | executable('efl_net_proxy_helper', | ||
2 | 'efl_net_proxy_helper.c', | ||
3 | dependencies : [ecore_con], | ||
4 | install : true, | ||
5 | install_dir : join_paths(dir_lib, 'ecore_con', 'utils', version_name) | ||
6 | ) | ||
diff --git a/src/bin/ecore_evas/meson.build b/src/bin/ecore_evas/meson.build new file mode 100644 index 0000000000..42d74bd5ab --- /dev/null +++ b/src/bin/ecore_evas/meson.build | |||
@@ -0,0 +1,11 @@ | |||
1 | executable('ecore_evas_convert', | ||
2 | 'ecore_evas_convert.c', | ||
3 | dependencies : [eina, ecore, evas, ecore_evas], | ||
4 | install : true | ||
5 | ) | ||
6 | |||
7 | executable('eetpack', | ||
8 | 'eetpack.c', | ||
9 | dependencies : [eina, eet, evas, ecore_evas], | ||
10 | install : true | ||
11 | ) | ||
diff --git a/src/bin/edje/epp/meson.build b/src/bin/edje/epp/meson.build new file mode 100644 index 0000000000..bbe7e99a6d --- /dev/null +++ b/src/bin/edje/epp/meson.build | |||
@@ -0,0 +1,38 @@ | |||
1 | epp_src = [ | ||
2 | 'cpplib.h', | ||
3 | 'cpphash.h', | ||
4 | 'cppalloc.c', | ||
5 | 'cpperror.c', | ||
6 | 'cppexp.c', | ||
7 | 'cpphash.c', | ||
8 | 'cpplib.c', | ||
9 | 'cppmain.c' | ||
10 | ] | ||
11 | |||
12 | epp = executable('epp', | ||
13 | epp_src, | ||
14 | dependencies: eolian, | ||
15 | install: true, | ||
16 | install_dir : join_paths(dir_lib, 'edje', 'utils', version_name), | ||
17 | c_args : [ | ||
18 | package_c_args, | ||
19 | '-DHAVE_CONFIG_H', | ||
20 | '-DHAVE_STRERROR', | ||
21 | '-DFATAL_EXIT_CODE=1', | ||
22 | '-DSUCCESS_EXIT_CODE=0', | ||
23 | '-DGCC_INCLUDE_DIR="/usr/include"', | ||
24 | '-DGPLUSPLUS_INCLUDE_DIR="/usr/include"', | ||
25 | '-DTOOL_INCLUDE_DIR="/usr/bin"', | ||
26 | '-DHOST_BITS_PER_LONG=32', | ||
27 | '-DBITS_PER_UNIT=8', | ||
28 | '-DHOST_BITS_PER_INT=32', | ||
29 | '-DBITS_PER_WORD=16', | ||
30 | '-DTARGET_BELL=7', | ||
31 | '-DTARGET_BS=8', | ||
32 | '-DTARGET_FF=12', | ||
33 | '-DTARGET_NEWLINE=10', | ||
34 | '-DTARGET_CR=13', | ||
35 | '-DTARGET_TAB=9', | ||
36 | '-DTARGET_VT=11' | ||
37 | ], | ||
38 | ) | ||
diff --git a/src/bin/edje/meson.build b/src/bin/edje/meson.build new file mode 100644 index 0000000000..c7e5f397c2 --- /dev/null +++ b/src/bin/edje/meson.build | |||
@@ -0,0 +1,87 @@ | |||
1 | subdir('epp') | ||
2 | |||
3 | edje_bin_deps = [ | ||
4 | eina, eo, efl, m, | ||
5 | luajit, eet, evas, | ||
6 | ecore_file, ecore_input, | ||
7 | ecore_imf, ecore_imf_evas, | ||
8 | embryo, efreet, eio, | ||
9 | edje, ecore_evas | ||
10 | ] | ||
11 | |||
12 | edje_cc_src = [ | ||
13 | 'edje_multisense_convert.h', | ||
14 | 'edje_cc.h', | ||
15 | 'edje_cc.c', | ||
16 | 'edje_cc_out.c', | ||
17 | 'edje_cc_parse.c', | ||
18 | 'edje_cc_mem.c', | ||
19 | 'edje_cc_handlers.c', | ||
20 | 'edje_cc_sources.c', | ||
21 | 'edje_cc_script.c', | ||
22 | 'edje_multisense_convert.c' | ||
23 | ] | ||
24 | |||
25 | edje_cc = executable('edje_cc', | ||
26 | edje_cc_src, | ||
27 | dependencies: [edje_bin_deps, eet, ecore_evas, ecore_file], | ||
28 | install: true, | ||
29 | c_args : package_c_args, | ||
30 | link_args : bin_linker_args | ||
31 | ) | ||
32 | |||
33 | edje_decc_src = [ | ||
34 | 'edje_decc.c', | ||
35 | 'edje_decc.h', | ||
36 | 'edje_cc_mem.c', | ||
37 | 'edje_cc_sources.c', | ||
38 | ] | ||
39 | |||
40 | edje_decc = executable('edje_decc', | ||
41 | edje_decc_src, | ||
42 | dependencies: [edje_bin_deps, eet, ecore_file, ecore_evas], | ||
43 | install: true, | ||
44 | c_args : package_c_args, | ||
45 | ) | ||
46 | |||
47 | edje_player = executable('edje_player', | ||
48 | 'edje_player.c', | ||
49 | dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas], | ||
50 | install: true, | ||
51 | c_args : package_c_args, | ||
52 | ) | ||
53 | |||
54 | edje_inspector = executable('edje_inspector', | ||
55 | 'edje_inspector.c', | ||
56 | dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas], | ||
57 | install: true, | ||
58 | c_args : package_c_args, | ||
59 | ) | ||
60 | |||
61 | edje_external_inspector = executable('edje_external_inspector', | ||
62 | 'edje_external_inspector.c', | ||
63 | dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas], | ||
64 | install: true, | ||
65 | c_args : package_c_args, | ||
66 | ) | ||
67 | |||
68 | edje_codegen = executable('edje_codegen', | ||
69 | 'edje_codegen.c', | ||
70 | dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas], | ||
71 | install: true, | ||
72 | c_args : package_c_args, | ||
73 | ) | ||
74 | |||
75 | edje_pick = executable('edje_pick', | ||
76 | 'edje_pick.c', | ||
77 | dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas], | ||
78 | install: true, | ||
79 | c_args : package_c_args, | ||
80 | ) | ||
81 | |||
82 | edje_watch = executable('edje_watch', | ||
83 | 'edje_watch.c', | ||
84 | dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas], | ||
85 | install: true, | ||
86 | c_args : package_c_args, | ||
87 | ) | ||
diff --git a/src/bin/eet/meson.build b/src/bin/eet/meson.build new file mode 100644 index 0000000000..bde68b6ef6 --- /dev/null +++ b/src/bin/eet/meson.build | |||
@@ -0,0 +1,10 @@ | |||
1 | eet_bin = executable('eet', | ||
2 | 'eet_main.c', | ||
3 | dependencies: [eet], | ||
4 | install : true | ||
5 | ) | ||
6 | |||
7 | install_data(['diffeet','vieet'], | ||
8 | install_mode: 'rwxr--r--', | ||
9 | install_dir : dir_bin | ||
10 | ) | ||
diff --git a/src/bin/eeze/meson.build b/src/bin/eeze/meson.build new file mode 100644 index 0000000000..2bb4370bdd --- /dev/null +++ b/src/bin/eeze/meson.build | |||
@@ -0,0 +1,10 @@ | |||
1 | eeze_bins = ['disk_ls', 'mount', 'scanner', 'scanner_monitor', 'umount'] | ||
2 | |||
3 | foreach eeze_bin : eeze_bins | ||
4 | src_file = join_paths('eeze_'+eeze_bin, 'eeze_'+eeze_bin+'.c') | ||
5 | tmp = executable('eeze_'+eeze_bin, src_file, | ||
6 | dependencies: [ecore, eeze, ecore_con, ecore_file, eet], | ||
7 | install: true, | ||
8 | ) | ||
9 | set_variable('eeze_'+eeze_bin, tmp) | ||
10 | endforeach | ||
diff --git a/src/bin/efl/meson.build b/src/bin/efl/meson.build new file mode 100644 index 0000000000..d65d22c6f5 --- /dev/null +++ b/src/bin/efl/meson.build | |||
@@ -0,0 +1,10 @@ | |||
1 | executable('efl_debug', | ||
2 | 'efl_debug.c', | ||
3 | dependencies: [eina, ecore], | ||
4 | install: true, | ||
5 | ) | ||
6 | executable('efl_debugd', | ||
7 | 'efl_debugd.c', | ||
8 | dependencies: [eina, ecore, ecore_con], | ||
9 | install: true, | ||
10 | ) | ||
diff --git a/src/bin/efl_wl/meson.build b/src/bin/efl_wl/meson.build new file mode 100644 index 0000000000..5f0d655cb0 --- /dev/null +++ b/src/bin/efl_wl/meson.build | |||
@@ -0,0 +1,11 @@ | |||
1 | executable('efl_wl_test', | ||
2 | 'efl_wl_test.c', | ||
3 | include_directories : config_dir, | ||
4 | dependencies: [efl_wl, elementary] | ||
5 | ) | ||
6 | |||
7 | executable('efl_wl_test_stack', | ||
8 | 'efl_wl_test_stack.c', | ||
9 | include_directories : config_dir, | ||
10 | dependencies: [efl_wl, elementary] | ||
11 | ) | ||
diff --git a/src/bin/efreet/meson.build b/src/bin/efreet/meson.build new file mode 100644 index 0000000000..4c7bf5efb5 --- /dev/null +++ b/src/bin/efreet/meson.build | |||
@@ -0,0 +1,41 @@ | |||
1 | efreetd_src = [ | ||
2 | 'efreetd.c', | ||
3 | 'efreetd.h', | ||
4 | 'efreetd_ipc.h', | ||
5 | 'efreetd_ipc.c', | ||
6 | 'efreetd_cache.h', | ||
7 | 'efreetd_cache.c' | ||
8 | ] | ||
9 | |||
10 | config_h.set('STRICT_SPEC', '1') | ||
11 | |||
12 | efreetd = executable('efreetd', | ||
13 | efreetd_src, | ||
14 | dependencies: [efreet, ecore, ecore_ipc, ecore_file, eio], | ||
15 | install: true, | ||
16 | c_args : package_c_args, | ||
17 | ) | ||
18 | |||
19 | efreet_desktop_cache_create = executable('efreet_desktop_cache_create', | ||
20 | 'efreet_desktop_cache_create.c', | ||
21 | dependencies: [efreet, ecore, eet, ecore_file], | ||
22 | install: true, | ||
23 | install_dir : join_paths(dir_lib, 'efreet', version_name), | ||
24 | c_args : package_c_args, | ||
25 | ) | ||
26 | |||
27 | efreet_icon_cache_create = executable('efreet_icon_cache_create', | ||
28 | 'efreet_icon_cache_create.c', | ||
29 | dependencies: [efreet, ecore, eet, ecore_file], | ||
30 | install: true, | ||
31 | install_dir : join_paths(dir_lib, 'efreet', version_name), | ||
32 | c_args : package_c_args, | ||
33 | ) | ||
34 | |||
35 | efreet_mime_cache_create = executable('efreet_mime_cache_create', | ||
36 | 'efreet_mime_cache_create.c', | ||
37 | dependencies: [efreet, ecore, eet, ecore_file], | ||
38 | install: true, | ||
39 | install_dir : join_paths(dir_lib, 'efreet', version_name), | ||
40 | c_args : package_c_args, | ||
41 | ) | ||
diff --git a/src/bin/eina/eina_btlog/meson.build b/src/bin/eina/eina_btlog/meson.build new file mode 100644 index 0000000000..3d56f9cfbf --- /dev/null +++ b/src/bin/eina/eina_btlog/meson.build | |||
@@ -0,0 +1,5 @@ | |||
1 | executable('eina_btlog', | ||
2 | 'eina_btlog.c', | ||
3 | dependencies: eina, | ||
4 | install: true, | ||
5 | ) | ||
diff --git a/src/bin/eina/eina_modinfo/meson.build b/src/bin/eina/eina_modinfo/meson.build new file mode 100644 index 0000000000..a57dc6fc42 --- /dev/null +++ b/src/bin/eina/eina_modinfo/meson.build | |||
@@ -0,0 +1,5 @@ | |||
1 | executable('eina_modinfo', | ||
2 | 'eina_modinfo.c', | ||
3 | dependencies: eina, | ||
4 | install: true, | ||
5 | ) | ||
diff --git a/src/bin/eina/meson.build b/src/bin/eina/meson.build new file mode 100644 index 0000000000..7c5f64b950 --- /dev/null +++ b/src/bin/eina/meson.build | |||
@@ -0,0 +1,2 @@ | |||
1 | subdir('eina_btlog') | ||
2 | subdir('eina_modinfo') | ||
diff --git a/src/bin/eldbus/meson.build b/src/bin/eldbus/meson.build new file mode 100644 index 0000000000..b9c7356c46 --- /dev/null +++ b/src/bin/eldbus/meson.build | |||
@@ -0,0 +1,13 @@ | |||
1 | eldbus_codegen_src = [ | ||
2 | 'codegen.h', | ||
3 | 'utils.c', | ||
4 | 'parser.c', | ||
5 | 'dbus.c', | ||
6 | 'source_client.c', | ||
7 | 'client.c' | ||
8 | ] | ||
9 | executable('eldbus-codegen', | ||
10 | eldbus_codegen_src, | ||
11 | dependencies: [eldbus, ecore], | ||
12 | install: true, | ||
13 | ) | ||
diff --git a/src/bin/elementary/meson.build b/src/bin/elementary/meson.build new file mode 100644 index 0000000000..58f82c1925 --- /dev/null +++ b/src/bin/elementary/meson.build | |||
@@ -0,0 +1,228 @@ | |||
1 | elementary_test_src = [ | ||
2 | 'test.c', | ||
3 | 'test_explode.c', | ||
4 | 'test_explode.h', | ||
5 | 'test_3d.c', | ||
6 | 'test_access.c', | ||
7 | 'test_actionslider.c', | ||
8 | 'test_anim.c', | ||
9 | 'test_bg.c', | ||
10 | 'test_box.c', | ||
11 | 'test_bubble.c', | ||
12 | 'test_button.c', | ||
13 | 'test_ui_button.c', | ||
14 | 'test_calendar.c', | ||
15 | 'test_check.c', | ||
16 | 'test_clock.c', | ||
17 | 'test_cnp.c', | ||
18 | 'test_code.c', | ||
19 | 'test_colorselector.c', | ||
20 | 'test_colorclass.c', | ||
21 | 'test_combobox.c', | ||
22 | 'test_config.c', | ||
23 | 'test_conform.c', | ||
24 | 'test_conform_indicator.c', | ||
25 | 'test_ctxpopup.c', | ||
26 | 'test_cursor.c', | ||
27 | 'test_datetime.c', | ||
28 | 'test_dayselector.c', | ||
29 | 'test_disable.c', | ||
30 | 'test_diskselector.c', | ||
31 | 'test_dnd.c', | ||
32 | 'test_efl_anim_alpha.c', | ||
33 | 'test_efl_anim_rotate.c', | ||
34 | 'test_efl_anim_scale.c', | ||
35 | 'test_efl_anim_translate.c', | ||
36 | 'test_efl_anim_group_parallel.c', | ||
37 | 'test_efl_anim_group_sequential.c', | ||
38 | 'test_efl_anim_event_anim.c', | ||
39 | 'test_efl_anim_pause.c', | ||
40 | 'test_efl_anim_repeat.c', | ||
41 | 'test_efl_anim_start_delay.c', | ||
42 | 'test_efl_anim_interpolator.c', | ||
43 | 'test_eio.c', | ||
44 | 'test_entry.c', | ||
45 | 'test_entry_anchor.c', | ||
46 | 'test_entry_anchor2.c', | ||
47 | 'test_events.c', | ||
48 | 'test_evas_mask.c', | ||
49 | 'test_evas_map.c', | ||
50 | 'test_efl_gfx_map.c', | ||
51 | 'test_evas_snapshot.c', | ||
52 | 'test_external.c', | ||
53 | 'test_fileselector_button.c', | ||
54 | 'test_fileselector.c', | ||
55 | 'test_fileselector_entry.c', | ||
56 | 'test_flip.c', | ||
57 | 'test_flip_page.c', | ||
58 | 'test_flip_page_eo.c', | ||
59 | 'test_flipselector.c', | ||
60 | 'test_floating.c', | ||
61 | 'test_focus.c', | ||
62 | 'test_focus_custom_chain.c', | ||
63 | 'test_focus_policy.c', | ||
64 | 'test_focus_style.c', | ||
65 | 'test_gengrid.c', | ||
66 | 'test_genlist.c', | ||
67 | 'test_gesture_layer.c', | ||
68 | 'test_gesture_layer2.c', | ||
69 | 'test_gesture_layer3.c', | ||
70 | 'test_gfx_filters.c', | ||
71 | 'test_glview_simple.c', | ||
72 | 'test_glview.c', | ||
73 | 'test_glview_manygears.c', | ||
74 | 'test_grid.c', | ||
75 | 'test_ui_table_static.c', | ||
76 | 'test_ui_stack.c', | ||
77 | 'test_hover.c', | ||
78 | 'test_hoversel.c', | ||
79 | 'test_icon.c', | ||
80 | 'test_icon_desktops.c', | ||
81 | 'test_icon_animated.c', | ||
82 | 'test_image.c', | ||
83 | 'test_index.c', | ||
84 | 'test_inwin.c', | ||
85 | 'test_label.c', | ||
86 | 'test_launcher.c', | ||
87 | 'test_layout.c', | ||
88 | 'test_list.c', | ||
89 | 'test_map.c', | ||
90 | 'test_main_menu.c', | ||
91 | 'test_menu.c', | ||
92 | 'test_multi.c', | ||
93 | 'test_multibuttonentry.c', | ||
94 | 'test_naviframe.c', | ||
95 | 'test_naviframe_complex.c', | ||
96 | 'test_notify.c', | ||
97 | 'test_nstate.c', | ||
98 | 'test_panel.c', | ||
99 | 'test_panes.c', | ||
100 | 'test_ui_panes.c', | ||
101 | 'test_part_bg.c', | ||
102 | 'test_part_shadow.c', | ||
103 | 'test_photo.c', | ||
104 | 'test_photocam.c', | ||
105 | 'test_popup.c', | ||
106 | 'test_prefs.c', | ||
107 | 'test_progressbar.c', | ||
108 | 'test_ui_progressbar.c', | ||
109 | 'test_radio.c', | ||
110 | 'test_scaling.c', | ||
111 | 'test_scroller.c', | ||
112 | 'test_ui_scroller.c', | ||
113 | 'test_segment_control.c', | ||
114 | 'test_separator.c', | ||
115 | 'test_slider.c', | ||
116 | 'test_ui_slider.c', | ||
117 | 'test_ui_slider_interval.c', | ||
118 | 'test_ui_spin.c', | ||
119 | 'test_ui_spin_button.c', | ||
120 | 'test_ui_datepicker.c', | ||
121 | 'test_ui_timepicker.c', | ||
122 | 'test_ui_tags.c', | ||
123 | 'test_slideshow.c', | ||
124 | 'test_spinner.c', | ||
125 | 'test_store.c', | ||
126 | 'test_sys_notify.c', | ||
127 | 'test_systray.c', | ||
128 | 'test_table.c', | ||
129 | 'test_thumb.c', | ||
130 | 'test_toolbar.c', | ||
131 | 'test_tooltip.c', | ||
132 | 'test_transit.c', | ||
133 | 'test_transit_bezier.c', | ||
134 | 'test_ui_box.c', | ||
135 | 'test_ui_clock.c', | ||
136 | 'test_ui_table.c', | ||
137 | 'test_ui_popup.c', | ||
138 | 'test_ui_textpath.c', | ||
139 | 'test_video.c', | ||
140 | 'test_weather.c', | ||
141 | 'test_web.c', | ||
142 | 'test_win_inline.c', | ||
143 | 'test_win_keygrab.c', | ||
144 | 'test_win_socket.c', | ||
145 | 'test_win_plug.c', | ||
146 | 'test_win_state.c', | ||
147 | 'test_win_wm_rotation.c', | ||
148 | 'test_win_dialog.c', | ||
149 | 'test_win_modal.c', | ||
150 | 'test_efl_ui_text.c', | ||
151 | 'test_win_stack.c', | ||
152 | 'test_win_indicator.c', | ||
153 | 'test_gesture_framework.c', | ||
154 | 'test_ui_tab_pager.c', | ||
155 | 'test.h' | ||
156 | ] | ||
157 | |||
158 | elementary_test = executable('elementary_test', | ||
159 | elementary_test_src, | ||
160 | dependencies: [elementary] + elementary_deps + elementary_pub_deps, | ||
161 | install: true, | ||
162 | c_args : package_c_args + [ | ||
163 | '-Delementary_test_BIN_DIR="'+dir_bin+'"', | ||
164 | '-Delementary_test_LIB_DIR="'+dir_lib+'"', | ||
165 | '-Delementary_test_DATA_DIR="'+join_paths(dir_data,'elementary')+'"' | ||
166 | ] | ||
167 | ) | ||
168 | |||
169 | elementary_config_src = [ | ||
170 | 'config.c' | ||
171 | ] | ||
172 | |||
173 | elementary_config = executable('elementary_config', | ||
174 | elementary_config_src, | ||
175 | dependencies: [elementary] + elementary_deps + elementary_pub_deps, | ||
176 | install: true, | ||
177 | c_args : package_c_args, | ||
178 | ) | ||
179 | |||
180 | elementary_quicklaunch_src = [ | ||
181 | 'quicklaunch.c' | ||
182 | ] | ||
183 | |||
184 | elementary_quicklaunch = executable('elementary_quicklaunch', | ||
185 | elementary_quicklaunch_src, | ||
186 | dependencies: [elementary] + elementary_deps + elementary_pub_deps, | ||
187 | install: true, | ||
188 | c_args : package_c_args, | ||
189 | ) | ||
190 | |||
191 | elementary_codegen_src = [ | ||
192 | 'elementary_codegen.c' | ||
193 | ] | ||
194 | |||
195 | elementary_codegen = executable('elementary_codegen', | ||
196 | elementary_codegen_src, | ||
197 | dependencies: [elementary] + elementary_deps + elementary_pub_deps, | ||
198 | install: true, | ||
199 | c_args : package_c_args, | ||
200 | ) | ||
201 | |||
202 | elm_prefs_cc_src = [ | ||
203 | 'elm_prefs_cc.h', | ||
204 | 'elm_prefs_cc.c', | ||
205 | 'elm_prefs_cc_mem.c', | ||
206 | 'elm_prefs_cc_out.c', | ||
207 | 'elm_prefs_cc_parse.c', | ||
208 | 'elm_prefs_cc_handlers.c' | ||
209 | |||
210 | ] | ||
211 | |||
212 | elm_prefs_cc = executable('elm_prefs_cc', | ||
213 | elm_prefs_cc_src, | ||
214 | dependencies: [elementary] + elementary_deps + elementary_pub_deps, | ||
215 | install: true, | ||
216 | c_args : package_c_args, | ||
217 | ) | ||
218 | |||
219 | elementary_run_src = [ | ||
220 | 'run.c' | ||
221 | ] | ||
222 | |||
223 | elementary_run = executable('elementary_run', | ||
224 | elementary_run_src, | ||
225 | dependencies: [elementary] + elementary_deps + elementary_pub_deps, | ||
226 | install: true, | ||
227 | c_args : package_c_args, | ||
228 | ) | ||
diff --git a/src/bin/elua/meson.build b/src/bin/elua/meson.build new file mode 100644 index 0000000000..3a4908d754 --- /dev/null +++ b/src/bin/elua/meson.build | |||
@@ -0,0 +1,5 @@ | |||
1 | executable('elua', | ||
2 | 'main.c', | ||
3 | dependencies: [eina, ecore, elua, intl], | ||
4 | install: true, | ||
5 | ) | ||
diff --git a/src/bin/embryo/meson.build b/src/bin/embryo/meson.build new file mode 100644 index 0000000000..1e8e3e3582 --- /dev/null +++ b/src/bin/embryo/meson.build | |||
@@ -0,0 +1,24 @@ | |||
1 | embryo_cc_src = [ | ||
2 | 'embryo_cc_amx.h', | ||
3 | 'embryo_cc_osdefs.h', | ||
4 | 'embryo_cc_sc.h', | ||
5 | 'embryo_cc_sc1.c', | ||
6 | 'embryo_cc_sc2.c', | ||
7 | 'embryo_cc_sc3.c', | ||
8 | 'embryo_cc_sc4.c', | ||
9 | 'embryo_cc_sc5.c', | ||
10 | 'embryo_cc_sc6.c', | ||
11 | 'embryo_cc_sc7.c', | ||
12 | 'embryo_cc_scexpand.c', | ||
13 | 'embryo_cc_sclist.c', | ||
14 | 'embryo_cc_scvars.c', | ||
15 | 'embryo_cc_prefix.c', | ||
16 | 'embryo_cc_prefix.h' | ||
17 | ] | ||
18 | |||
19 | embryo_cc = executable('embryo_cc', | ||
20 | embryo_cc_src, | ||
21 | dependencies: [embryo, m, buildsystem], | ||
22 | install: true, | ||
23 | c_args : package_c_args, | ||
24 | ) | ||
diff --git a/src/bin/eolian/meson.build b/src/bin/eolian/meson.build new file mode 100644 index 0000000000..2104676f3e --- /dev/null +++ b/src/bin/eolian/meson.build | |||
@@ -0,0 +1,19 @@ | |||
1 | eolian_gen_src = [ | ||
2 | 'main.c', | ||
3 | 'main.h', | ||
4 | 'types.c', | ||
5 | 'types.h', | ||
6 | 'headers.c', | ||
7 | 'headers.h', | ||
8 | 'sources.c', | ||
9 | 'sources.h', | ||
10 | 'docs.c', | ||
11 | 'docs.h' | ||
12 | ] | ||
13 | |||
14 | eolian_gen = executable('eolian_gen', | ||
15 | eolian_gen_src, | ||
16 | dependencies: eolian, | ||
17 | install: true, | ||
18 | c_args : package_c_args, | ||
19 | ) | ||
diff --git a/src/bin/ethumb/meson.build b/src/bin/ethumb/meson.build new file mode 100644 index 0000000000..5e89aa3e9d --- /dev/null +++ b/src/bin/ethumb/meson.build | |||
@@ -0,0 +1,6 @@ | |||
1 | ethumb_bin = executable('ethumb', | ||
2 | 'ethumb.c', | ||
3 | dependencies: [ecore, ethumb], | ||
4 | install: true, | ||
5 | c_args : package_c_args, | ||
6 | ) | ||
diff --git a/src/bin/ethumb_client/meson.build b/src/bin/ethumb_client/meson.build new file mode 100644 index 0000000000..243e5699af --- /dev/null +++ b/src/bin/ethumb_client/meson.build | |||
@@ -0,0 +1,24 @@ | |||
1 | ethumbd = executable('ethumbd', | ||
2 | 'ethumbd.c', | ||
3 | install: true, | ||
4 | dependencies : [ecore, ethumb, ethumb_client, ecore, eldbus], | ||
5 | include_directories : config_dir, | ||
6 | c_args : package_c_args, | ||
7 | ) | ||
8 | |||
9 | ethumbd_client = executable('ethumbd_client', | ||
10 | 'ethumbd_client.c', | ||
11 | install: true, | ||
12 | dependencies : [ecore, ethumb, ethumb_client, ecore], | ||
13 | include_directories : config_dir, | ||
14 | c_args : package_c_args, | ||
15 | ) | ||
16 | |||
17 | ethumbd_slave = executable('ethumbd_slave', | ||
18 | 'ethumbd_slave.c', | ||
19 | install: true, | ||
20 | install_dir : join_paths(dir_lib, 'ethumb_client', 'utils', version_name), | ||
21 | dependencies : [ecore, ethumb, ethumb_client, ecore], | ||
22 | include_directories : config_dir, | ||
23 | c_args : package_c_args, | ||
24 | ) | ||
diff --git a/src/bindings/luajit/meson.build b/src/bindings/luajit/meson.build new file mode 100644 index 0000000000..a1dd6463ea --- /dev/null +++ b/src/bindings/luajit/meson.build | |||
@@ -0,0 +1,7 @@ | |||
1 | install_subdir('eina', | ||
2 | install_dir : join_paths(dir_data, 'elua', 'modules') | ||
3 | ) | ||
4 | |||
5 | install_data(files(['eo.lua', 'eolian.lua']), | ||
6 | install_dir : join_paths(dir_data, 'elua', 'modules') | ||
7 | ) | ||
diff --git a/src/edje_external/elementary/meson.build b/src/edje_external/elementary/meson.build new file mode 100644 index 0000000000..383ab77d8b --- /dev/null +++ b/src/edje_external/elementary/meson.build | |||
@@ -0,0 +1,50 @@ | |||
1 | edje_external_elementary = [ | ||
2 | 'private.h', | ||
3 | 'elm.c', | ||
4 | 'elm_actionslider.c', | ||
5 | 'elm_bg.c', | ||
6 | 'elm_bubble.c', | ||
7 | 'elm_button.c', | ||
8 | 'elm_calendar.c', | ||
9 | 'elm_check.c', | ||
10 | 'elm_clock.c', | ||
11 | 'elm_combobox.c', | ||
12 | 'elm_entry.c', | ||
13 | 'elm_fileselector.c', | ||
14 | 'elm_fileselector_button.c', | ||
15 | 'elm_fileselector_entry.c', | ||
16 | 'elm_frame.c', | ||
17 | 'elm_gengrid.c', | ||
18 | 'elm_genlist.c', | ||
19 | 'elm_hoversel.c', | ||
20 | 'elm_icon.c', | ||
21 | 'elm_index.c', | ||
22 | 'elm_label.c', | ||
23 | 'elm_list.c', | ||
24 | 'elm_map.c', | ||
25 | 'elm_multibuttonentry.c', | ||
26 | 'elm_naviframe.c', | ||
27 | 'elm_notify.c', | ||
28 | 'elm_panes.c', | ||
29 | 'elm_photocam.c', | ||
30 | 'elm_progressbar.c', | ||
31 | 'elm_radio.c', | ||
32 | 'elm_scroller.c', | ||
33 | 'elm_segment_control.c', | ||
34 | 'elm_slider.c', | ||
35 | 'elm_slideshow.c', | ||
36 | 'elm_spinner.c', | ||
37 | 'elm_thumb.c', | ||
38 | 'elm_toolbar.c', | ||
39 | 'elm_video.c', | ||
40 | 'elm_web.c' | ||
41 | ] | ||
42 | |||
43 | ecore_systemd_mod = shared_module('elementary', | ||
44 | edje_external_elementary, | ||
45 | dependencies: [edje, elementary, elementary_deps], | ||
46 | install: true, | ||
47 | install_dir: mod_install_dir, | ||
48 | c_args : elm_package_c_args, | ||
49 | ) | ||
50 | module_files += join_paths(mod_install_dir, 'libelementary.' + sys_mod_extension) | ||
diff --git a/src/edje_external/emotion/meson.build b/src/edje_external/emotion/meson.build new file mode 100644 index 0000000000..63e6ff82a0 --- /dev/null +++ b/src/edje_external/emotion/meson.build | |||
@@ -0,0 +1,8 @@ | |||
1 | ecore_systemd_mod = shared_module('emotion', | ||
2 | 'emotion.c', | ||
3 | dependencies: [edje, emotion], | ||
4 | install: true, | ||
5 | install_dir: mod_install_dir, | ||
6 | c_args : emotion_package_c_args | ||
7 | ) | ||
8 | module_files += join_paths(mod_install_dir, 'libemotion.' + sys_mod_extension) | ||
diff --git a/src/edje_external/meson.build b/src/edje_external/meson.build new file mode 100644 index 0000000000..73af952374 --- /dev/null +++ b/src/edje_external/meson.build | |||
@@ -0,0 +1,12 @@ | |||
1 | edje_externals = ['emotion', 'elementary'] | ||
2 | |||
3 | foreach edje_external : edje_externals | ||
4 | #!?%$§#! custom nane for edje externals | ||
5 | if (edje_external == 'elementary') | ||
6 | mod_install_dir = join_paths(dir_lib, 'edje', 'modules', 'elm', version_name) | ||
7 | else | ||
8 | mod_install_dir = join_paths(dir_lib, 'edje', 'modules', edje_external, version_name) | ||
9 | endif | ||
10 | subdir(edje_external) | ||
11 | endforeach | ||
12 | |||
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 @@ | |||
1 | examples = [ | ||
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 | |||
19 | gnutls = dependency('gnutls', required : false) | ||
20 | if gnutls.found() | ||
21 | examples += ['ecore_fd_handler_gnutls_example'] | ||
22 | endif | ||
23 | |||
24 | foreach example : examples | ||
25 | executable(example, example + '.c', dependencies: [eina, ecore, gstreamer, ecore_file, gnutls]) | ||
26 | endforeach | ||
27 | |||
28 | examples = [ | ||
29 | # 'ecore_audio_custom', | ||
30 | # 'ecore_audio_playback', | ||
31 | # 'ecore_audio_to_ogg', | ||
32 | ] | ||
33 | |||
34 | foreach example : examples | ||
35 | executable(example, example + '.c', dependencies: [eina, ecore, ecore_audio]) | ||
36 | endforeach | ||
37 | |||
38 | |||
39 | examples = [ | ||
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 | |||
53 | foreach example : examples | ||
54 | executable(example, example + '.c', dependencies: [eina, ecore, ecore_con]) | ||
55 | endforeach | ||
56 | |||
57 | examples = [ | ||
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 | |||
68 | foreach example : examples | ||
69 | executable(example, example + '.c', | ||
70 | dependencies: [eina, ecore_evas], | ||
71 | c_args : [ | ||
72 | '-DPACKAGE_EXAMPLES_DIR="'+meson.current_source_dir()+'"'] | ||
73 | ) | ||
74 | endforeach | ||
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 @@ | |||
1 | examples = [ | ||
2 | 'ecore_avahi_browse_example', | ||
3 | 'ecore_avahi_example', | ||
4 | ] | ||
5 | |||
6 | foreach example : examples | ||
7 | executable(example, example + '.c', dependencies: [ecore_avahi_deps, ecore_avahi]) | ||
8 | endforeach | ||
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 @@ | |||
1 | edc_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 | |||
48 | if (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 | ] | ||
57 | endif | ||
58 | |||
59 | themes = [] | ||
60 | |||
61 | foreach 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, ) | ||
75 | endforeach | ||
76 | |||
77 | codegen = 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 | |||
91 | themes += 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 | |||
99 | edje_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 | |||
130 | foreach edje_example : edje_examples | ||
131 | executable(edje_example, | ||
132 | [edje_example + '.c'] + themes, | ||
133 | dependencies: [edje, ecore_evas], | ||
134 | ) | ||
135 | endforeach | ||
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 @@ | |||
1 | examples = [ | ||
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 | |||
11 | foreach example : examples | ||
12 | executable(example, example + '.c', dependencies: eet) | ||
13 | endforeach | ||
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 @@ | |||
1 | examples = [ | ||
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 | |||
45 | foreach example : examples | ||
46 | executable(example, example + '.c', dependencies: eina) | ||
47 | endforeach | ||
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 @@ | |||
1 | files = [ | ||
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 | |||
10 | foreach file : files | ||
11 | executable(file, | ||
12 | file + '.c', | ||
13 | dependencies: [ecore, eio], | ||
14 | ) | ||
15 | endforeach \ 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 @@ | |||
1 | examples = [ | ||
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 | |||
15 | foreach example : examples | ||
16 | executable(example, example + '.c', dependencies: [eldbus, ecore]) | ||
17 | endforeach | ||
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 @@ | |||
1 | examples = [ | ||
2 | 'emile_base64' | ||
3 | ] | ||
4 | |||
5 | foreach example : examples | ||
6 | executable(example, example + '.c', dependencies: emile) | ||
7 | endforeach | ||
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 @@ | |||
1 | files = [ | ||
2 | 'emotion_basic_example', | ||
3 | 'emotion_border_example', | ||
4 | 'emotion_generic_example', | ||
5 | 'emotion_generic_subtitle_example', | ||
6 | 'emotion_signals_example', | ||
7 | ] | ||
8 | |||
9 | foreach file : files | ||
10 | executable(file, | ||
11 | file + '.c', | ||
12 | dependencies: [emotion, evas, ecore_evas, ecore], | ||
13 | ) | ||
14 | endforeach \ 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 @@ | |||
1 | files = [ | ||
2 | 'ethumb_dbus' | ||
3 | ] | ||
4 | |||
5 | foreach file : files | ||
6 | executable(file, | ||
7 | file + '.c', | ||
8 | dependencies: [ethumb, ethumb_client, ecore, eina], | ||
9 | ) | ||
10 | endforeach \ 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 @@ | |||
1 | examples = [ | ||
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 | |||
53 | foreach 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()+'"']) | ||
57 | endforeach | ||
diff --git a/src/generic/emotion/meson.build b/src/generic/emotion/meson.build new file mode 100644 index 0000000000..58cd5294aa --- /dev/null +++ b/src/generic/emotion/meson.build | |||
@@ -0,0 +1,8 @@ | |||
1 | generic_loaders = ['vlc'] | ||
2 | |||
3 | foreach loader : generic_loaders | ||
4 | if get_option('emotion-generic-loaders-disabler').contains(loader) == false | ||
5 | subdir(loader) | ||
6 | endif | ||
7 | endforeach | ||
8 | |||
diff --git a/src/generic/emotion/vlc/meson.build b/src/generic/emotion/vlc/meson.build new file mode 100644 index 0000000000..b21f4a16df --- /dev/null +++ b/src/generic/emotion/vlc/meson.build | |||
@@ -0,0 +1,8 @@ | |||
1 | vlc = dependency('libvlc') | ||
2 | |||
3 | executable('vlc', | ||
4 | 'emotion_generic_vlc.c', | ||
5 | dependencies: [emotion_generic, eina, ecore, rt, vlc], | ||
6 | install: true, | ||
7 | install_dir: join_paths(dir_lib, 'emotion', 'generic_players', version_name) | ||
8 | ) | ||
diff --git a/src/generic/evas/common/meson.build b/src/generic/evas/common/meson.build new file mode 100644 index 0000000000..b90705e4c3 --- /dev/null +++ b/src/generic/evas/common/meson.build | |||
@@ -0,0 +1,6 @@ | |||
1 | generic_src = files([ | ||
2 | 'shmfile.c', | ||
3 | 'shmfile.h', | ||
4 | 'timeout.c', | ||
5 | 'timeout.h', | ||
6 | ]) | ||
diff --git a/src/generic/evas/gst/meson.build b/src/generic/evas/gst/meson.build new file mode 100644 index 0000000000..9689aee80a --- /dev/null +++ b/src/generic/evas/gst/meson.build | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | # gstreamer 0.1 support | ||
3 | #generic_deps = [dependency('gstreamer')] | ||
4 | #generic_src = files([ | ||
5 | # 'main_0_10.c' | ||
6 | #]) | ||
7 | |||
8 | |||
9 | generic_src = files([ | ||
10 | 'main.c' | ||
11 | ]) | ||
12 | |||
13 | generic_deps = [dependency('gstreamer-1.0')] | ||
14 | 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'] \ No newline at end of file | ||
diff --git a/src/generic/evas/meson.build b/src/generic/evas/meson.build new file mode 100644 index 0000000000..80a679b230 --- /dev/null +++ b/src/generic/evas/meson.build | |||
@@ -0,0 +1,42 @@ | |||
1 | generic_loaders = ['gst', 'pdf', | ||
2 | 'ps', | ||
3 | 'raw', | ||
4 | 'svg', | ||
5 | 'xcf'] | ||
6 | |||
7 | generic_src = [] | ||
8 | generic_deps = [] | ||
9 | |||
10 | subdir('common') | ||
11 | |||
12 | common = static_library('evas_loader_common', | ||
13 | generic_src, | ||
14 | include_directories : config_dir, | ||
15 | dependencies: [generic_deps, rt], | ||
16 | ) | ||
17 | |||
18 | foreach loader : generic_loaders | ||
19 | generic_src = [] | ||
20 | generic_deps = [] | ||
21 | generic_support = [] | ||
22 | |||
23 | if get_option('evas-loaders-disabler').contains(loader) == false | ||
24 | subdir(loader) | ||
25 | |||
26 | tmp = shared_module('image_loader.'+loader, | ||
27 | generic_src, | ||
28 | include_directories : config_dir + [include_directories('common')], | ||
29 | link_with : common, | ||
30 | dependencies: [eina, generic_deps], | ||
31 | name_prefix : 'evas_', | ||
32 | install_dir : join_paths(dir_lib, 'evas', 'utils'), | ||
33 | install : true, | ||
34 | ) | ||
35 | |||
36 | set_variable(loader, tmp) | ||
37 | mod = join_paths(dir_lib, 'evas', 'utils', 'evas_image_loader.'+loader+'.'+sys_mod_extension) | ||
38 | evas_loader_map += [[mod, generic_support]] | ||
39 | else | ||
40 | message('Image loader '+loader+' disabled') | ||
41 | endif | ||
42 | endforeach | ||
diff --git a/src/generic/evas/pdf/meson.build b/src/generic/evas/pdf/meson.build new file mode 100644 index 0000000000..941918104b --- /dev/null +++ b/src/generic/evas/pdf/meson.build | |||
@@ -0,0 +1,14 @@ | |||
1 | generic_src = files([ | ||
2 | 'main.cpp' | ||
3 | ]) | ||
4 | |||
5 | generic_deps = [dependency('poppler-cpp')] | ||
6 | generic_support = ['ppt','pptx','odp','xls','xlsx','ods','doc','docx','odt','rtf'] | ||
7 | |||
8 | install_data('evas_generic_pdf_loader.libreoffice', | ||
9 | install_dir : join_paths(dir_lib, 'evas', 'utils') | ||
10 | ) | ||
11 | |||
12 | generic_pdf_loader_types = ['ppt','pptx','odp','xls','xlsx','ods','doc','docx','odt','rtf'] | ||
13 | |||
14 | meson.add_install_script( join_paths('..','..','..','..','meson','evas_loader_conf.sh'), join_paths(dir_lib, 'evas', 'utils', 'evas_generic_pdf_loader.libreoffice'), generic_pdf_loader_types) \ No newline at end of file | ||
diff --git a/src/generic/evas/ps/meson.build b/src/generic/evas/ps/meson.build new file mode 100644 index 0000000000..ca52781307 --- /dev/null +++ b/src/generic/evas/ps/meson.build | |||
@@ -0,0 +1,5 @@ | |||
1 | generic_src = files([ | ||
2 | 'main.c' | ||
3 | ]) | ||
4 | |||
5 | generic_deps = [dependency('libspectre')] | ||
diff --git a/src/generic/evas/raw/meson.build b/src/generic/evas/raw/meson.build new file mode 100644 index 0000000000..6843d01e90 --- /dev/null +++ b/src/generic/evas/raw/meson.build | |||
@@ -0,0 +1,6 @@ | |||
1 | generic_src = files([ | ||
2 | 'main.c' | ||
3 | ]) | ||
4 | |||
5 | generic_deps = [dependency('libraw')] | ||
6 | generic_support = ['arw','cr2','crw','dcr','dng','k25','kdc','erf','mrw','nef','nrf','nrw','orf','rw2','pef','raf','sr2','srf','x3f'] \ No newline at end of file | ||
diff --git a/src/generic/evas/svg/meson.build b/src/generic/evas/svg/meson.build new file mode 100644 index 0000000000..4e39e74ee5 --- /dev/null +++ b/src/generic/evas/svg/meson.build | |||
@@ -0,0 +1,12 @@ | |||
1 | generic_src = files([ | ||
2 | 'main.c' | ||
3 | ]) | ||
4 | |||
5 | rsvg = dependency('librsvg-2.0') | ||
6 | |||
7 | if rsvg.version() >= '2.36.0' | ||
8 | config_h.set('HAVE_SVG_2_36', '1') | ||
9 | endif | ||
10 | |||
11 | generic_deps = [rsvg] | ||
12 | generic_support = ['svgz', 'svg.gz'] | ||
diff --git a/src/generic/evas/xcf/meson.build b/src/generic/evas/xcf/meson.build new file mode 100644 index 0000000000..0f5fb208c5 --- /dev/null +++ b/src/generic/evas/xcf/meson.build | |||
@@ -0,0 +1,8 @@ | |||
1 | generic_src = files([ | ||
2 | 'common.h', | ||
3 | 'main.c', | ||
4 | 'pixelfuncs.c' | ||
5 | ]) | ||
6 | |||
7 | generic_deps = [dependency('zlib')] | ||
8 | generic_support = ['xcf.gz'] \ No newline at end of file | ||
diff --git a/src/lib/ecore/meson.build b/src/lib/ecore/meson.build new file mode 100644 index 0000000000..f5872ffb76 --- /dev/null +++ b/src/lib/ecore/meson.build | |||
@@ -0,0 +1,222 @@ | |||
1 | ecore_deps = [intl] | ||
2 | ecore_pub_deps = [eina, eo, efl] | ||
3 | |||
4 | pub_legacy_eo_files = [ | ||
5 | 'ecore_exe.eo', | ||
6 | 'ecore_event_message.eo', | ||
7 | 'ecore_event_message_handler.eo', | ||
8 | 'efl_loop_timer.eo' | ||
9 | ] | ||
10 | |||
11 | pub_eo_file_target = [] | ||
12 | foreach eo_file : pub_legacy_eo_files | ||
13 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
14 | input : eo_file, | ||
15 | output : [eo_file + '.h', eo_file + '.legacy.h',], | ||
16 | install : true, | ||
17 | install_dir : dir_package_include, | ||
18 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
19 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
20 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
21 | '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'), | ||
22 | '-gchl', '@INPUT@']) | ||
23 | |||
24 | endforeach | ||
25 | |||
26 | pub_eo_files = [ | ||
27 | 'efl_app.eo', | ||
28 | 'efl_loop.eo', | ||
29 | 'efl_loop_consumer.eo', | ||
30 | 'efl_loop_fd.eo', | ||
31 | 'efl_loop_handler.eo', | ||
32 | 'efl_loop_message.eo', | ||
33 | 'efl_loop_message_handler.eo', | ||
34 | 'efl_exe.eo', | ||
35 | 'efl_thread.eo', | ||
36 | 'efl_threadio.eo', | ||
37 | 'efl_appthread.eo', | ||
38 | 'efl_task.eo', | ||
39 | 'efl_io_closer_fd.eo', | ||
40 | 'efl_io_positioner_fd.eo', | ||
41 | 'efl_io_reader_fd.eo', | ||
42 | 'efl_io_sizer_fd.eo', | ||
43 | 'efl_io_writer_fd.eo', | ||
44 | 'efl_io_stdin.eo', | ||
45 | 'efl_io_stdout.eo', | ||
46 | 'efl_io_stderr.eo', | ||
47 | 'efl_io_file.eo', | ||
48 | 'efl_io_copier.eo', | ||
49 | 'efl_io_buffered_stream.eo', | ||
50 | 'efl_interpolator.eo', | ||
51 | 'efl_interpolator_linear.eo', | ||
52 | 'efl_interpolator_accelerate.eo', | ||
53 | 'efl_interpolator_decelerate.eo', | ||
54 | 'efl_interpolator_sinusoidal.eo', | ||
55 | 'efl_interpolator_divisor.eo', | ||
56 | 'efl_interpolator_bounce.eo', | ||
57 | 'efl_interpolator_spring.eo', | ||
58 | 'efl_interpolator_cubic_bezier.eo', | ||
59 | 'efl_loop_message_future_handler.eo', | ||
60 | 'efl_loop_message_future.eo', | ||
61 | 'efl_model_item.eo', | ||
62 | 'efl_model_container.eo', | ||
63 | 'efl_model_container_item.eo', | ||
64 | 'efl_model_composite_boolean.eo', | ||
65 | 'efl_model_composite_boolean_children.eo', | ||
66 | 'efl_model_composite_selection.eo', | ||
67 | 'efl_model_composite_selection_children.eo', | ||
68 | 'efl_model_composite.eo' | ||
69 | ] | ||
70 | |||
71 | foreach eo_file : pub_eo_files | ||
72 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
73 | input : eo_file, | ||
74 | output : [eo_file + '.h'], | ||
75 | install : true, | ||
76 | install_dir : dir_package_include, | ||
77 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
78 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
79 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
80 | '-gch', '@INPUT@']) | ||
81 | endforeach | ||
82 | |||
83 | # special handling, because this is already eo API and legacy API | ||
84 | pub_eo_files += ['efl_loop_timer.eo'] | ||
85 | |||
86 | pub_eo_types_files = [] | ||
87 | |||
88 | eolian_include_directories += ['-I', meson.current_source_dir()] | ||
89 | |||
90 | ecore_header_src = [ | ||
91 | 'Ecore.h', | ||
92 | 'Ecore_Common.h', | ||
93 | 'Ecore_Legacy.h', | ||
94 | 'Ecore_Eo.h', | ||
95 | 'Efl_Core.h', | ||
96 | 'efl_general.h', | ||
97 | 'Ecore_Getopt.h' | ||
98 | ] | ||
99 | |||
100 | ecore_src = [ | ||
101 | 'efl_app.c', | ||
102 | 'ecore.c', | ||
103 | 'ecore_alloc.c', | ||
104 | 'ecore_anim.c', | ||
105 | 'ecore_app.c', | ||
106 | 'ecore_events.c', | ||
107 | 'ecore_getopt.c', | ||
108 | 'ecore_glib.c', | ||
109 | 'ecore_idle_enterer.c', | ||
110 | 'ecore_idle_exiter.c', | ||
111 | 'ecore_idler.c', | ||
112 | 'ecore_job.c', | ||
113 | 'ecore_main.c', | ||
114 | 'ecore_event_message.c', | ||
115 | 'ecore_event_message_handler.c', | ||
116 | 'efl_loop.c', | ||
117 | 'efl_loop_consumer.c', | ||
118 | 'efl_loop_fd.c', | ||
119 | 'efl_loop_handler.c', | ||
120 | 'efl_loop_message.c', | ||
121 | 'efl_loop_message_future.c', | ||
122 | 'efl_loop_message_handler.c', | ||
123 | 'efl_loop_message_future_handler.c', | ||
124 | 'efl_task.c', | ||
125 | 'efl_io_closer_fd.c', | ||
126 | 'efl_io_positioner_fd.c', | ||
127 | 'efl_io_reader_fd.c', | ||
128 | 'efl_io_sizer_fd.c', | ||
129 | 'efl_io_writer_fd.c', | ||
130 | 'efl_io_stdin.c', | ||
131 | 'efl_io_stdout.c', | ||
132 | 'efl_io_stderr.c', | ||
133 | 'efl_io_file.c', | ||
134 | 'efl_io_copier.c', | ||
135 | 'efl_io_buffered_stream.c', | ||
136 | 'efl_model_item.c', | ||
137 | 'efl_model_container.c', | ||
138 | 'efl_model_container_item.c', | ||
139 | 'efl_model_container_private.h', | ||
140 | 'efl_model_composite.c', | ||
141 | 'efl_model_composite_boolean.c', | ||
142 | 'efl_model_composite_selection.c', | ||
143 | 'efl_model_accessor_view.c', | ||
144 | 'efl_model_accessor_view_private.h', | ||
145 | 'efl_interpolator.c', | ||
146 | 'efl_interpolator_linear.c', | ||
147 | 'efl_interpolator_accelerate.c', | ||
148 | 'efl_interpolator_decelerate.c', | ||
149 | 'efl_interpolator_sinusoidal.c', | ||
150 | 'efl_interpolator_divisor.c', | ||
151 | 'efl_interpolator_bounce.c', | ||
152 | 'efl_interpolator_spring.c', | ||
153 | 'efl_interpolator_cubic_bezier.c', | ||
154 | 'ecore_main_timechanges.c', | ||
155 | 'ecore_pipe.c', | ||
156 | 'ecore_poller.c', | ||
157 | 'ecore_time.c', | ||
158 | 'ecore_timer.c', | ||
159 | 'ecore_thread.c', | ||
160 | 'ecore_throttle.c', | ||
161 | 'ecore_exe.c', | ||
162 | 'ecore_exe_private.h', | ||
163 | 'ecore_private.h', | ||
164 | 'ecore_internal.h', | ||
165 | 'ecore_main_common.h' | ||
166 | ] | ||
167 | |||
168 | if target_machine.system() == 'windows' | ||
169 | #nothing for now ... needs testing | ||
170 | else | ||
171 | ecore_src += ['ecore_signal.c', 'ecore_exe_posix.c'] | ||
172 | endif | ||
173 | |||
174 | if get_option('glib') == true | ||
175 | ecore_deps += dependency('glib-2.0') | ||
176 | ecore_deps += dependency('gthread-2.0') | ||
177 | config_h.set('GLIB_INTEGRATION_ALWAYS', '1') | ||
178 | config_h.set('HAVE_GLIB', '1') | ||
179 | endif | ||
180 | |||
181 | if get_option('g-mainloop') == true | ||
182 | config_h.set('USE_G_MAIN_LOOP', '1') | ||
183 | endif | ||
184 | |||
185 | if get_option('gstreamer') == true | ||
186 | gstreamer = dependency('gstreamer-1.0') | ||
187 | ecore_deps += gstreamer | ||
188 | endif | ||
189 | |||
190 | if get_option('systemd') == true | ||
191 | ecore_deps += systemd | ||
192 | endif | ||
193 | |||
194 | ecore_lib = library('ecore', | ||
195 | ecore_src, pub_eo_file_target, | ||
196 | dependencies: ecore_pub_deps + [m, buildsystem, ecore_deps], | ||
197 | include_directories : config_dir + [include_directories(join_paths('..','..'))], | ||
198 | install: true, | ||
199 | c_args : package_c_args, | ||
200 | version : meson.project_version() | ||
201 | ) | ||
202 | |||
203 | ecore = declare_dependency( | ||
204 | include_directories: [include_directories('.')], | ||
205 | link_with: ecore_lib, | ||
206 | sources : pub_eo_file_target + priv_eo_file_target, | ||
207 | dependencies: ecore_pub_deps, | ||
208 | ) | ||
209 | |||
210 | eolian_ecore_dir = join_paths(eolian_include_dir, package_version_name) | ||
211 | |||
212 | install_data(pub_eo_files + pub_eo_types_files, | ||
213 | install_dir: eolian_ecore_dir | ||
214 | ) | ||
215 | |||
216 | install_headers(ecore_header_src, | ||
217 | install_dir : dir_package_include, | ||
218 | ) | ||
219 | |||
220 | #TODO: | ||
221 | # HAVE_TIZEN_CONFIGUREATION_MANAGER | ||
222 | # avahi | ||
diff --git a/src/lib/ecore_audio/meson.build b/src/lib/ecore_audio/meson.build new file mode 100644 index 0000000000..099f8454db --- /dev/null +++ b/src/lib/ecore_audio/meson.build | |||
@@ -0,0 +1,92 @@ | |||
1 | ecore_audio_deps = [ecore] | ||
2 | ecore_audio_pub_deps = [eina, eo] | ||
3 | |||
4 | pub_eo_files = [ | ||
5 | 'ecore_audio.eo', | ||
6 | 'ecore_audio_in.eo', | ||
7 | 'ecore_audio_out.eo', | ||
8 | 'ecore_audio_in_sndfile.eo', | ||
9 | 'ecore_audio_out_sndfile.eo', | ||
10 | 'ecore_audio_out_pulse.eo', | ||
11 | 'ecore_audio_in_tone.eo', | ||
12 | 'ecore_audio_out_wasapi.eo' | ||
13 | ] | ||
14 | |||
15 | foreach eo_file : pub_eo_files | ||
16 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
17 | input : eo_file, | ||
18 | output : [eo_file + '.h'], | ||
19 | install : true, | ||
20 | install_dir : dir_package_include, | ||
21 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
22 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
23 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
24 | '-gch', '@INPUT@']) | ||
25 | endforeach | ||
26 | |||
27 | pub_eo_types_files = [] | ||
28 | |||
29 | ecore_audio_header_src = [ | ||
30 | 'Ecore_Audio.h', | ||
31 | 'ecore_audio_obj.h', | ||
32 | 'ecore_audio_obj_in.h', | ||
33 | 'ecore_audio_obj_out.h', | ||
34 | 'ecore_audio_obj_in_tone.h', | ||
35 | 'ecore_audio_protected.h', | ||
36 | 'ecore_audio_obj_out_pulse.h', | ||
37 | 'ecore_audio_obj_in_sndfile.h', | ||
38 | 'ecore_audio_obj_out_sndfile.h', | ||
39 | 'ecore_audio_obj_out_wasapi.h' | ||
40 | ] | ||
41 | |||
42 | ecore_audio_src = [ | ||
43 | 'ecore_audio.c', | ||
44 | 'ecore_audio_obj.c', | ||
45 | 'ecore_audio_obj_in.c', | ||
46 | 'ecore_audio_obj_out.c', | ||
47 | 'ecore_audio_obj_in_tone.c', | ||
48 | 'ecore_audio_private.h' | ||
49 | ] | ||
50 | |||
51 | ecore_audio_src += [ | ||
52 | 'ecore_audio_obj_in_sndfile.c', | ||
53 | 'ecore_audio_obj_out_sndfile.c', | ||
54 | 'ecore_audio_sndfile_vio.c' | ||
55 | ] | ||
56 | |||
57 | ecore_audio_deps += dependency('sndfile') | ||
58 | config_h.set('HAVE_SNDFILE', '1') | ||
59 | |||
60 | if get_option('pulseaudio') | ||
61 | ecore_audio_deps += dependency('libpulse') | ||
62 | |||
63 | ecore_audio_src += [ | ||
64 | 'ecore_audio_pulse_ml.c', | ||
65 | 'ecore_audio_obj_out_pulse.c' | ||
66 | ] | ||
67 | |||
68 | config_h.set('HAVE_PULSE', '1') | ||
69 | endif | ||
70 | |||
71 | ecore_audio_lib = library('ecore_audio', | ||
72 | ecore_audio_src, pub_eo_file_target, | ||
73 | dependencies: ecore_audio_pub_deps + [m] + ecore_audio_deps, | ||
74 | include_directories : config_dir, | ||
75 | install: true, | ||
76 | version : meson.project_version() | ||
77 | ) | ||
78 | |||
79 | ecore_audio = declare_dependency( | ||
80 | include_directories: [include_directories('.')], | ||
81 | link_with: ecore_audio_lib, | ||
82 | sources : pub_eo_file_target + priv_eo_file_target, | ||
83 | dependencies: ecore_audio_pub_deps, | ||
84 | ) | ||
85 | |||
86 | install_data(pub_eo_files + pub_eo_types_files, | ||
87 | install_dir: eolian_ecore_dir | ||
88 | ) | ||
89 | |||
90 | install_headers(ecore_audio_header_src, | ||
91 | install_dir : dir_package_include, | ||
92 | ) | ||
diff --git a/src/lib/ecore_avahi/meson.build b/src/lib/ecore_avahi/meson.build new file mode 100644 index 0000000000..40e037850a --- /dev/null +++ b/src/lib/ecore_avahi/meson.build | |||
@@ -0,0 +1,26 @@ | |||
1 | ecore_avahi_deps = [] | ||
2 | ecore_avahi_pub_deps = [eina, ecore] | ||
3 | |||
4 | ecore_avahi_src = ['ecore_avahi.c'] | ||
5 | ecore_avahi_header_src = ['Ecore_Avahi.h'] | ||
6 | |||
7 | ecore_avahi_deps += dependency('avahi-client') | ||
8 | config_h.set('HAVE_AVAHI', '1') | ||
9 | |||
10 | ecore_avahi_lib = library('ecore_avahi', | ||
11 | ecore_avahi_src, | ||
12 | dependencies: [m] + ecore_avahi_deps + ecore_avahi_pub_deps, | ||
13 | include_directories : config_dir + [include_directories(join_paths('..','..'))], | ||
14 | install: true, | ||
15 | version : meson.project_version() | ||
16 | ) | ||
17 | |||
18 | ecore_avahi = declare_dependency( | ||
19 | include_directories: [include_directories('.')], | ||
20 | link_with: ecore_avahi_lib, | ||
21 | dependencies: ecore_avahi_pub_deps, | ||
22 | ) | ||
23 | |||
24 | install_headers(ecore_avahi_header_src, | ||
25 | install_dir : dir_package_include, | ||
26 | ) | ||
diff --git a/src/lib/ecore_buffer/meson.build b/src/lib/ecore_buffer/meson.build new file mode 100644 index 0000000000..4cf3fc65da --- /dev/null +++ b/src/lib/ecore_buffer/meson.build | |||
@@ -0,0 +1,37 @@ | |||
1 | ecore_buffer_deps = [dependency('wayland-client'), dependency('wayland-server'), ecore] | ||
2 | ecore_buffer_pub_deps = [eina] | ||
3 | |||
4 | ecore_buffer_header_src = [ | ||
5 | 'Ecore_Buffer.h', | ||
6 | 'Ecore_Buffer_Queue.h' | ||
7 | ] | ||
8 | |||
9 | ecore_buffer_src = [ | ||
10 | 'bq_mgr_protocol.c', | ||
11 | 'buffer_queue.c', | ||
12 | 'shared_buffer.c', | ||
13 | 'ecore_buffer.c', | ||
14 | 'ecore_buffer_queue_main.c', | ||
15 | 'ecore_buffer_con.c', | ||
16 | 'ecore_buffer_provider.c', | ||
17 | 'ecore_buffer_consumer.c' | ||
18 | ] | ||
19 | |||
20 | ecore_buffer_lib = library('ecore_buffer', | ||
21 | ecore_buffer_src, pub_eo_file_target, | ||
22 | dependencies: ecore_buffer_pub_deps + ecore_buffer_deps, | ||
23 | include_directories : config_dir, | ||
24 | install: true, | ||
25 | version : meson.project_version() | ||
26 | ) | ||
27 | |||
28 | ecore_buffer = declare_dependency( | ||
29 | include_directories: [include_directories('.')], | ||
30 | link_with: ecore_buffer_lib, | ||
31 | sources : pub_eo_file_target + priv_eo_file_target, | ||
32 | dependencies: ecore_buffer_pub_deps, | ||
33 | ) | ||
34 | |||
35 | install_headers(ecore_buffer_header_src, | ||
36 | install_dir : dir_package_include, | ||
37 | ) | ||
diff --git a/src/lib/ecore_cocoa/meson.build b/src/lib/ecore_cocoa/meson.build new file mode 100644 index 0000000000..b7aca40031 --- /dev/null +++ b/src/lib/ecore_cocoa/meson.build | |||
@@ -0,0 +1,48 @@ | |||
1 | ecore_cocoa_deps = [eina, ecore_input, ecore, emile, eet] | ||
2 | ecore_cocoa_pub_deps = [eina] | ||
3 | pub_eo_file_target = [] | ||
4 | |||
5 | ecore_cocoa_header_src = [ | ||
6 | 'Ecore_Cocoa.h' | ||
7 | ] | ||
8 | |||
9 | ecore_cocoa_src = [ | ||
10 | 'ecore_cocoa.m', | ||
11 | 'ecore_cocoa_keys.h', | ||
12 | 'ecore_cocoa_window.h', | ||
13 | 'ecore_cocoa_window.m', | ||
14 | 'ecore_cocoa_cnp.m', | ||
15 | 'ecore_cocoa_app.m', | ||
16 | 'ecore_cocoa_app.h', | ||
17 | 'ecore_cocoa_private.h' | ||
18 | ] | ||
19 | |||
20 | evas_include_directories = [ | ||
21 | include_directories(join_paths('..', 'evas')), | ||
22 | include_directories(join_paths('..', 'evas','canvas')), | ||
23 | include_directories(join_paths('..', 'evas','common')), | ||
24 | include_directories(join_paths('..', 'evas','common3d')), | ||
25 | include_directories(join_paths('..', 'evas','common3d', 'save_load')), | ||
26 | include_directories(join_paths('..', 'evas','include')), | ||
27 | include_directories(join_paths('..', 'evas','filters')) | ||
28 | ] | ||
29 | |||
30 | ecore_cocoa_lib = library('ecore_cocoa', | ||
31 | ecore_cocoa_src, pub_eo_file_target, | ||
32 | dependencies: ecore_cocoa_deps + ecore_cocoa_pub_deps, | ||
33 | include_directories : config_dir + evas_include_directories, | ||
34 | link_args : ['-lobjc', '-framework', 'CoreFoundation', '-framework', 'cocoa', '-Wl,-U,_evas_textblock_text_markup_to_utf8'], | ||
35 | install: true, | ||
36 | version : meson.project_version() | ||
37 | ) | ||
38 | |||
39 | ecore_cocoa = declare_dependency( | ||
40 | include_directories: [include_directories('.')], | ||
41 | link_with: ecore_cocoa_lib, | ||
42 | sources : pub_eo_file_target + priv_eo_file_target, | ||
43 | dependencies: ecore_cocoa_pub_deps, | ||
44 | ) | ||
45 | |||
46 | install_headers(ecore_cocoa_header_src, | ||
47 | install_dir : dir_package_include, | ||
48 | ) | ||
diff --git a/src/lib/ecore_con/meson.build b/src/lib/ecore_con/meson.build new file mode 100644 index 0000000000..f60e0a7185 --- /dev/null +++ b/src/lib/ecore_con/meson.build | |||
@@ -0,0 +1,220 @@ | |||
1 | ecore_con_deps = [] | ||
2 | ecore_con_pub_deps = [eina, eo, efl, ecore] | ||
3 | |||
4 | if target_machine.system() == 'windows' or target_machine.system() == 'cygwin' | ||
5 | ipv6 = cc.compiles(''' | ||
6 | #include <ws2tcpip.h> | ||
7 | struct ipv6_mreq tmp; | ||
8 | ''') | ||
9 | else | ||
10 | ipv6 = cc.compiles(''' | ||
11 | #include <netinet/in.h> | ||
12 | struct ipv6_mreq tmp; | ||
13 | ''') | ||
14 | endif | ||
15 | |||
16 | if ipv6 | ||
17 | config_h.set('HAVE_IPV6', 1) | ||
18 | endif | ||
19 | |||
20 | pub_legacy_eo_files = [ | ||
21 | 'ecore_con_eet_base.eo', | ||
22 | 'ecore_con_eet_server_obj.eo', | ||
23 | 'ecore_con_eet_client_obj.eo' | ||
24 | ] | ||
25 | |||
26 | pub_eo_file_target = [] | ||
27 | foreach eo_file : pub_legacy_eo_files | ||
28 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
29 | input : eo_file, | ||
30 | output : [eo_file + '.h', eo_file + '.legacy.h',], | ||
31 | install : true, | ||
32 | install_dir : dir_package_include, | ||
33 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
34 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
35 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
36 | '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'), | ||
37 | '-gchl', '@INPUT@']) | ||
38 | |||
39 | endforeach | ||
40 | |||
41 | pub_eo_files = [ | ||
42 | 'efl_net_socket.eo', | ||
43 | 'efl_net_socket_simple.eo', | ||
44 | 'efl_net_socket_fd.eo', | ||
45 | 'efl_net_socket_tcp.eo', | ||
46 | 'efl_net_socket_udp.eo', | ||
47 | 'efl_net_dialer.eo', | ||
48 | 'efl_net_dialer_simple.eo', | ||
49 | 'efl_net_dialer_tcp.eo', | ||
50 | 'efl_net_dialer_udp.eo', | ||
51 | 'efl_net_dialer_http.eo', | ||
52 | 'efl_net_dialer_websocket.eo', | ||
53 | 'efl_net_server.eo', | ||
54 | 'efl_net_server_simple.eo', | ||
55 | 'efl_net_server_fd.eo', | ||
56 | 'efl_net_server_ip.eo', | ||
57 | 'efl_net_server_tcp.eo', | ||
58 | 'efl_net_server_udp.eo', | ||
59 | 'efl_net_server_udp_client.eo', | ||
60 | 'efl_net_socket_ssl.eo', | ||
61 | 'efl_net_ssl_context.eo', | ||
62 | 'efl_net_dialer_ssl.eo', | ||
63 | 'efl_net_server_ssl.eo', | ||
64 | 'efl_net_control_access_point.eo', | ||
65 | 'efl_net_control_technology.eo', | ||
66 | 'efl_net_control_manager.eo', | ||
67 | 'efl_net_session.eo', | ||
68 | 'efl_net_ip_address.eo', | ||
69 | ] | ||
70 | |||
71 | if target_machine.system() == 'windows' | ||
72 | pub_eo_files += [ | ||
73 | 'efl_net_socket_windows.eo', | ||
74 | 'efl_net_dialer_windows.eo', | ||
75 | 'efl_net_server_windows.eo' | ||
76 | ] | ||
77 | else | ||
78 | pub_eo_files += [ | ||
79 | 'efl_net_socket_unix.eo', | ||
80 | 'efl_net_dialer_unix.eo', | ||
81 | 'efl_net_server_unix.eo' | ||
82 | ] | ||
83 | endif | ||
84 | |||
85 | foreach eo_file : pub_eo_files | ||
86 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
87 | input : eo_file, | ||
88 | output : [eo_file + '.h', eo_file + '.legacy.h',], | ||
89 | install : true, | ||
90 | install_dir : dir_package_include, | ||
91 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
92 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
93 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
94 | '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'), | ||
95 | '-gch', '@INPUT@']) | ||
96 | endforeach | ||
97 | |||
98 | |||
99 | pub_eo_types_files = [ | ||
100 | 'efl_net_types.eot', | ||
101 | 'efl_net_http_types.eot', | ||
102 | 'efl_net_ssl_types.eot' | ||
103 | ] | ||
104 | |||
105 | foreach eo_file : pub_eo_types_files | ||
106 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
107 | input : eo_file, | ||
108 | output : [eo_file + '.h'], | ||
109 | install : true, | ||
110 | install_dir : dir_package_include, | ||
111 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
112 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
113 | '-gh', '@INPUT@']) | ||
114 | endforeach | ||
115 | |||
116 | eolian_include_directories += ['-I', meson.current_source_dir()] | ||
117 | |||
118 | ecore_con_header_src = [ | ||
119 | 'Ecore_Con.h', | ||
120 | 'Efl_Net.h', | ||
121 | 'Ecore_Con_Eet.h', | ||
122 | 'Ecore_Con_Eet_Legacy.h', | ||
123 | 'Ecore_Con_Eet_Eo.h' | ||
124 | ] | ||
125 | |||
126 | ecore_con_src = [ | ||
127 | 'ecore_con_alloc.c', | ||
128 | 'ecore_con.c', | ||
129 | 'ecore_con_proxy_helper.c', | ||
130 | 'ecore_con_legacy.c', | ||
131 | 'ecore_con_eet.c', | ||
132 | 'ecore_con_socks.c', | ||
133 | 'ecore_con_url.c', | ||
134 | 'ecore_con_url_curl.c', | ||
135 | 'ecore_con_url_curl.h', | ||
136 | 'ecore_con_private.h', | ||
137 | 'efl_net_socket.c', | ||
138 | 'efl_net_socket_simple.c', | ||
139 | 'efl_net_socket_fd.c', | ||
140 | 'efl_net_socket_tcp.c', | ||
141 | 'efl_net_socket_udp.c', | ||
142 | 'efl_net_dialer.c', | ||
143 | 'efl_net_dialer_simple.c', | ||
144 | 'efl_net_dialer_tcp.c', | ||
145 | 'efl_net_dialer_udp.c', | ||
146 | 'efl_net_dialer_http.c', | ||
147 | 'efl_net_dialer_websocket.c', | ||
148 | 'efl_net_server.c', | ||
149 | 'efl_net_server_simple.c', | ||
150 | 'efl_net_server_fd.c', | ||
151 | 'efl_net_server_ip.c', | ||
152 | 'efl_net_server_tcp.c', | ||
153 | 'efl_net_server_udp.c', | ||
154 | 'efl_net_server_udp_client.c', | ||
155 | 'efl_net_socket_ssl.c', | ||
156 | 'efl_net_ssl_context.c', | ||
157 | 'efl_net_dialer_ssl.c', | ||
158 | 'efl_net_server_ssl.c', | ||
159 | 'ecore_con_local.c', | ||
160 | 'efl_net_ip_address.c' | ||
161 | ] | ||
162 | |||
163 | if target_machine.system() == 'windows' | ||
164 | ecore_con_src += [ | ||
165 | 'efl_net_socket_windows.c', | ||
166 | 'efl_net_dialer_windows.c', | ||
167 | 'efl_net_server_windows.c' | ||
168 | ] | ||
169 | else | ||
170 | ecore_con_src += [ | ||
171 | 'efl_net_socket_unix.c', | ||
172 | 'efl_net_dialer_unix.c', | ||
173 | 'efl_net_server_unix.c' | ||
174 | ] | ||
175 | endif | ||
176 | |||
177 | if get_option('network-backend') == 'none' | ||
178 | ecore_con_src += [ | ||
179 | 'efl_net_control_access_point-none.c', | ||
180 | 'efl_net_control_technology-none.c', | ||
181 | 'efl_net_control-none.c', | ||
182 | 'efl_net_session-none.c' | ||
183 | ] | ||
184 | else | ||
185 | ecore_con_src += [ | ||
186 | 'efl_net-connman.h', | ||
187 | 'efl_net-connman.c', | ||
188 | 'efl_net_control_access_point-connman.c', | ||
189 | 'efl_net_control_technology-connman.c', | ||
190 | 'efl_net_control-connman.c', | ||
191 | 'efl_net_session-connman.c' | ||
192 | ] | ||
193 | ecore_con_deps += eldbus | ||
194 | endif | ||
195 | |||
196 | ecore_con_deps += crypto | ||
197 | |||
198 | ecore_con_lib = library('ecore_con', | ||
199 | ecore_con_src, pub_eo_file_target, | ||
200 | dependencies: [ecore, ecore_con_deps, http_parser, eldbus, eet, systemd, buildsystem, dl], | ||
201 | include_directories : config_dir, | ||
202 | install: true, | ||
203 | c_args : package_c_args, | ||
204 | version : meson.project_version() | ||
205 | ) | ||
206 | |||
207 | ecore_con = declare_dependency( | ||
208 | include_directories: [include_directories('.')], | ||
209 | link_with: ecore_con_lib, | ||
210 | sources : pub_eo_file_target + priv_eo_file_target, | ||
211 | dependencies: ecore_con_pub_deps, | ||
212 | ) | ||
213 | |||
214 | install_data(pub_eo_files + pub_eo_types_files + pub_legacy_eo_files, | ||
215 | install_dir: eolian_ecore_dir | ||
216 | ) | ||
217 | |||
218 | install_headers(ecore_con_header_src, | ||
219 | install_dir : dir_package_include, | ||
220 | ) | ||
diff --git a/src/lib/ecore_drm/meson.build b/src/lib/ecore_drm/meson.build new file mode 100644 index 0000000000..9bc62a7be3 --- /dev/null +++ b/src/lib/ecore_drm/meson.build | |||
@@ -0,0 +1,39 @@ | |||
1 | ecore_drm_deps = [eeze, eldbus, ecore_input, ecore, eo, efl, eina, m] | ||
2 | ecore_drm_pub_deps = [dependency('libinput', version: '>= 1.6.0'), dependency('libdrm', version: '>= 2.4'), dependency('wayland-cursor', version: '>= 1.8.0 '), dependency('xkbcommon', version: '>= 0.3.0'), dependency('gbm')] | ||
3 | |||
4 | ecore_drm_src = [ | ||
5 | 'ecore_drm_sprites.c', | ||
6 | 'ecore_drm_fb.c', | ||
7 | 'ecore_drm_evdev.c', | ||
8 | 'ecore_drm_inputs.c', | ||
9 | 'ecore_drm_output.c', | ||
10 | 'ecore_drm_tty.c', | ||
11 | 'ecore_drm_device.c', | ||
12 | 'ecore_drm_launcher.c', | ||
13 | 'ecore_drm_dbus.c', | ||
14 | 'ecore_drm_logind.c', | ||
15 | 'ecore_drm.c', | ||
16 | 'ecore_drm_private.h' | ||
17 | ] | ||
18 | ecore_drm_header_src = [ | ||
19 | 'Ecore_Drm.h' | ||
20 | ] | ||
21 | |||
22 | |||
23 | ecore_drm_lib = library('ecore_drm', | ||
24 | ecore_drm_src, | ||
25 | dependencies: [m] + ecore_drm_deps + ecore_drm_pub_deps, | ||
26 | include_directories : config_dir + [include_directories(join_paths('..','..'))], | ||
27 | install: true, | ||
28 | c_args : package_c_args, | ||
29 | ) | ||
30 | |||
31 | ecore_drm = declare_dependency( | ||
32 | include_directories: [include_directories('.')], | ||
33 | link_with: ecore_drm_lib, | ||
34 | dependencies: ecore_drm_pub_deps, | ||
35 | ) | ||
36 | |||
37 | install_headers(ecore_drm_header_src, | ||
38 | install_dir : dir_package_include, | ||
39 | ) | ||
diff --git a/src/lib/ecore_drm2/meson.build b/src/lib/ecore_drm2/meson.build new file mode 100644 index 0000000000..1a36fbbede --- /dev/null +++ b/src/lib/ecore_drm2/meson.build | |||
@@ -0,0 +1,34 @@ | |||
1 | ecore_drm2_deps = [eeze, elput, dl, libdrm] | ||
2 | ecore_drm2_pub_deps = [ecore] | ||
3 | |||
4 | ecore_drm2_header_src = [ | ||
5 | 'Ecore_Drm2.h' | ||
6 | ] | ||
7 | |||
8 | ecore_drm2_src = [ | ||
9 | 'ecore_drm2_plane.c', | ||
10 | 'ecore_drm2_fb.c', | ||
11 | 'ecore_drm2_outputs.c', | ||
12 | 'ecore_drm2_device.c', | ||
13 | 'ecore_drm2.c', | ||
14 | 'ecore_drm2_private.h' | ||
15 | ] | ||
16 | |||
17 | ecore_drm2_lib = library('ecore_drm2', | ||
18 | ecore_drm2_src, pub_eo_file_target, | ||
19 | dependencies: ecore_drm2_pub_deps + ecore_drm2_deps, | ||
20 | include_directories : config_dir, | ||
21 | install: true, | ||
22 | version : meson.project_version() | ||
23 | ) | ||
24 | |||
25 | ecore_drm2 = declare_dependency( | ||
26 | include_directories: [include_directories('.')], | ||
27 | link_with: ecore_drm2_lib, | ||
28 | sources : pub_eo_file_target + priv_eo_file_target, | ||
29 | dependencies: ecore_drm2_pub_deps, | ||
30 | ) | ||
31 | |||
32 | install_headers(ecore_drm2_header_src, | ||
33 | install_dir : dir_package_include, | ||
34 | ) | ||
diff --git a/src/lib/ecore_evas/meson.build b/src/lib/ecore_evas/meson.build new file mode 100644 index 0000000000..c0fb459a56 --- /dev/null +++ b/src/lib/ecore_evas/meson.build | |||
@@ -0,0 +1,47 @@ | |||
1 | ecore_evas_deps = [eina, ecore_input_evas, ecore_input, ecore, eet, evas, efl, eo, eina, emile] | ||
2 | ecore_evas_pub_deps = [evas, ecore] | ||
3 | pub_eo_file_target = [] | ||
4 | |||
5 | ecore_evas_header_src = [ | ||
6 | 'Ecore_Evas_Types.h', | ||
7 | 'Ecore_Evas.h', | ||
8 | |||
9 | ] | ||
10 | |||
11 | ecore_evas_src = [ | ||
12 | 'ecore_evas.c', | ||
13 | 'ecore_evas_buffer.c', | ||
14 | 'ecore_evas_buffer.h', | ||
15 | 'ecore_evas_deprecated.c', | ||
16 | 'ecore_evas_drm.h', | ||
17 | 'ecore_evas_ews.c', | ||
18 | 'ecore_evas_module.c', | ||
19 | 'ecore_evas_private.h', | ||
20 | 'ecore_evas_extn.h', | ||
21 | 'ecore_evas_extn.c', | ||
22 | 'ecore_evas_wayland.h', | ||
23 | 'ecore_evas_cocoa.h', | ||
24 | 'ecore_evas_win32.h', | ||
25 | 'ecore_evas_x11.h', | ||
26 | 'ecore_evas_util.c' | ||
27 | ] | ||
28 | |||
29 | |||
30 | ecore_evas_lib = library('ecore_evas', | ||
31 | ecore_evas_src, pub_eo_file_target, | ||
32 | dependencies: [ecore_evas_deps, buildsystem], | ||
33 | include_directories : config_dir, | ||
34 | install: true, | ||
35 | version : meson.project_version() | ||
36 | ) | ||
37 | |||
38 | ecore_evas = declare_dependency( | ||
39 | include_directories: [include_directories('.')], | ||
40 | link_with: ecore_evas_lib, | ||
41 | sources : pub_eo_file_target + priv_eo_file_target, | ||
42 | dependencies: [evas], | ||
43 | ) | ||
44 | |||
45 | install_headers(ecore_evas_header_src, | ||
46 | install_dir : dir_package_include, | ||
47 | ) | ||
diff --git a/src/lib/ecore_fb/meson.build b/src/lib/ecore_fb/meson.build new file mode 100644 index 0000000000..0bcf11e3c8 --- /dev/null +++ b/src/lib/ecore_fb/meson.build | |||
@@ -0,0 +1,34 @@ | |||
1 | ecore_fb_deps = [ecore, ecore_input] | ||
2 | ecore_fb_pub_deps = [eina] | ||
3 | |||
4 | ecore_fb_header_src = [ | ||
5 | 'Ecore_Fb.h' | ||
6 | ] | ||
7 | |||
8 | ecore_fb_src = [ | ||
9 | 'ecore_fb.c', | ||
10 | 'ecore_fb_li.c', | ||
11 | 'ecore_fb_ts.c', | ||
12 | 'ecore_fb_vt.c', | ||
13 | 'ecore_fb_keytable.h', | ||
14 | 'ecore_fb_private.h' | ||
15 | ] | ||
16 | |||
17 | ecore_fb_lib = library('ecore_fb', | ||
18 | ecore_fb_src, pub_eo_file_target, | ||
19 | dependencies: ecore_fb_pub_deps + ecore_fb_deps, | ||
20 | include_directories : config_dir, | ||
21 | install: true, | ||
22 | version : meson.project_version() | ||
23 | ) | ||
24 | |||
25 | ecore_fb = declare_dependency( | ||
26 | include_directories: [include_directories('.')], | ||
27 | link_with: ecore_fb_lib, | ||
28 | sources : pub_eo_file_target + priv_eo_file_target, | ||
29 | dependencies: ecore_fb_pub_deps, | ||
30 | ) | ||
31 | |||
32 | install_headers(ecore_fb_header_src, | ||
33 | install_dir : dir_package_include, | ||
34 | ) | ||
diff --git a/src/lib/ecore_file/meson.build b/src/lib/ecore_file/meson.build new file mode 100644 index 0000000000..a3e70f8a99 --- /dev/null +++ b/src/lib/ecore_file/meson.build | |||
@@ -0,0 +1,39 @@ | |||
1 | ecore_file_deps = [ecore_con, ecore] | ||
2 | ecore_file_pub_deps = [eina] | ||
3 | |||
4 | ecore_file_src = [ | ||
5 | 'ecore_file.c', | ||
6 | 'ecore_file_download.c', | ||
7 | 'ecore_file_monitor.c', | ||
8 | 'ecore_file_path.c', | ||
9 | 'ecore_file_private.h' | ||
10 | ] | ||
11 | |||
12 | if target_machine.system() == 'windows' | ||
13 | ecore_file_src += [ 'ecore_file_monitor_win32.c'] | ||
14 | elif cc.has_header('sys/inotify.h') | ||
15 | ecore_file_src += [ 'ecore_file_monitor_inotify.c'] | ||
16 | else | ||
17 | ecore_file_src += [ 'ecore_file_monitor_poll.c'] | ||
18 | endif | ||
19 | |||
20 | ecore_file_header_src = ['Ecore_File.h'] | ||
21 | |||
22 | |||
23 | ecore_file_lib = library('ecore_file', | ||
24 | ecore_file_src, | ||
25 | dependencies: ecore_file_deps + ecore_file_pub_deps + ecore_file_deps, | ||
26 | include_directories : config_dir + [include_directories(join_paths('..','..'))], | ||
27 | install: true, | ||
28 | version : meson.project_version() | ||
29 | ) | ||
30 | |||
31 | ecore_file = declare_dependency( | ||
32 | include_directories: [include_directories('.')], | ||
33 | link_with: ecore_file_lib, | ||
34 | dependencies: ecore_file_pub_deps, | ||
35 | ) | ||
36 | |||
37 | install_headers(ecore_file_header_src, | ||
38 | install_dir : dir_package_include, | ||
39 | ) | ||
diff --git a/src/lib/ecore_imf/meson.build b/src/lib/ecore_imf/meson.build new file mode 100644 index 0000000000..978594d20a --- /dev/null +++ b/src/lib/ecore_imf/meson.build | |||
@@ -0,0 +1,34 @@ | |||
1 | ecore_imf_deps = [ecore] | ||
2 | ecore_imf_pub_deps = [eina] | ||
3 | |||
4 | ecore_imf_header_src = [ | ||
5 | 'Ecore_IMF.h' | ||
6 | ] | ||
7 | |||
8 | ecore_imf_src = [ | ||
9 | 'ecore_imf.c', | ||
10 | 'ecore_imf_context.c', | ||
11 | 'ecore_imf_module.c', | ||
12 | 'ecore_imf_private.h', | ||
13 | ] | ||
14 | |||
15 | |||
16 | ecore_imf_lib = library('ecore_imf', | ||
17 | ecore_imf_src, pub_eo_file_target, | ||
18 | dependencies: [buildsystem, ecore_imf_deps, ecore_imf_pub_deps], | ||
19 | include_directories : config_dir, | ||
20 | c_args : package_c_args, | ||
21 | install: true, | ||
22 | version : meson.project_version() | ||
23 | ) | ||
24 | |||
25 | ecore_imf = declare_dependency( | ||
26 | include_directories: [include_directories('.')], | ||
27 | link_with: ecore_imf_lib, | ||
28 | sources : pub_eo_file_target + priv_eo_file_target, | ||
29 | dependencies: ecore_imf_pub_deps, | ||
30 | ) | ||
31 | |||
32 | install_headers(ecore_imf_header_src, | ||
33 | install_dir : dir_package_include, | ||
34 | ) | ||
diff --git a/src/lib/ecore_imf_evas/meson.build b/src/lib/ecore_imf_evas/meson.build new file mode 100644 index 0000000000..28d53ea78d --- /dev/null +++ b/src/lib/ecore_imf_evas/meson.build | |||
@@ -0,0 +1,30 @@ | |||
1 | ecore_imf_evas_header_src = [ | ||
2 | 'Ecore_IMF_Evas.h' | ||
3 | ] | ||
4 | |||
5 | ecore_imf_evas_src = [ | ||
6 | 'ecore_imf_evas.c' | ||
7 | ] | ||
8 | |||
9 | ecore_imf_evas_deps = [ecore_imf, evas] | ||
10 | ecore_imf_evas_pub_deps = [eina, eo, efl] | ||
11 | |||
12 | ecore_imf_evas_lib = library('ecore_imf_evas', | ||
13 | ecore_imf_evas_src, | ||
14 | dependencies: ecore_imf_evas_pub_deps + [m] + ecore_imf_evas_deps, | ||
15 | include_directories : config_dir + [include_directories('.')], | ||
16 | install: true, | ||
17 | c_args : package_c_args, | ||
18 | version : meson.project_version() | ||
19 | ) | ||
20 | |||
21 | ecore_imf_evas = declare_dependency( | ||
22 | include_directories: [include_directories('.')], | ||
23 | link_with: ecore_imf_evas_lib, | ||
24 | sources : pub_eo_file_target + priv_eo_file_target, | ||
25 | dependencies: ecore_imf_evas_pub_deps, | ||
26 | ) | ||
27 | |||
28 | install_headers(ecore_imf_evas_header_src, | ||
29 | install_dir : dir_package_include, | ||
30 | ) | ||
diff --git a/src/lib/ecore_input/meson.build b/src/lib/ecore_input/meson.build new file mode 100644 index 0000000000..c57ec4e04c --- /dev/null +++ b/src/lib/ecore_input/meson.build | |||
@@ -0,0 +1,38 @@ | |||
1 | ecore_input_deps = [ecore] | ||
2 | ecore_input_pub_deps = [eina, eo] | ||
3 | |||
4 | ecore_input_header_src = [ | ||
5 | 'Ecore_Input.h' | ||
6 | ] | ||
7 | |||
8 | ecore_input_src = [ | ||
9 | 'ecore_input.c', | ||
10 | 'ecore_input_compose.c', | ||
11 | 'ecore_input_joystick.c', | ||
12 | 'ecore_input_compose.h', | ||
13 | 'ecore_input_private.h' | ||
14 | ] | ||
15 | |||
16 | if get_option('eeze') | ||
17 | ecore_input_deps += eeze | ||
18 | endif | ||
19 | |||
20 | |||
21 | ecore_input_lib = library('ecore_input', | ||
22 | ecore_input_src, pub_eo_file_target, | ||
23 | dependencies: ecore_input_pub_deps + ecore_input_deps, | ||
24 | include_directories : config_dir, | ||
25 | install: true, | ||
26 | version : meson.project_version() | ||
27 | ) | ||
28 | |||
29 | ecore_input = declare_dependency( | ||
30 | include_directories: [include_directories('.')], | ||
31 | link_with: ecore_input_lib, | ||
32 | sources : pub_eo_file_target + priv_eo_file_target, | ||
33 | dependencies: ecore_input_pub_deps, | ||
34 | ) | ||
35 | |||
36 | install_headers(ecore_input_header_src, | ||
37 | install_dir : dir_package_include, | ||
38 | ) | ||
diff --git a/src/lib/ecore_input_evas/meson.build b/src/lib/ecore_input_evas/meson.build new file mode 100644 index 0000000000..8b48142f7d --- /dev/null +++ b/src/lib/ecore_input_evas/meson.build | |||
@@ -0,0 +1,32 @@ | |||
1 | ecore_input_evas_deps = [ecore, ecore_input, evas] | ||
2 | ecore_input_evas_pub_deps = [eina, evas] | ||
3 | pub_eo_file_target = [] | ||
4 | |||
5 | ecore_input_evas_header_src = [ | ||
6 | 'Ecore_Input_Evas.h' | ||
7 | ] | ||
8 | |||
9 | ecore_input_evas_src = [ | ||
10 | 'ecore_input_evas.c', | ||
11 | 'ecore_input_evas_private.h', | ||
12 | ] | ||
13 | |||
14 | |||
15 | ecore_input_evas_lib = library('ecore_input_evas', | ||
16 | ecore_input_evas_src, pub_eo_file_target, | ||
17 | dependencies: ecore_input_evas_pub_deps + ecore_input_evas_deps, | ||
18 | include_directories : config_dir, | ||
19 | install: true, | ||
20 | version : meson.project_version() | ||
21 | ) | ||
22 | |||
23 | ecore_input_evas = declare_dependency( | ||
24 | include_directories: [include_directories('.')], | ||
25 | link_with: ecore_input_evas_lib, | ||
26 | sources : pub_eo_file_target + priv_eo_file_target, | ||
27 | dependencies: ecore_input_evas_pub_deps, | ||
28 | ) | ||
29 | |||
30 | install_headers(ecore_input_evas_header_src, | ||
31 | install_dir : dir_package_include, | ||
32 | ) | ||
diff --git a/src/lib/ecore_ipc/meson.build b/src/lib/ecore_ipc/meson.build new file mode 100644 index 0000000000..dbc95b0531 --- /dev/null +++ b/src/lib/ecore_ipc/meson.build | |||
@@ -0,0 +1,30 @@ | |||
1 | ecore_ipc_deps = [ecore, ecore_con] | ||
2 | ecore_ipc_pub_deps = [eina] | ||
3 | |||
4 | ecore_ipc_header_src = [ | ||
5 | 'Ecore_Ipc.h' | ||
6 | ] | ||
7 | |||
8 | ecore_ipc_src = [ | ||
9 | 'ecore_ipc.c', | ||
10 | 'ecore_ipc_private.h', | ||
11 | ] | ||
12 | |||
13 | ecore_ipc_lib = library('ecore_ipc', | ||
14 | ecore_ipc_src, pub_eo_file_target, | ||
15 | dependencies: ecore_ipc_deps + ecore_ipc_pub_deps, | ||
16 | include_directories : config_dir, | ||
17 | install: true, | ||
18 | version : meson.project_version() | ||
19 | ) | ||
20 | |||
21 | ecore_ipc = declare_dependency( | ||
22 | include_directories: [include_directories('.')], | ||
23 | link_with: ecore_ipc_lib, | ||
24 | sources : pub_eo_file_target + priv_eo_file_target, | ||
25 | dependencies: ecore_ipc_pub_deps, | ||
26 | ) | ||
27 | |||
28 | install_headers(ecore_ipc_header_src, | ||
29 | install_dir : dir_package_include, | ||
30 | ) | ||
diff --git a/src/lib/ecore_sdl/meson.build b/src/lib/ecore_sdl/meson.build new file mode 100644 index 0000000000..01ef3981b9 --- /dev/null +++ b/src/lib/ecore_sdl/meson.build | |||
@@ -0,0 +1,31 @@ | |||
1 | ecore_sdl_deps = [eina, ecore, ecore_input] | ||
2 | ecore_sdl_pub_deps = [] | ||
3 | |||
4 | ecore_sdl_src = [ | ||
5 | 'ecore_sdl.c' | ||
6 | ] | ||
7 | |||
8 | ecore_sdl_header_src = [ | ||
9 | 'Ecore_Sdl.h', | ||
10 | 'Ecore_Sdl_Keys.h' | ||
11 | ] | ||
12 | |||
13 | ecore_sdl_deps += dependency('sdl') | ||
14 | |||
15 | ecore_sdl_lib = library('ecore_sdl', | ||
16 | ecore_sdl_src, | ||
17 | dependencies: [m] + ecore_sdl_deps + ecore_sdl_pub_deps, | ||
18 | include_directories : config_dir + [include_directories(join_paths('..','..'))], | ||
19 | install: true, | ||
20 | c_args : package_c_args, | ||
21 | ) | ||
22 | |||
23 | ecore_sdl = declare_dependency( | ||
24 | include_directories: [include_directories('.')], | ||
25 | link_with: ecore_sdl_lib, | ||
26 | dependencies: ecore_sdl_pub_deps, | ||
27 | ) | ||
28 | |||
29 | install_headers(ecore_sdl_header_src, | ||
30 | install_dir : dir_package_include, | ||
31 | ) | ||
diff --git a/src/lib/ecore_wayland/meson.build b/src/lib/ecore_wayland/meson.build new file mode 100644 index 0000000000..4a24fb661e --- /dev/null +++ b/src/lib/ecore_wayland/meson.build | |||
@@ -0,0 +1,42 @@ | |||
1 | ecore_wayland_deps = [ecore_input, ecore, eo, efl, eina] | ||
2 | ecore_wayland_pub_deps = [dependency('wayland-client', version: '>= 1.8.0'), dependency('wayland-cursor', version: '>= 1.8.0 '), dependency('xkbcommon', version: '>= 0.5.0'), dependency('uuid')] | ||
3 | |||
4 | ecore_wayland_src = [ | ||
5 | 'ecore_wl.c', | ||
6 | 'ecore_wl_dnd.c', | ||
7 | 'ecore_wl_input.c', | ||
8 | 'ecore_wl_output.c', | ||
9 | 'ecore_wl_window.c', | ||
10 | 'ecore_wl_subsurf.c', | ||
11 | 'ecore_wl_private.h', | ||
12 | 'subsurface-protocol.c', | ||
13 | 'subsurface-client-protocol.h', | ||
14 | 'ivi-application-protocol.c', | ||
15 | 'ivi-application-client-protocol.h', | ||
16 | 'xdg-shell-client-protocol.h', | ||
17 | 'xdg-shell-protocol.c', | ||
18 | 'session-recovery-client-protocol.h', | ||
19 | 'session-recovery-protocol.c' | ||
20 | ] | ||
21 | ecore_wayland_header_src = [ | ||
22 | 'Ecore_Wayland.h' | ||
23 | ] | ||
24 | |||
25 | |||
26 | ecore_wayland_lib = library('ecore_wayland', | ||
27 | ecore_wayland_src, | ||
28 | dependencies: [m] + ecore_wayland_deps + ecore_wayland_pub_deps, | ||
29 | include_directories : config_dir + [include_directories(join_paths('..','..'))], | ||
30 | install: true, | ||
31 | c_args : package_c_args, | ||
32 | ) | ||
33 | |||
34 | ecore_wayland = declare_dependency( | ||
35 | include_directories: [include_directories('.')], | ||
36 | link_with: ecore_wayland_lib, | ||
37 | dependencies: ecore_wayland_pub_deps, | ||
38 | ) | ||
39 | |||
40 | install_headers(ecore_wayland_header_src, | ||
41 | install_dir : dir_package_include, | ||
42 | ) | ||
diff --git a/src/lib/ecore_wl2/meson.build b/src/lib/ecore_wl2/meson.build new file mode 100644 index 0000000000..c1527ae4e3 --- /dev/null +++ b/src/lib/ecore_wl2/meson.build | |||
@@ -0,0 +1,38 @@ | |||
1 | ecore_wl2_deps = [dependency('wayland-client'), dependency('wayland-server'), dependency('xkbcommon'), wayland_protocol, dependency('wayland-client')] | ||
2 | ecore_wl2_pub_deps = [eina, ecore, wayland_protocol] | ||
3 | |||
4 | ecore_wl2_header_src = [ | ||
5 | 'Ecore_Wl2.h' | ||
6 | ] | ||
7 | |||
8 | ecore_wl2_src = [ | ||
9 | 'ecore_wl2_subsurf.c', | ||
10 | 'ecore_wl2_dnd.c', | ||
11 | 'ecore_wl2_window.c', | ||
12 | 'ecore_wl2_input.c', | ||
13 | 'ecore_wl2_output.c', | ||
14 | 'ecore_wl2_display.c', | ||
15 | 'ecore_wl2.c', | ||
16 | 'ecore_wl2_private.h', | ||
17 | 'ecore_wl2_buffer.c', | ||
18 | 'ecore_wl2_surface.c' | ||
19 | ] | ||
20 | |||
21 | ecore_wl2_lib = library('ecore_wl2', | ||
22 | ecore_wl2_src, pub_eo_file_target, | ||
23 | dependencies: ecore_wl2_pub_deps + [dl, m, ecore, ecore_input, ecore_wl2_deps, libdrm], | ||
24 | include_directories : config_dir, | ||
25 | install: true, | ||
26 | version : meson.project_version() | ||
27 | ) | ||
28 | |||
29 | ecore_wl2 = declare_dependency( | ||
30 | include_directories: [include_directories('.')], | ||
31 | link_with: ecore_wl2_lib, | ||
32 | sources : pub_eo_file_target + priv_eo_file_target, | ||
33 | dependencies: ecore_wl2_pub_deps, | ||
34 | ) | ||
35 | |||
36 | install_headers(ecore_wl2_header_src, | ||
37 | install_dir : dir_package_include, | ||
38 | ) | ||
diff --git a/src/lib/ecore_x/meson.build b/src/lib/ecore_x/meson.build new file mode 100644 index 0000000000..9c1f00ddfe --- /dev/null +++ b/src/lib/ecore_x/meson.build | |||
@@ -0,0 +1,142 @@ | |||
1 | ecore_x_deps = [ecore, dl, m, ecore_input] | ||
2 | ecore_x_pub_deps = [eina, efl] | ||
3 | |||
4 | ecore_x_header_src = [ | ||
5 | 'Ecore_X.h', | ||
6 | 'Ecore_X_Atoms.h', | ||
7 | 'Ecore_X_Cursor.h' | ||
8 | ] | ||
9 | |||
10 | ecore_x_src = [ | ||
11 | 'ecore_x_atoms_decl.h', | ||
12 | 'ecore_x.c', | ||
13 | 'ecore_x_dnd.c', | ||
14 | 'ecore_x_sync.c', | ||
15 | 'ecore_x_randr.c', | ||
16 | 'ecore_x_fixes.c', | ||
17 | 'ecore_x_damage.c', | ||
18 | 'ecore_x_composite.c', | ||
19 | 'ecore_x_error.c', | ||
20 | 'ecore_x_events.c', | ||
21 | 'ecore_x_icccm.c', | ||
22 | 'ecore_x_keygrab.c', | ||
23 | 'ecore_x_netwm.c', | ||
24 | 'ecore_x_mwm.c', | ||
25 | 'ecore_x_e.c', | ||
26 | 'ecore_x_selection.c', | ||
27 | 'ecore_x_window.c', | ||
28 | 'ecore_x_window_prop.c', | ||
29 | 'ecore_x_window_shape.c', | ||
30 | 'ecore_x_pixmap.c', | ||
31 | 'ecore_x_present.c', | ||
32 | 'ecore_x_gc.c', | ||
33 | 'ecore_x_xinerama.c', | ||
34 | 'ecore_x_screensaver.c', | ||
35 | 'ecore_x_dpms.c', | ||
36 | 'ecore_x_drawable.c', | ||
37 | 'ecore_x_cursor.c', | ||
38 | 'ecore_x_test.c', | ||
39 | 'ecore_x_atoms.c', | ||
40 | 'ecore_x_region.c', | ||
41 | 'ecore_x_image.c', | ||
42 | 'ecore_x_xi2.c', | ||
43 | 'ecore_x_vsync.c', | ||
44 | 'ecore_x_gesture.c', | ||
45 | 'ecore_x_private.h' | ||
46 | ] | ||
47 | |||
48 | ecore_x_checks = [ | ||
49 | ['Xcomposite', 'Xcomposite.h', 'Xcomposite', 'XCompositeQueryExtension'], | ||
50 | ['Xdamage', 'Xdamage.h', 'Xdamage', 'XDamageSubtract'], | ||
51 | ['Xdpms', 'dpms.h', 'Xext', 'DPMSQueryExtension'], | ||
52 | ['Xfixes', 'Xfixes.h', 'Xfixes', 'XFixesExpandRegion'], | ||
53 | ['Xinerama', 'Xinerama.h', 'Xinerama', 'XineramaQueryScreens'], | ||
54 | ['Xrandr', 'Xrandr.h', 'Xrandr', 'XRRGetScreenResourcesCurrent'], | ||
55 | ['Xrender', 'Xrender.h', 'Xrender', 'XRenderFindVisualFormat'], | ||
56 | ['Xtest', 'XTest.h', 'Xtst', 'XTestFakeKeyEvent'], | ||
57 | ['Xss', 'scrnsaver.h', 'Xss', 'XScreenSaverSelectInput'], | ||
58 | ] | ||
59 | |||
60 | if get_option('xpresent') | ||
61 | ecore_x_checks += [['Xpresent', 'Xpresent.h', 'Xpresent', 'XPresentQueryExtension']] | ||
62 | endif | ||
63 | |||
64 | if get_option('xgesture') | ||
65 | ecore_x_checks += [['Xgesture', 'gesture.h', 'Xgesture', 'XGestureQueryExtension']] | ||
66 | endif | ||
67 | |||
68 | if get_option('xinput2') | ||
69 | ecore_x_checks += [['Xi2', 'XInput2.h', 'Xi', 'XIQueryDevice']] | ||
70 | endif | ||
71 | |||
72 | if get_option('xinput22') | ||
73 | ecore_x_checks += [['Xi2_2', 'XInput2.h', 'Xi','XIGrabTouchBegin']] | ||
74 | endif | ||
75 | |||
76 | x11 = dependency('x11', required: false) | ||
77 | if x11.found() == false | ||
78 | x11 = cc.find_library('x11', required: true) | ||
79 | endif | ||
80 | |||
81 | xcb = dependency('xcb', required: false) | ||
82 | if xcb.found() == false | ||
83 | xcb = cc.find_library('xcb', required: true) | ||
84 | endif | ||
85 | |||
86 | x11_xcb = dependency('x11-xcb', required: false) | ||
87 | if x11_xcb.found() == false | ||
88 | x11_xcb = cc.find_library('x11-xcb', required: true) | ||
89 | endif | ||
90 | |||
91 | foreach ecore_x_check : ecore_x_checks | ||
92 | x_lib = cc.find_library(ecore_x_check[2], | ||
93 | required: false | ||
94 | ) | ||
95 | |||
96 | if cc.compiles(''' | ||
97 | #include <X11/Xlib.h> | ||
98 | #include <X11/extensions/'''+ecore_x_check[1]+'''> | ||
99 | int main () { | ||
100 | #ifndef '''+ecore_x_check[3]+''' | ||
101 | '''+ecore_x_check[3]+'''; | ||
102 | #endif | ||
103 | } | ||
104 | ''', | ||
105 | dependencies : [x_lib, x11] | ||
106 | ) == true | ||
107 | config_h.set('ECORE_'+ecore_x_check[0].to_upper(), '1') | ||
108 | else | ||
109 | error('extension '+ecore_x_check[0]+' not found for X11') | ||
110 | endif | ||
111 | ecore_x_deps += x_lib | ||
112 | endforeach | ||
113 | |||
114 | ecore_x_deps += x11 | ||
115 | ecore_x_deps += xcb | ||
116 | ecore_x_deps += x11_xcb | ||
117 | |||
118 | |||
119 | # there are a few special cases | ||
120 | cc.has_header_symbol('X11/XKBlib.h', 'XkbSetDetectableAutoRepeat', | ||
121 | dependencies : [x11, xcb] | ||
122 | ) | ||
123 | config_h.set('ECORE_XKB', '1') | ||
124 | |||
125 | ecore_x_lib = library('ecore_x', | ||
126 | ecore_x_src, pub_eo_file_target, | ||
127 | dependencies: ecore_x_pub_deps + ecore_x_deps, | ||
128 | include_directories : config_dir, | ||
129 | install: true, | ||
130 | version : meson.project_version() | ||
131 | ) | ||
132 | |||
133 | ecore_x = declare_dependency( | ||
134 | include_directories: [include_directories('.')], | ||
135 | link_with: ecore_x_lib, | ||
136 | sources : pub_eo_file_target + priv_eo_file_target, | ||
137 | dependencies: ecore_x_pub_deps, | ||
138 | ) | ||
139 | |||
140 | install_headers(ecore_x_header_src, | ||
141 | install_dir : dir_package_include, | ||
142 | ) | ||
diff --git a/src/lib/ector/cairo/meson.build b/src/lib/ector/cairo/meson.build new file mode 100644 index 0000000000..2b45ce2b87 --- /dev/null +++ b/src/lib/ector/cairo/meson.build | |||
@@ -0,0 +1,34 @@ | |||
1 | |||
2 | ector_src += files([ | ||
3 | 'ector_renderer_cairo_gradient_linear.c', | ||
4 | 'ector_renderer_cairo_gradient_radial.c', | ||
5 | 'ector_renderer_cairo_shape.c', | ||
6 | 'ector_renderer_cairo.c', | ||
7 | 'ector_cairo_software_surface.c', | ||
8 | 'ector_cairo_surface.c' | ||
9 | ]) | ||
10 | |||
11 | pub_eo_files = [ | ||
12 | 'ector_cairo_surface.eo', | ||
13 | 'ector_cairo_software_surface.eo', | ||
14 | 'ector_renderer_cairo.eo', | ||
15 | 'ector_renderer_cairo_shape.eo', | ||
16 | 'ector_renderer_cairo_gradient_linear.eo', | ||
17 | 'ector_renderer_cairo_gradient_radial.eo' | ||
18 | ] | ||
19 | |||
20 | foreach eo_file : pub_eo_files | ||
21 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
22 | input : eo_file, | ||
23 | output : [eo_file + '.h'], | ||
24 | install : false, | ||
25 | install_dir : dir_package_include, | ||
26 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
27 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
28 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
29 | '-gch', '@INPUT@']) | ||
30 | endforeach | ||
31 | |||
32 | install_data(pub_eo_files, | ||
33 | install_dir: join_paths(eolian_include_dir, package_version_name) | ||
34 | ) | ||
diff --git a/src/lib/ector/gl/meson.build b/src/lib/ector/gl/meson.build new file mode 100644 index 0000000000..dad958c0fc --- /dev/null +++ b/src/lib/ector/gl/meson.build | |||
@@ -0,0 +1,37 @@ | |||
1 | |||
2 | ector_src += files([ | ||
3 | 'ector_renderer_gl_gradient_linear.c', | ||
4 | 'ector_renderer_gl_gradient_radial.c', | ||
5 | 'ector_renderer_gl_shape.c', | ||
6 | 'ector_renderer_gl.c', | ||
7 | 'ector_gl_buffer.c', | ||
8 | 'ector_gl_surface.c', | ||
9 | 'ector_gl_private.h', | ||
10 | #'shader/ector_gl_shaders.x', | ||
11 | 'ector_gl_shader.c' | ||
12 | ]) | ||
13 | |||
14 | pub_eo_files = [ | ||
15 | 'ector_gl_surface.eo', | ||
16 | 'ector_gl_buffer.eo', | ||
17 | 'ector_renderer_gl.eo', | ||
18 | 'ector_renderer_gl_shape.eo', | ||
19 | 'ector_renderer_gl_gradient_radial.eo', | ||
20 | 'ector_renderer_gl_gradient_linear.eo' | ||
21 | ] | ||
22 | |||
23 | foreach eo_file : pub_eo_files | ||
24 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
25 | input : eo_file, | ||
26 | output : [eo_file + '.h'], | ||
27 | install : false, | ||
28 | install_dir : dir_package_include, | ||
29 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
30 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
31 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
32 | '-gch', '@INPUT@']) | ||
33 | endforeach | ||
34 | |||
35 | install_data(pub_eo_files, | ||
36 | install_dir: join_paths(eolian_include_dir, package_version_name) | ||
37 | ) | ||
diff --git a/src/lib/ector/meson.build b/src/lib/ector/meson.build new file mode 100644 index 0000000000..be3c6a5f62 --- /dev/null +++ b/src/lib/ector/meson.build | |||
@@ -0,0 +1,88 @@ | |||
1 | ector_deps = [eina, emile, eet, eo, efl] | ||
2 | ector_pub_deps = [eina, efl] | ||
3 | |||
4 | pub_eo_file_target = [] | ||
5 | |||
6 | ector_header_src = [ | ||
7 | # nothing for now ector stays only intree | ||
8 | ] | ||
9 | |||
10 | ector_src = [ | ||
11 | 'ector_main.c', | ||
12 | 'ector_gl_internal.h', | ||
13 | 'ector_buffer.c', | ||
14 | 'ector_renderer_shape.c', | ||
15 | 'ector_renderer.c', | ||
16 | 'ector_renderer_gradient.c', | ||
17 | 'ector_renderer_gradient_radial.c', | ||
18 | 'ector_renderer_gradient_linear.c' | ||
19 | ] | ||
20 | |||
21 | pub_eo_files = [ | ||
22 | 'ector_surface.eo', | ||
23 | 'ector_buffer.eo', | ||
24 | 'ector_renderer.eo', | ||
25 | 'ector_renderer_shape.eo', | ||
26 | 'ector_renderer_gradient.eo', | ||
27 | 'ector_renderer_gradient_radial.eo', | ||
28 | 'ector_renderer_gradient_linear.eo' | ||
29 | ] | ||
30 | |||
31 | ector_pub_eo_files = pub_eo_files | ||
32 | |||
33 | foreach eo_file : pub_eo_files | ||
34 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
35 | input : eo_file, | ||
36 | output : [eo_file + '.h'], | ||
37 | install : false, | ||
38 | install_dir : dir_package_include, | ||
39 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
40 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
41 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
42 | '-gch', '@INPUT@']) | ||
43 | endforeach | ||
44 | |||
45 | eolian_include_directories += ['-I', meson.current_source_dir()] | ||
46 | |||
47 | subdir('cairo') | ||
48 | subdir('gl') | ||
49 | subdir('software') | ||
50 | |||
51 | pub_eo_types_files = [ | ||
52 | 'ector_types.eot' | ||
53 | ] | ||
54 | |||
55 | install_data(ector_pub_eo_files + pub_eo_types_files, | ||
56 | install_dir: join_paths(eolian_include_dir, package_version_name) | ||
57 | ) | ||
58 | |||
59 | foreach eo_file : pub_eo_types_files | ||
60 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
61 | input : eo_file, | ||
62 | output : [eo_file + '.h'], | ||
63 | install : false, | ||
64 | install_dir : dir_package_include, | ||
65 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
66 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
67 | '-gh', '@INPUT@']) | ||
68 | endforeach | ||
69 | |||
70 | ector_lib = library('ector', | ||
71 | ector_src, pub_eo_file_target, | ||
72 | dependencies: ector_pub_deps + [triangulator, freetype, draw, m] + ector_deps, | ||
73 | include_directories : config_dir, | ||
74 | install: true, | ||
75 | version : meson.project_version() | ||
76 | ) | ||
77 | |||
78 | ector = declare_dependency( | ||
79 | include_directories: [include_directories('.')], | ||
80 | link_with: ector_lib, | ||
81 | sources : pub_eo_file_target + priv_eo_file_target, | ||
82 | dependencies: ector_pub_deps, | ||
83 | ) | ||
84 | |||
85 | install_headers(ector_header_src, | ||
86 | install_dir : dir_package_include, | ||
87 | ) | ||
88 | |||
diff --git a/src/lib/ector/software/meson.build b/src/lib/ector/software/meson.build new file mode 100644 index 0000000000..ceb08ef3f2 --- /dev/null +++ b/src/lib/ector/software/meson.build | |||
@@ -0,0 +1,36 @@ | |||
1 | |||
2 | ector_src += files([ | ||
3 | 'ector_renderer_software_gradient_linear.c', | ||
4 | 'ector_renderer_software_gradient_radial.c', | ||
5 | 'ector_renderer_software_shape.c', | ||
6 | 'ector_software_gradient.c', | ||
7 | 'ector_software_rasterizer.c', | ||
8 | 'ector_software_surface.c', | ||
9 | 'ector_software_buffer.c', | ||
10 | ]) | ||
11 | |||
12 | pub_eo_files = [ | ||
13 | 'ector_software_surface.eo', | ||
14 | 'ector_software_buffer.eo', | ||
15 | 'ector_software_buffer_base.eo', | ||
16 | 'ector_renderer_software.eo', | ||
17 | 'ector_renderer_software_shape.eo', | ||
18 | 'ector_renderer_software_gradient_radial.eo', | ||
19 | 'ector_renderer_software_gradient_linear.eo', | ||
20 | ] | ||
21 | |||
22 | foreach eo_file : pub_eo_files | ||
23 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
24 | input : eo_file, | ||
25 | output : [eo_file + '.h'], | ||
26 | install : false, | ||
27 | install_dir : dir_package_include, | ||
28 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
29 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
30 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
31 | '-gch', '@INPUT@']) | ||
32 | endforeach | ||
33 | |||
34 | install_data(pub_eo_files, | ||
35 | install_dir: join_paths(eolian_include_dir, package_version_name) | ||
36 | ) | ||
diff --git a/src/lib/edje/meson.build b/src/lib/edje/meson.build new file mode 100644 index 0000000000..bcfcd9b569 --- /dev/null +++ b/src/lib/edje/meson.build | |||
@@ -0,0 +1,160 @@ | |||
1 | edje_deps = [ | ||
2 | eina, eo, efl, m, | ||
3 | luajit, eet, evas, ecore_evas, | ||
4 | ecore_file, ecore_input, | ||
5 | ecore_imf, ecore_imf_evas, | ||
6 | embryo, efreet, eio, intl | ||
7 | ] | ||
8 | |||
9 | |||
10 | edje_pub_deps = [m, evas, eo, efl, luajit] | ||
11 | |||
12 | if (get_option('physics')) | ||
13 | edje_deps += ephysics | ||
14 | edje_pub_deps += ephysics | ||
15 | endif | ||
16 | |||
17 | config_h.set('EDJE_CALC_CACHE', '1') | ||
18 | |||
19 | if get_option('edje-sound-and-video') | ||
20 | config_h.set('ENABLE_MULTISENSE', '1') | ||
21 | edje_deps += ecore_audio | ||
22 | endif | ||
23 | |||
24 | pub_legacy_eo_files = [ | ||
25 | 'edje_edit.eo', | ||
26 | 'efl_layout_calc.eo', | ||
27 | 'efl_layout_signal.eo', | ||
28 | 'efl_layout_group.eo', | ||
29 | 'efl_canvas_layout.eo', | ||
30 | 'efl_canvas_layout_part.eo', | ||
31 | 'efl_canvas_layout_part_box.eo', | ||
32 | 'efl_canvas_layout_part_external.eo', | ||
33 | 'efl_canvas_layout_part_invalid.eo', | ||
34 | 'efl_canvas_layout_part_swallow.eo', | ||
35 | 'efl_canvas_layout_part_table.eo', | ||
36 | 'efl_canvas_layout_part_text.eo', | ||
37 | ] | ||
38 | |||
39 | pub_eo_files = pub_legacy_eo_files | ||
40 | pub_eo_file_target = [] | ||
41 | |||
42 | foreach eo_file : pub_legacy_eo_files | ||
43 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
44 | input : eo_file, | ||
45 | output : [eo_file + '.h', eo_file + '.legacy.h',], | ||
46 | install : true, | ||
47 | install_dir : dir_package_include, | ||
48 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
49 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
50 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
51 | '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'), | ||
52 | '-gchl', '@INPUT@']) | ||
53 | |||
54 | endforeach | ||
55 | |||
56 | pub_eo_types_files = [ | ||
57 | 'edje_types.eot' | ||
58 | ] | ||
59 | |||
60 | foreach eo_file : pub_eo_types_files | ||
61 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
62 | input : eo_file, | ||
63 | output : [eo_file + '.h'], | ||
64 | install : true, | ||
65 | install_dir : dir_package_include, | ||
66 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
67 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
68 | '-gh', '@INPUT@']) | ||
69 | endforeach | ||
70 | |||
71 | priv_eo_files = [ | ||
72 | 'edje_global.eo', | ||
73 | ] | ||
74 | |||
75 | priv_eo_file_target = [] | ||
76 | foreach eo_file : priv_eo_files | ||
77 | priv_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
78 | input : eo_file, | ||
79 | output : [eo_file + '.h'], | ||
80 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
81 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
82 | '-gch', '@INPUT@']) | ||
83 | endforeach | ||
84 | |||
85 | |||
86 | eolian_include_directories += ['-I', meson.current_source_dir()] | ||
87 | |||
88 | edje_header_src = [ | ||
89 | 'Edje.h', | ||
90 | 'Edje_Common.h', | ||
91 | 'Edje_Eo.h', | ||
92 | 'Edje_Legacy.h', | ||
93 | 'Edje_Edit.h' | ||
94 | ] | ||
95 | |||
96 | edje_src = [ | ||
97 | 'edje_private.h', | ||
98 | 'edje_convert.h', | ||
99 | 'edje_box_layout.c', | ||
100 | 'edje_cache.c', | ||
101 | 'edje_calc.c', | ||
102 | 'edje_callbacks.c', | ||
103 | 'edje_data.c', | ||
104 | 'edje_edit.c', | ||
105 | 'edje_embryo.c', | ||
106 | 'edje_entry.c', | ||
107 | 'edje_external.c', | ||
108 | 'edje_load.c', | ||
109 | 'edje_lua.c', | ||
110 | 'edje_lua2.c', | ||
111 | 'edje_lua_script_only.c', | ||
112 | 'edje_main.c', | ||
113 | 'edje_match.c', | ||
114 | 'edje_message_queue.c', | ||
115 | 'edje_misc.c', | ||
116 | 'edje_module.c', | ||
117 | 'edje_multisense.c', | ||
118 | 'edje_program.c', | ||
119 | 'edje_smart.c', | ||
120 | 'edje_text.c', | ||
121 | 'edje_textblock.c', | ||
122 | 'edje_textblock_styles.c', | ||
123 | 'edje_util.c', | ||
124 | 'edje_legacy.c', | ||
125 | 'edje_var.c', | ||
126 | 'edje_signal.c', | ||
127 | 'edje_part.c', | ||
128 | 'edje_part_helper.h', | ||
129 | 'edje_part_external.c', | ||
130 | 'edje_part_swallow.c', | ||
131 | 'edje_part_table.c', | ||
132 | 'edje_part_box.c', | ||
133 | 'edje_part_text.c', | ||
134 | 'edje_part_invalid.c' | ||
135 | |||
136 | ] | ||
137 | |||
138 | edje_lib = library('edje', | ||
139 | edje_src, pub_eo_file_target, priv_eo_file_target, | ||
140 | dependencies: [edje_deps], | ||
141 | include_directories : config_dir + [include_directories('.')], | ||
142 | install: true, | ||
143 | c_args : [package_c_args], | ||
144 | version : meson.project_version() | ||
145 | ) | ||
146 | |||
147 | edje = declare_dependency( | ||
148 | include_directories: [include_directories('.')], | ||
149 | link_with: edje_lib, | ||
150 | sources : pub_eo_file_target + priv_eo_file_target, | ||
151 | dependencies: edje_pub_deps, | ||
152 | ) | ||
153 | |||
154 | install_data(pub_eo_files + pub_eo_types_files, | ||
155 | install_dir: join_paths(eolian_include_dir, package_version_name) | ||
156 | ) | ||
157 | |||
158 | install_headers(edje_header_src, | ||
159 | install_dir : dir_package_include, | ||
160 | ) | ||
diff --git a/src/lib/eet/meson.build b/src/lib/eet/meson.build new file mode 100644 index 0000000000..8ebdb48dd6 --- /dev/null +++ b/src/lib/eet/meson.build | |||
@@ -0,0 +1,38 @@ | |||
1 | eet_deps = [crypto, jpeg, rg_etc, m] | ||
2 | eet_pub_deps = [eina, emile, efl] | ||
3 | |||
4 | eet_header_src = [ | ||
5 | 'Eet.h' | ||
6 | ] | ||
7 | |||
8 | eet_src = [ | ||
9 | 'Eet_private.h', | ||
10 | 'eet_alloc.c', | ||
11 | 'eet_cipher.c', | ||
12 | 'eet_connection.c', | ||
13 | 'eet_data.c', | ||
14 | 'eet_dictionary.c', | ||
15 | 'eet_image.c', | ||
16 | 'eet_lib.c', | ||
17 | 'eet_node.c', | ||
18 | 'eet_utils.c', | ||
19 | ] | ||
20 | |||
21 | eet_lib = library('eet', | ||
22 | eet_src, pub_eo_file_target, | ||
23 | dependencies: eet_deps + eet_pub_deps, | ||
24 | include_directories : config_dir, | ||
25 | install: true, | ||
26 | version : meson.project_version() | ||
27 | ) | ||
28 | |||
29 | eet = declare_dependency( | ||
30 | include_directories: [include_directories('.')], | ||
31 | link_with: eet_lib, | ||
32 | sources : pub_eo_file_target + priv_eo_file_target, | ||
33 | dependencies: eet_pub_deps, | ||
34 | ) | ||
35 | |||
36 | install_headers(eet_header_src, | ||
37 | install_dir : dir_package_include, | ||
38 | ) | ||
diff --git a/src/lib/eeze/meson.build b/src/lib/eeze/meson.build new file mode 100644 index 0000000000..c32eee94b6 --- /dev/null +++ b/src/lib/eeze/meson.build | |||
@@ -0,0 +1,101 @@ | |||
1 | eeze_deps = [] | ||
2 | eeze_pub_deps = [eina, efl] | ||
3 | pub_eo_file_target = [] | ||
4 | |||
5 | eeze_header_src = [ | ||
6 | 'Eeze.h', | ||
7 | 'Eeze_Net.h', | ||
8 | 'Eeze_Sensor.h', | ||
9 | 'Eeze_Disk.h', | ||
10 | join_paths('..','..','bin','eeze','eeze_scanner','eeze_scanner.h') | ||
11 | ] | ||
12 | |||
13 | eeze_src = [ | ||
14 | 'eeze_main.c', | ||
15 | 'eeze_net.c', | ||
16 | 'eeze_net_private.h', | ||
17 | 'eeze_sensor.c', | ||
18 | 'eeze_sensor_private.h', | ||
19 | 'eeze_udev_find.c', | ||
20 | 'eeze_udev_private.c', | ||
21 | 'eeze_udev_private.h', | ||
22 | 'eeze_udev_syspath.c', | ||
23 | 'eeze_udev_walk.c', | ||
24 | 'eeze_udev_watch.c', | ||
25 | 'eeze_disk.c', | ||
26 | 'eeze_disk_udev.c', | ||
27 | 'eeze_disk_mount.c', | ||
28 | 'eeze_disk_private.h' | ||
29 | ] | ||
30 | |||
31 | if get_option('v4l2') | ||
32 | config_h.set('HAVE_V4L2', '1') | ||
33 | if cc.has_header('linux/videodev2.h') == false | ||
34 | error('v4l2 headers not found') | ||
35 | endif | ||
36 | endif | ||
37 | |||
38 | if (get_option('libmount')) | ||
39 | libmount = dependency('mount') | ||
40 | eeze_deps += [libmount] | ||
41 | if libmount.version() == '2.19' | ||
42 | eeze_src += 'eeze_disk_libmount.c' | ||
43 | elif libmount.version() < '2.19' | ||
44 | eeze_src += 'eeze_disk_libmount_old.c' | ||
45 | elif libmount.version() > '2.19' | ||
46 | eeze_src += 'eeze_disk_libmount_new.c' | ||
47 | endif | ||
48 | config_h.set('HAVE_EEZE_MOUNT', '1') | ||
49 | else | ||
50 | eeze_src += 'eeze_disk_dummy.c' | ||
51 | endif | ||
52 | |||
53 | options_to_check = ['eject', 'mount', 'unmount'] | ||
54 | |||
55 | eeze_deps += dependency('libudev', | ||
56 | version: ['>=148'] | ||
57 | ) | ||
58 | |||
59 | foreach option : options_to_check | ||
60 | val = get_option(option+'-path') | ||
61 | if val == 'detect' | ||
62 | # i dont know why we call this unmount when the bin is called umount | ||
63 | if option == 'unmount' | ||
64 | _option = 'umount' | ||
65 | else | ||
66 | _option = option | ||
67 | endif | ||
68 | prog = find_program(_option, required: false) | ||
69 | if prog.found() | ||
70 | set_variable(option+'_bin', prog.path()) | ||
71 | else | ||
72 | set_variable(option+'_bin', '') | ||
73 | endif | ||
74 | else | ||
75 | set_variable(option+'_bin', val) | ||
76 | endif | ||
77 | endforeach | ||
78 | |||
79 | config_h.set_quoted('EEZE_EJECT_BIN', eject_bin) | ||
80 | config_h.set_quoted('EEZE_MOUNT_BIN', mount_bin) | ||
81 | config_h.set_quoted('EEZE_UNMOUNT_BIN', unmount_bin) | ||
82 | |||
83 | eeze_lib = library('eeze', | ||
84 | eeze_src, pub_eo_file_target, | ||
85 | dependencies: eeze_deps + eeze_pub_deps + [ecore, ecore_file, buildsystem, eeze_deps], | ||
86 | include_directories : config_dir, | ||
87 | install: true, | ||
88 | c_args : package_c_args, | ||
89 | version : meson.project_version() | ||
90 | ) | ||
91 | |||
92 | eeze = declare_dependency( | ||
93 | include_directories: [include_directories('.')], | ||
94 | link_with: eeze_lib, | ||
95 | sources : pub_eo_file_target + priv_eo_file_target, | ||
96 | dependencies: eeze_pub_deps, | ||
97 | ) | ||
98 | |||
99 | install_headers(eeze_header_src, | ||
100 | install_dir : dir_package_include, | ||
101 | ) | ||
diff --git a/src/lib/efl/interfaces/meson.build b/src/lib/efl/interfaces/meson.build new file mode 100644 index 0000000000..8d29c404a8 --- /dev/null +++ b/src/lib/efl/interfaces/meson.build | |||
@@ -0,0 +1,155 @@ | |||
1 | pub_legacy_eo_files = [ | ||
2 | 'efl_gfx_fill.eo', | ||
3 | 'efl_gfx_entity.eo', | ||
4 | 'efl_gfx_color.eo', | ||
5 | 'efl_gfx_image.eo', | ||
6 | 'efl_gfx_image_animation_controller.eo', | ||
7 | 'efl_input_device.eo', | ||
8 | 'efl_ui_draggable.eo', | ||
9 | 'efl_ui_clickable.eo', | ||
10 | 'efl_ui_scrollable.eo', | ||
11 | 'efl_ui_scrollable_interactive.eo', | ||
12 | 'efl_ui_scrollbar.eo', | ||
13 | 'efl_ui_selectable.eo', | ||
14 | 'efl_ui_zoom.eo', | ||
15 | ] | ||
16 | |||
17 | pub_eo_file_target = [] | ||
18 | foreach eo_file : pub_legacy_eo_files | ||
19 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
20 | input : eo_file, | ||
21 | output : [eo_file + '.h', eo_file + '.legacy.h',], | ||
22 | install : true, | ||
23 | install_dir : join_paths(dir_package_include, 'interfaces'), | ||
24 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
25 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
26 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
27 | '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'), | ||
28 | '-gchl', '@INPUT@']) | ||
29 | |||
30 | endforeach | ||
31 | |||
32 | pub_eo_files = [ | ||
33 | 'efl_playable.eo', | ||
34 | 'efl_canvas_scene.eo', | ||
35 | 'efl_canvas_pointer.eo', | ||
36 | 'efl_config.eo', | ||
37 | 'efl_control.eo', | ||
38 | 'efl_duplicate.eo', | ||
39 | 'efl_file.eo', | ||
40 | 'efl_gfx_image_load_controller.eo', | ||
41 | 'efl_part.eo', | ||
42 | 'efl_player.eo', | ||
43 | 'efl_text.eo', | ||
44 | 'efl_text_font.eo', | ||
45 | 'efl_text_style.eo', | ||
46 | 'efl_text_format.eo', | ||
47 | 'efl_text_cursor.eo', | ||
48 | 'efl_text_annotate.eo', | ||
49 | 'efl_text_markup.eo', | ||
50 | 'efl_text_markup_util.eo', | ||
51 | 'efl_gfx_stack.eo', | ||
52 | 'efl_gfx_view.eo', | ||
53 | 'efl_gfx_buffer.eo', | ||
54 | 'efl_gfx_path.eo', | ||
55 | 'efl_gfx_shape.eo', | ||
56 | 'efl_gfx_gradient.eo', | ||
57 | 'efl_gfx_gradient_linear.eo', | ||
58 | 'efl_gfx_gradient_radial.eo', | ||
59 | 'efl_gfx_filter.eo', | ||
60 | 'efl_gfx_blur.eo', | ||
61 | 'efl_gfx_size_hint.eo', | ||
62 | 'efl_model.eo', | ||
63 | 'efl_animator.eo', | ||
64 | 'efl_orientation.eo', | ||
65 | 'efl_container.eo', | ||
66 | 'efl_content.eo', | ||
67 | 'efl_pack.eo', | ||
68 | 'efl_pack_layout.eo', | ||
69 | 'efl_pack_linear.eo', | ||
70 | 'efl_pack_table.eo', | ||
71 | 'efl_ui_base.eo', | ||
72 | 'efl_ui_direction.eo', | ||
73 | 'efl_ui_drag.eo', | ||
74 | 'efl_ui_range.eo', | ||
75 | 'efl_ui_view.eo', | ||
76 | 'efl_ui_model_connect.eo', | ||
77 | 'efl_ui_factory.eo', | ||
78 | 'efl_ui_multi_selectable.eo', | ||
79 | 'efl_screen.eo', | ||
80 | 'efl_io_closer.eo', | ||
81 | 'efl_io_positioner.eo', | ||
82 | 'efl_io_reader.eo', | ||
83 | 'efl_io_sizer.eo', | ||
84 | 'efl_io_writer.eo', | ||
85 | 'efl_io_buffer.eo', | ||
86 | 'efl_io_queue.eo', | ||
87 | 'efl_observer.eo', | ||
88 | 'efl_observable.eo', | ||
89 | 'efl_ui_autorepeat.eo', | ||
90 | 'efl_ui_format.eo', | ||
91 | 'efl_gfx_color_class.eo', | ||
92 | 'efl_gfx_text_class.eo', | ||
93 | 'efl_gfx_size_class.eo', | ||
94 | ] | ||
95 | |||
96 | eolian_include_directories += ['-I', join_paths(meson.source_root(), 'src', 'lib', 'evas', 'canvas')] | ||
97 | |||
98 | foreach eo_file : pub_eo_files | ||
99 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
100 | input : eo_file, | ||
101 | output : [eo_file + '.h'], | ||
102 | install : true, | ||
103 | install_dir : join_paths(dir_package_include, 'interfaces'), | ||
104 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
105 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
106 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
107 | '-gch', '@INPUT@']) | ||
108 | endforeach | ||
109 | |||
110 | pub_eo_types_files = [ | ||
111 | 'efl_gfx_types.eot', | ||
112 | 'efl_ui_types.eot', | ||
113 | 'efl_input_types.eot', | ||
114 | 'efl_types.eot', | ||
115 | 'efl_text_types.eot', | ||
116 | ] | ||
117 | |||
118 | foreach eo_file : pub_eo_types_files | ||
119 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
120 | input : eo_file, | ||
121 | output : [eo_file + '.h'], | ||
122 | install : true, | ||
123 | install_dir : join_paths(dir_package_include, 'interfaces'), | ||
124 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
125 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
126 | '-gh', '@INPUT@']) | ||
127 | endforeach | ||
128 | |||
129 | pub_eo_files = files(pub_eo_files + pub_legacy_eo_files + pub_eo_types_files) | ||
130 | |||
131 | efl_src += files([ | ||
132 | 'efl_interfaces_main.c', | ||
133 | 'efl_model_common.c', | ||
134 | 'efl_gfx_path.c', | ||
135 | 'efl_gfx_shape.c', | ||
136 | 'efl_gfx_color.c', | ||
137 | 'efl_input_device.c', | ||
138 | 'efl_io_closer.c', | ||
139 | 'efl_io_positioner.c', | ||
140 | 'efl_io_reader.c', | ||
141 | 'efl_io_sizer.c', | ||
142 | 'efl_io_writer.c', | ||
143 | 'efl_io_buffer.c', | ||
144 | 'efl_io_queue.c', | ||
145 | 'efl_observer.c', | ||
146 | 'efl_file.c', | ||
147 | 'efl_ui_format.c', | ||
148 | 'efl_text_markup_util.c', | ||
149 | ]) | ||
150 | |||
151 | #efl_header_src += files([ | ||
152 | # 'efl_common_internal.h' | ||
153 | #]) | ||
154 | |||
155 | eolian_include_directories += ['-I', meson.current_source_dir()] | ||
diff --git a/src/lib/efl/meson.build b/src/lib/efl/meson.build new file mode 100644 index 0000000000..75acef3b54 --- /dev/null +++ b/src/lib/efl/meson.build | |||
@@ -0,0 +1,33 @@ | |||
1 | efl_deps = [] | ||
2 | efl_pub_deps = [eo] | ||
3 | |||
4 | efl_header_src = [ | ||
5 | 'Efl.h', | ||
6 | 'Efl_Model_Common.h' | ||
7 | ] | ||
8 | |||
9 | efl_src = [] | ||
10 | |||
11 | subdir('interfaces') | ||
12 | |||
13 | efl_lib = library('efl', | ||
14 | efl_src, pub_eo_file_target, | ||
15 | dependencies: [eina, eo, m], | ||
16 | install: true, | ||
17 | version : meson.project_version() | ||
18 | ) | ||
19 | |||
20 | efl = declare_dependency( | ||
21 | include_directories: [include_directories('.'), config_dir], | ||
22 | link_with: efl_lib, | ||
23 | dependencies: efl_deps + efl_pub_deps, | ||
24 | sources : pub_eo_file_target | ||
25 | ) | ||
26 | |||
27 | install_data(pub_eo_files, | ||
28 | install_dir: join_paths(eolian_include_dir, package_version_name) | ||
29 | ) | ||
30 | |||
31 | install_headers(efl_header_src, | ||
32 | install_dir : dir_package_include, | ||
33 | ) | ||
diff --git a/src/lib/efl_wl/meson.build b/src/lib/efl_wl/meson.build new file mode 100644 index 0000000000..35f20ec404 --- /dev/null +++ b/src/lib/efl_wl/meson.build | |||
@@ -0,0 +1,32 @@ | |||
1 | efl_wl_deps = [ecore_wl2, ecore_input, ecore, ecore_evas, evas, emile, eo, efl, eina] | ||
2 | efl_wl_pub_deps = [evas, dependency('wayland-server', version : '>= 1.11.0'), dependency('xkbcommon', version : '>= 0.6.0')] | ||
3 | |||
4 | if (get_option('x11')) | ||
5 | efl_wl_deps += [ecore_x] | ||
6 | efl_wl_pub_deps += [dependency('xkbcommon-x11')] | ||
7 | endif | ||
8 | |||
9 | efl_wl_src = [ | ||
10 | 'dmabuf.c', | ||
11 | 'efl_wl.c' | ||
12 | ] | ||
13 | efl_wl_header_src = ['Efl_Wl.h'] | ||
14 | |||
15 | |||
16 | efl_wl_lib = library('efl_wl', | ||
17 | efl_wl_src, | ||
18 | dependencies: [m, dl] + efl_wl_deps + efl_wl_pub_deps, | ||
19 | include_directories : config_dir + [include_directories(join_paths('..','..'))], | ||
20 | install: true, | ||
21 | version : meson.project_version() | ||
22 | ) | ||
23 | |||
24 | efl_wl = declare_dependency( | ||
25 | include_directories: [include_directories('.')], | ||
26 | link_with: efl_wl_lib, | ||
27 | dependencies: efl_wl_pub_deps, | ||
28 | ) | ||
29 | |||
30 | install_headers(efl_wl_header_src, | ||
31 | install_dir : dir_package_include, | ||
32 | ) | ||
diff --git a/src/lib/efreet/meson.build b/src/lib/efreet/meson.build new file mode 100644 index 0000000000..fc4a232c38 --- /dev/null +++ b/src/lib/efreet/meson.build | |||
@@ -0,0 +1,96 @@ | |||
1 | efreet_header_src = [ | ||
2 | 'Efreet.h', | ||
3 | 'efreet_base.h', | ||
4 | 'efreet_desktop.h', | ||
5 | 'efreet_icon.h', | ||
6 | 'efreet_ini.h', | ||
7 | 'efreet_menu.h', | ||
8 | 'efreet_utils.h', | ||
9 | 'efreet_uri.h', | ||
10 | 'Efreet_Mime.h', | ||
11 | 'Efreet_Trash.h' | ||
12 | ] | ||
13 | |||
14 | efreet_src = [ | ||
15 | 'efreet.c', | ||
16 | 'efreet_base.c', | ||
17 | 'efreet_icon.c', | ||
18 | 'efreet_xml.c', | ||
19 | 'efreet_ini.c', | ||
20 | 'efreet_desktop.c', | ||
21 | 'efreet_desktop_command.c', | ||
22 | 'efreet_menu.c', | ||
23 | 'efreet_utils.c', | ||
24 | 'efreet_uri.c', | ||
25 | 'efreet_cache.c', | ||
26 | 'efreet_private.h', | ||
27 | 'efreet_xml.h', | ||
28 | 'efreet_cache_private.h' | ||
29 | ] | ||
30 | |||
31 | efreet_deps = [eet, ecore, ecore_con, ecore_file, eo, efl, eina, emile, ecore_ipc, buildsystem,intl] | ||
32 | efreet_pub_deps = [eina, eo, efl] | ||
33 | |||
34 | efreet_lib = library('efreet', | ||
35 | efreet_src, | ||
36 | dependencies: efreet_pub_deps + [m] + efreet_deps, | ||
37 | include_directories : config_dir + [include_directories('.')], | ||
38 | install: true, | ||
39 | c_args : [package_c_args, '-DDATA_DIR="'+dir_data+'"'], | ||
40 | version : meson.project_version() | ||
41 | ) | ||
42 | |||
43 | efreet = declare_dependency( | ||
44 | include_directories: [include_directories('.')], | ||
45 | link_with: efreet_lib, | ||
46 | dependencies: efreet_pub_deps, | ||
47 | ) | ||
48 | |||
49 | efreet_mime_lib = library('efreet_mime', | ||
50 | 'efreet_mime.c', | ||
51 | dependencies: efreet_pub_deps + [m, efreet, efreet_deps], | ||
52 | include_directories : config_dir + [include_directories('.')], | ||
53 | install: true, | ||
54 | c_args : package_c_args, | ||
55 | version : meson.project_version() | ||
56 | ) | ||
57 | |||
58 | |||
59 | efreet_mime = declare_dependency( | ||
60 | include_directories: [include_directories('.')], | ||
61 | link_with: efreet_mime_lib, | ||
62 | dependencies: efreet_pub_deps | ||
63 | ) | ||
64 | |||
65 | efreet_trash_lib = library('efreet_trash', | ||
66 | 'efreet_trash.c', | ||
67 | dependencies: efreet_pub_deps + [efreet, efreet_deps], | ||
68 | include_directories : config_dir + [include_directories('.')], | ||
69 | install: true, | ||
70 | c_args : package_c_args, | ||
71 | version : meson.project_version() | ||
72 | ) | ||
73 | |||
74 | efreet_trash = declare_dependency( | ||
75 | include_directories: [include_directories('.')], | ||
76 | link_with: efreet_trash_lib, | ||
77 | dependencies: efreet_pub_deps, | ||
78 | ) | ||
79 | |||
80 | install_headers(efreet_header_src, | ||
81 | install_dir : dir_package_include, | ||
82 | ) | ||
83 | |||
84 | pkgconfig.generate(efreet_mime_lib, | ||
85 | name : 'efreet-mime', | ||
86 | subdirs : package_version_name, | ||
87 | version : version_major + '.' + version_minor, | ||
88 | libraries : [tmp_deps] + tmp_pub_deps, | ||
89 | ) | ||
90 | |||
91 | pkgconfig.generate(efreet_trash_lib, | ||
92 | name : 'efreet-trash', | ||
93 | subdirs : package_version_name, | ||
94 | version : version_major + '.' + version_minor, | ||
95 | libraries : [tmp_deps] + tmp_pub_deps, | ||
96 | ) | ||
diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build new file mode 100644 index 0000000000..1d3bd51bed --- /dev/null +++ b/src/lib/eina/meson.build | |||
@@ -0,0 +1,398 @@ | |||
1 | eina_deps = [] | ||
2 | eina_pub_deps = [thread_dep] | ||
3 | |||
4 | public_sub_headers = [ | ||
5 | 'eina_promise.h', | ||
6 | 'eina_safety_checks.h', | ||
7 | 'eina_error.h', | ||
8 | 'eina_debug.h', | ||
9 | 'eina_debug_private.h', | ||
10 | 'eina_log.h', | ||
11 | 'eina_inline_log.x', | ||
12 | 'eina_fp.h', | ||
13 | 'eina_inline_f32p32.x', | ||
14 | 'eina_inline_f16p16.x', | ||
15 | 'eina_inline_f8p24.x', | ||
16 | 'eina_inline_fp.x', | ||
17 | 'eina_hash.h', | ||
18 | 'eina_inline_hash.x', | ||
19 | 'eina_lalloc.h', | ||
20 | 'eina_clist.h', | ||
21 | 'eina_inline_clist.x', | ||
22 | 'eina_inarray.h', | ||
23 | 'eina_inlist.h', | ||
24 | 'eina_inline_inlist.x', | ||
25 | 'eina_list.h', | ||
26 | 'eina_file.h', | ||
27 | 'eina_inline_file.x', | ||
28 | 'eina_mempool.h', | ||
29 | 'eina_module.h', | ||
30 | 'eina_rectangle.h', | ||
31 | 'eina_types.h', | ||
32 | 'eina_array.h', | ||
33 | 'eina_counter.h', | ||
34 | 'eina_inline_array.x', | ||
35 | 'eina_magic.h', | ||
36 | 'eina_stringshare.h', | ||
37 | 'eina_binshare.h', | ||
38 | 'eina_binbuf.h', | ||
39 | 'eina_ustringshare.h', | ||
40 | 'eina_inline_stringshare.x', | ||
41 | 'eina_inline_ustringshare.x', | ||
42 | 'eina_inline_list.x', | ||
43 | 'eina_accessor.h', | ||
44 | 'eina_convert.h', | ||
45 | 'eina_rbtree.h', | ||
46 | 'eina_benchmark.h', | ||
47 | 'eina_inline_rbtree.x', | ||
48 | 'eina_inline_mempool.x', | ||
49 | 'eina_inline_rectangle.x', | ||
50 | 'eina_inline_trash.x', | ||
51 | 'eina_thread.h', | ||
52 | 'eina_trash.h', | ||
53 | 'eina_iterator.h', | ||
54 | 'eina_main.h', | ||
55 | 'eina_cpu.h', | ||
56 | 'eina_inline_cpu.x', | ||
57 | 'eina_sched.h', | ||
58 | 'eina_tiler.h', | ||
59 | 'eina_hamster.h', | ||
60 | 'eina_matrixsparse.h', | ||
61 | 'eina_inline_tiler.x', | ||
62 | 'eina_str.h', | ||
63 | 'eina_inline_str.x', | ||
64 | 'eina_strbuf.h', | ||
65 | 'eina_ustrbuf.h', | ||
66 | 'eina_unicode.h', | ||
67 | 'eina_quadtree.h', | ||
68 | 'eina_simple_xml_parser.h', | ||
69 | 'eina_lock.h', | ||
70 | 'eina_prefix.h', | ||
71 | 'eina_refcount.h', | ||
72 | 'eina_mmap.h', | ||
73 | 'eina_xattr.h', | ||
74 | 'eina_value.h', | ||
75 | 'eina_inline_value.x', | ||
76 | 'eina_value_util.h', | ||
77 | 'eina_inline_value_util.x', | ||
78 | 'eina_inline_lock_barrier.x', | ||
79 | 'eina_inline_lock_posix.x', | ||
80 | 'eina_tmpstr.h', | ||
81 | 'eina_alloca.h', | ||
82 | 'eina_cow.h', | ||
83 | 'eina_inline_unicode.x', | ||
84 | 'eina_thread_queue.h', | ||
85 | 'eina_matrix.h', | ||
86 | 'eina_quad.h', | ||
87 | 'eina_crc.h', | ||
88 | 'eina_inline_crc.x', | ||
89 | 'eina_evlog.h', | ||
90 | 'eina_util.h', | ||
91 | 'eina_inline_util.x', | ||
92 | 'eina_quaternion.h', | ||
93 | 'eina_vector.h', | ||
94 | 'eina_inline_vector.x', | ||
95 | 'eina_bezier.h', | ||
96 | 'eina_safepointer.h', | ||
97 | 'eina_inline_safepointer.x', | ||
98 | 'eina_slice.h', | ||
99 | 'eina_inline_slice.x', | ||
100 | 'eina_inline_modinfo.x', | ||
101 | 'eina_freeq.h', | ||
102 | 'eina_slstr.h', | ||
103 | 'eina_vpath.h', | ||
104 | ] | ||
105 | |||
106 | public_headers = [ | ||
107 | 'Eina.h' | ||
108 | ] | ||
109 | |||
110 | sources = [ | ||
111 | 'eina_abi.c', | ||
112 | 'eina_accessor.c', | ||
113 | 'eina_array.c', | ||
114 | 'eina_benchmark.c', | ||
115 | 'eina_binbuf.c', | ||
116 | 'eina_binshare.c', | ||
117 | 'eina_convert.c', | ||
118 | 'eina_counter.c', | ||
119 | 'eina_cow.c', | ||
120 | 'eina_cpu.c', | ||
121 | 'eina_crc.c', | ||
122 | 'eina_debug.c', | ||
123 | 'eina_debug_bt.c', | ||
124 | 'eina_debug_bt_file.c', | ||
125 | 'eina_debug_chunk.c', | ||
126 | 'eina_debug_thread.c', | ||
127 | 'eina_debug_cpu.c', | ||
128 | 'eina_debug_timer.c', | ||
129 | 'eina_error.c', | ||
130 | 'eina_evlog.c', | ||
131 | 'eina_file_common.h', | ||
132 | 'eina_file_common.c', | ||
133 | 'eina_fp.c', |