meson: modify install pathes for modules of ecore_buffer

there are differences between meson and autotools.
autotools installs them under ${libdir}/ecore_buffer/modules/module/version/ as module.so

Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7837
This commit is contained in:
Wonki Kim 2019-02-21 09:50:18 +00:00 committed by Marcel Hollerbach
parent 120e247fa0
commit b37c72a95a
3 changed files with 15 additions and 9 deletions

View File

@ -1,5 +1,7 @@
ecore_buffer_shm_mod = shared_module('ecore_buffer_shm_mod',
ecore_buffer_shm_mod = shared_module('module',
'ecore_buffer_shm.c',
name_prefix: '',
dependencies: [ecore, ecore_buffer],
install: true
)
install: true,
install_dir: join_paths(dir_lib, 'ecore_buffer', 'modules', 'shm', version_name)
)

View File

@ -1,5 +1,7 @@
ecore_buffer_x11_dri2_mod = shared_module('ecore_buffer_x11_dri2_mod',
ecore_buffer_x11_dri2_mod = shared_module('module',
'ecore_buffer_x11_dri2.c',
name_prefix: '',
dependencies: [ecore, ecore_buffer, ecore_x],
install: true
)
install: true,
install_dir: join_paths(dir_lib, 'ecore_buffer', 'modules', 'x11_dri2', version_name)
)

View File

@ -1,7 +1,9 @@
if dependency('libtbm', required: false).found() == true and dependency('libdrm', required: false).found()
ecore_buffer_x11_dri3_mod = shared_module('ecore_buffer_x11_dri3_mod',
ecore_buffer_x11_dri3_mod = shared_module('module',
'ecore_buffer_x11_dri3.c',
name_prefix: '',
dependencies: [ecore, ecore_buffer, ecore_x],
install: true
install: true,
install_dir: join_paths(dir_lib, 'ecore_buffer', 'modules', 'x11_dri3', version_name)
)
endif
endif