description : 'The name of the directory for user supplied elementary data files like themes, config files'
)
-option('tbm',
+option('install-eo-files',
type: 'boolean',
- value: true,
- description: 'enable tbm'
+ value: false,
+ description : 'Install any eo file'
)
-option('tizen_audio',
+option('tizen',
type: 'boolean',
- value: true,
- description: 'enable tizen audio'
+ value: false,
+ description: 'enable tizen specific dependancy'
)
-option('install-eo-files',
+option('tbm',
type: 'boolean',
value: false,
- description : 'Install any eo file'
-)
+ description: 'tbm engine'
+)
\ No newline at end of file
export DESTDIR=%{buildroot}
meson setup \
+ -Dtizen=true -Dtbm=true \
-Davahi=false -Dx11=false -Dfb=true -Dwl=true -Dbuffer=true -Dphysics=false -Dopengl=es-egl \
-Dbuild-examples=false -Dbuild-tests=false -Dgstreamer=false -Dsystemd=false -Dpulseaudio=false \
-Dtslib=false -Dhyphen=true -Delua=false -Dwl-deprecated=true -Dbindings=[] -Dinstall-eo-files=true \
config_h.set('HAVE_PULSE', '1')
endif
-if get_option('tizen_audio')
+if get_option('tizen')
ecore_audio_header_src += [
'ecore_audio_obj_out_tizen.h'
]
elementary_pub_deps = [eina, eet, evas, ecore, ecore_evas, ecore_file, ecore_input, ecore_imf, ecore_con,
edje, eldbus, efreet, efreet_mime, efreet_trash, ethumb_client, efl, elocation]
-#<--TIZEN_ONLY
-#elementary_deps += ecore_wl2
-elementary_pub_deps += [dl, thread_dep, ecore_wayland, ecore_wl2]
-#TIZEN_ONLY-->
+
+#FIXME this dependancy looks weired
+if get_option('tizen')
+ elementary_pub_deps += [dl, thread_dep, ecore_wayland, ecore_wl2]
+endif
elm_options = configuration_data()
engine_src = files(['ecore_evas_extn.c', 'ecore_evas_extn_buf.c', 'ecore_evas_extn_engine.h'])
engine_deps = [ecore_input, ecore_ipc]
-# TIZEN_ONLY
-engine_deps += [ecore_wl2, dependency('tizen-extension-client')]
-# END
+if get_option('tizen')
+ engine_deps += [ecore_wl2, dependency('tizen-extension-client')]
+endif
shared_module(mod_full_name, engine_src,
include_directories : config_dir + [engine_include_dir],
['sdl', ['sdl']],
['wayland', ['wl']],
['x', ['x11']],
-]
-
-engines += [
- ['tbm', ['tbm']],
+['tbm', ['tbm']],
]
if sys_windows == false
engines += [['wayland_egl', ['wl']]]
endif
-#<----TIZEN_ONLY
-if get_option('tbm') == true
+if get_option('tizen') == true
engines += [
['gl_tbm', []],
['software_tbm', []],
]
endif
-#TIZEN_ONLY---->
+
foreach engine_conf : engines
engine = engine_conf[0]