forked from enlightenment/enlightenment
36 lines
876 B
Meson
36 lines
876 B
Meson
module = 'systray'
|
|
opt = 'systray'
|
|
conf = 'USE_MODULE_SYSTRAY'
|
|
|
|
src = [
|
|
'e_mod_main.c',
|
|
'e_mod_notifier_host.c',
|
|
'e_mod_notifier_host_dbus.c',
|
|
'e_mod_notifier_watcher.c',
|
|
'e_mod_main.h',
|
|
'e_mod_notifier_host_private.h'
|
|
]
|
|
|
|
icon = [
|
|
'e-module-' + module + '.edj',
|
|
'module.desktop'
|
|
]
|
|
|
|
dir_mod = join_paths(dir_module_e, module)
|
|
dir_mod_bin = join_paths(dir_mod, module_arch)
|
|
|
|
if get_option(opt) == true
|
|
config_h.set(conf, '1')
|
|
module_files += join_paths(dir_mod_bin, module + '.so')
|
|
|
|
install_data(icon, install_dir: dir_mod)
|
|
|
|
shared_module(module, src,
|
|
include_directories: include_directories(module_includes),
|
|
name_prefix : '',
|
|
dependencies : module_deps,
|
|
install_dir : dir_mod_bin,
|
|
install : true
|
|
)
|
|
endif
|