• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if get_option('shell-desktop')
2	config_h.set_quoted('WESTON_SHELL_CLIENT', get_option('desktop-shell-client-default'))
3
4	srcs_shell_desktop = [
5		'shell.c',
6		'exposay.c',
7		'input-panel.c',
8		weston_desktop_shell_server_protocol_h,
9		weston_desktop_shell_protocol_c,
10		input_method_unstable_v1_server_protocol_h,
11		input_method_unstable_v1_protocol_c,
12	]
13	deps_shell_desktop = [
14		dep_libm,
15		dep_libexec_weston,
16		dep_libshared,
17		dep_lib_desktop,
18		dep_libweston_public,
19	]
20	plugin_shell_desktop = shared_library(
21		'desktop-shell',
22		srcs_shell_desktop,
23		include_directories: common_inc,
24		dependencies: deps_shell_desktop,
25		name_prefix: '',
26		install: true,
27		install_dir: dir_module_weston,
28		install_rpath: '$ORIGIN'
29	)
30	env_modmap += 'desktop-shell.so=@0@;'.format(plugin_shell_desktop.full_path())
31endif
32