2016-11-24 18:54:51 +03:00
|
|
|
if get_option('shell-desktop')
|
|
|
|
config_h.set_quoted('WESTON_SHELL_CLIENT', get_option('desktop-shell-client-default'))
|
|
|
|
|
|
|
|
srcs_shell_desktop = [
|
|
|
|
'shell.c',
|
|
|
|
'exposay.c',
|
|
|
|
'input-panel.c',
|
|
|
|
weston_desktop_shell_server_protocol_h,
|
|
|
|
weston_desktop_shell_protocol_c,
|
|
|
|
input_method_unstable_v1_server_protocol_h,
|
|
|
|
input_method_unstable_v1_protocol_c,
|
|
|
|
]
|
|
|
|
deps_shell_desktop = [
|
2019-10-17 16:17:57 +03:00
|
|
|
dep_libm,
|
2016-11-24 18:54:51 +03:00
|
|
|
dep_libshared,
|
|
|
|
dep_lib_desktop,
|
2019-04-18 16:43:55 +03:00
|
|
|
dep_libweston_public,
|
2016-11-24 18:54:51 +03:00
|
|
|
]
|
|
|
|
plugin_shell_desktop = shared_library(
|
|
|
|
'desktop-shell',
|
|
|
|
srcs_shell_desktop,
|
2019-04-05 17:09:28 +03:00
|
|
|
include_directories: common_inc,
|
2016-11-24 18:54:51 +03:00
|
|
|
dependencies: deps_shell_desktop,
|
|
|
|
name_prefix: '',
|
|
|
|
install: true,
|
|
|
|
install_dir: dir_module_weston
|
|
|
|
)
|
|
|
|
env_modmap += 'desktop-shell.so=@0@;'.format(plugin_shell_desktop.full_path())
|
|
|
|
endif
|