summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson_options.txt4
-rw-r--r--src/modules/ecore_imf/meson.build5
2 files changed, 7 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt
index dd9fa01dcf..13124c1b76 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -109,7 +109,7 @@ option('crypto',
109 109
110option('glib', 110option('glib',
111 type : 'boolean', 111 type : 'boolean',
112 value : true, 112 value : false,
113 description : 'Main loop integration for glib in efl' 113 description : 'Main loop integration for glib in efl'
114) 114)
115 115
@@ -197,7 +197,7 @@ option('ecore-imf-loaders-disabler',
197 type : 'array', 197 type : 'array',
198 description : 'List of input methods to disable in efl', 198 description : 'List of input methods to disable in efl',
199 choices : ['xim', 'ibus', 'scim'], 199 choices : ['xim', 'ibus', 'scim'],
200 value : ['scim'] 200 value : ['ibus']
201) 201)
202 202
203option('emotion-loaders-disabler', 203option('emotion-loaders-disabler',
diff --git a/src/modules/ecore_imf/meson.build b/src/modules/ecore_imf/meson.build
index b8a495a280..72154d521d 100644
--- a/src/modules/ecore_imf/meson.build
+++ b/src/modules/ecore_imf/meson.build
@@ -16,6 +16,11 @@ foreach mod_name : mods
16 mod_deps = [] 16 mod_deps = []
17 17
18 if loader_disabler.contains(mod_name) == false 18 if loader_disabler.contains(mod_name) == false
19 if mod_name == 'ibus'
20 if get_option('glib') == false
21 error('Need glib enabled if ibus is enabled')
22 endif
23 endif
19 mod_install_dir = join_paths(dir_package_modules, mod_name, version_name) 24 mod_install_dir = join_paths(dir_package_modules, mod_name, version_name)
20 subdir(mod_name) 25 subdir(mod_name)
21 module_files += join_paths(mod_install_dir, 'lib'+mod_name+'.'+sys_mod_extension) 26 module_files += join_paths(mod_install_dir, 'lib'+mod_name+'.'+sys_mod_extension)