description : 'The name of the directory for user supplied elementary data files like themes, config files'
)
-option('install-eo-files',
+option('tbm',
type: 'boolean',
- value: false,
- description : 'Install any eo file'
+ value: true,
+ description: 'enable tbm'
)
-option('tizen',
+option('tizen_audio',
type: 'boolean',
- value: false,
- description: 'enable tizen specific dependancy'
+ value: true,
+ description: 'enable tizen audio'
)
-option('tbm',
+option('install-eo-files',
type: 'boolean',
value: false,
- description: 'tbm engine'
-)
\ No newline at end of file
+ description : 'Install any eo 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')
+if get_option('tizen_audio')
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]
-
-#FIXME this dependancy looks weired
-if get_option('tizen')
- elementary_pub_deps += [dl, thread_dep, ecore_wayland, ecore_wl2]
-endif
+#<--TIZEN_ONLY
+#elementary_deps += ecore_wl2
+elementary_pub_deps += [dl, thread_dep, ecore_wayland, ecore_wl2]
+#TIZEN_ONLY-->
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]
-if get_option('tizen')
- engine_deps += [ecore_wl2, dependency('tizen-extension-client')]
-endif
+# TIZEN_ONLY
+engine_deps += [ecore_wl2, dependency('tizen-extension-client')]
+# END
shared_module(mod_full_name, engine_src,
include_directories : config_dir + [engine_include_dir],
['sdl', ['sdl']],
['wayland', ['wl']],
['x', ['x11']],
-['tbm', ['tbm']],
+]
+
+engines += [
+ ['tbm', ['tbm']],
]
if sys_windows == false
engines += [['wayland_egl', ['wl']]]
endif
-if get_option('tizen') == true
+#<----TIZEN_ONLY
+if get_option('tbm') == true
engines += [
['gl_tbm', []],
['software_tbm', []],
]
endif
-
+#TIZEN_ONLY---->
foreach engine_conf : engines
engine = engine_conf[0]