summaryrefslogtreecommitdiff
path: root/data/elementary
diff options
context:
space:
mode:
Diffstat (limited to 'data/elementary')
-rw-r--r--data/elementary/config/default/meson.build7
-rw-r--r--data/elementary/config/meson.build21
-rw-r--r--data/elementary/config/mobile/meson.build7
-rw-r--r--data/elementary/config/standard/meson.build7
-rw-r--r--data/elementary/desktop/meson.build10
-rw-r--r--data/elementary/edje_externals/meson.build11
-rw-r--r--data/elementary/meson.build10
-rw-r--r--data/elementary/objects/meson.build42
-rw-r--r--data/elementary/themes/meson.build37
9 files changed, 152 insertions, 0 deletions
diff --git a/data/elementary/config/default/meson.build b/data/elementary/config/default/meson.build
new file mode 100644
index 0000000000..983eb9d8d4
--- /dev/null
+++ b/data/elementary/config/default/meson.build
@@ -0,0 +1,7 @@
1custom_target('config_'+config,
2 input: config_file,
3 output: 'base.cfg',
4 command: [eet_bin, '-i', '@OUTPUT@', 'config', '@INPUT@', '0'],
5 install: true,
6 install_dir: join_paths(dir_data, 'elementary', 'config', config),
7)
diff --git a/data/elementary/config/meson.build b/data/elementary/config/meson.build
new file mode 100644
index 0000000000..12a81ef03f
--- /dev/null
+++ b/data/elementary/config/meson.build
@@ -0,0 +1,21 @@
1configs = ['default', 'mobile', 'standard']
2
3foreach config : configs
4 config_file = join_paths(meson.current_source_dir(), config, 'base.src.in')
5 config_icon = join_paths(meson.current_source_dir(), config, 'icon.png')
6 config_desktop = join_paths(meson.current_source_dir(), config, 'profile.desktop')
7
8 install_data([config_icon, config_desktop],
9 install_dir : join_paths(dir_data, 'elementary', 'config', config)
10 )
11
12 subdir(config)
13endforeach
14
15custom_target('config_profile',
16 input: 'profile.src',
17 output: 'profile.cfg',
18 command: [eet_bin, '-i', '@OUTPUT@', 'config', '@INPUT@', '0'],
19 install: true,
20 install_dir: join_paths(dir_data, 'elementary', 'config'),
21)
diff --git a/data/elementary/config/mobile/meson.build b/data/elementary/config/mobile/meson.build
new file mode 100644
index 0000000000..c3a8a44de9
--- /dev/null
+++ b/data/elementary/config/mobile/meson.build
@@ -0,0 +1,7 @@
1 custom_target('config_'+config,
2 input: config_file,
3 output: 'base.cfg',
4 command: [eet_bin, '-i', '@OUTPUT@', 'config', '@INPUT@', '0'],
5 install: true,
6 install_dir: join_paths(dir_data, 'elementary', 'config', config),
7 )
diff --git a/data/elementary/config/standard/meson.build b/data/elementary/config/standard/meson.build
new file mode 100644
index 0000000000..c3a8a44de9
--- /dev/null
+++ b/data/elementary/config/standard/meson.build
@@ -0,0 +1,7 @@
1 custom_target('config_'+config,
2 input: config_file,
3 output: 'base.cfg',
4 command: [eet_bin, '-i', '@OUTPUT@', 'config', '@INPUT@', '0'],
5 install: true,
6 install_dir: join_paths(dir_data, 'elementary', 'config', config),
7 )
diff --git a/data/elementary/desktop/meson.build b/data/elementary/desktop/meson.build
new file mode 100644
index 0000000000..9acaa8f1fb
--- /dev/null
+++ b/data/elementary/desktop/meson.build
@@ -0,0 +1,10 @@
1desktop_files = files('elementary_config.desktop', 'elementary_test.desktop')
2elementary_icon = files('elementary.png')
3
4install_data(desktop_files,
5 install_dir : join_paths(dir_data, 'applications')
6)
7
8install_data(elementary_icon,
9 install_dir : join_paths(dir_data, 'icons', 'hicolor', '128x128', 'apps')
10)
diff --git a/data/elementary/edje_externals/meson.build b/data/elementary/edje_externals/meson.build
new file mode 100644
index 0000000000..cc24430052
--- /dev/null
+++ b/data/elementary/edje_externals/meson.build
@@ -0,0 +1,11 @@
1custom_target('edje_cc_edje_externals',
2 input : 'icons.edc',
3 output : '@BASENAME@.edj',
4 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta',
5 '-id', join_paths(meson.current_source_dir()),
6 '-id', elm_themes_image_include,
7 '@INPUT@', '@OUTPUT@'],
8 depends : edje_cc,
9 install : true,
10 install_dir : join_paths(dir_data, 'elementary', 'edje_externals'),
11)
diff --git a/data/elementary/meson.build b/data/elementary/meson.build
new file mode 100644
index 0000000000..ed7d1e4204
--- /dev/null
+++ b/data/elementary/meson.build
@@ -0,0 +1,10 @@
1subdir('config')
2subdir('desktop')
3subdir('themes')
4subdir('objects')
5subdir('edje_externals')
6
7install_subdir('images',
8 install_dir : join_paths(dir_data, 'elementary'),
9 exclude_files : ['Makefile.am']
10)
diff --git a/data/elementary/objects/meson.build b/data/elementary/objects/meson.build
new file mode 100644
index 0000000000..a25a719852
--- /dev/null
+++ b/data/elementary/objects/meson.build
@@ -0,0 +1,42 @@
1edc_files = [
2 'test.edc',
3 'test_external.edc',
4 'test_focus_style.edc',
5 'test_masking.edc',
6 'test_tab_pager.edc',
7 'test_tooltip.edc',
8 'test_prefs.edc',
9 'cursors.edc',
10 'font_preview.edc',
11 'multibuttonentry.edc',
12 'multip.edc',
13 'postit_ent.edc'
14]
15
16elm_themes = []
17
18foreach edc_file : edc_files
19 elm_themes += custom_target('edje_cc_elm_' + edc_file,
20 input : edc_file,
21 output : '@BASENAME@.edj',
22 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta',
23 '-sd', join_paths(meson.current_source_dir()),
24 '-id', elm_themes_image_include,
25 '-id', join_paths(meson.current_source_dir()),
26 '-fd', join_paths(meson.current_source_dir()),
27 '@INPUT@', '@OUTPUT@'],
28 depends : edje_cc,
29 install : true,
30 install_dir : join_paths(dir_data, 'elementary', 'objects'),
31 )
32endforeach
33
34custom_target('prefs_compile',
35 input: 'test_prefs.epc',
36 output: 'test_prefs.epb',
37 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', elm_prefs_cc.full_path(),
38 '@INPUT@', '@OUTPUT@'],
39 depends : elm_prefs_cc,
40 install : true,
41 install_dir : join_paths(dir_data, 'elementary', 'objects'),
42)
diff --git a/data/elementary/themes/meson.build b/data/elementary/themes/meson.build
new file mode 100644
index 0000000000..c8c8816470
--- /dev/null
+++ b/data/elementary/themes/meson.build
@@ -0,0 +1,37 @@
1edc_files = [
2 'default.edc',
3]
4
5elm_themes = []
6
7elm_themes_image_include = join_paths(meson.current_source_dir(), 'img')
8
9foreach edc_file : edc_files
10 elm_themes += custom_target('edje_cc_' + edc_file,
11 input : edc_file,
12 output : '@BASENAME@.edj',
13 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta',
14 '-sd', join_paths(meson.current_source_dir(), 'snd'),
15 '-id', elm_themes_image_include,
16 '-id', join_paths(meson.current_source_dir(), 'fdo'),
17 '-fd', join_paths(meson.current_source_dir(), 'fnt'),
18 '@INPUT@', '@OUTPUT@'],
19 depends : edje_cc,
20 install : true,
21 install_dir : join_paths(dir_data, 'elementary', 'themes'),
22 )
23endforeach
24
25install_subdir('fdo',
26 install_dir : join_paths(dir_data, 'icons', 'Enlightenment-X'),
27 strip_directory : true,
28 exclude_directories : [
29 join_paths('status', '128-svg'),
30 join_paths('places', '16-svg'),
31 join_paths('places', '128-svg'),
32 join_paths('emblems', '96-svg'),
33 join_paths('devices', '128-svg'),
34 join_paths('categories', '128-svg'),
35 join_paths('actions', '128-svg'),
36 ]
37)