parent
5e59869a62
commit
7660a6aabc
2 changed files with 47 additions and 70 deletions
@ -1,70 +1,48 @@ |
||||
everything_dist = [ |
||||
'e-module-everything.edj', |
||||
'e-module-everything-start.edj', |
||||
'module.desktop', |
||||
] |
||||
src = files( |
||||
'e_mod_main.c', |
||||
'evry.c', |
||||
'evry_config.c', |
||||
'evry_gadget.c', |
||||
'evry_history.c', |
||||
'evry_plug_actions.c', |
||||
'evry_plug_aggregator.c', |
||||
'evry_plug_apps.c', |
||||
'evry_plug_calc.c', |
||||
'evry_plug_clipboard.c', |
||||
'evry_plug_collection.c', |
||||
'evry_plug_files.c', |
||||
'evry_plugin.c', |
||||
'evry_plug_settings.c', |
||||
'evry_plug_text.c', |
||||
'evry_plug_windows.c', |
||||
'evry_util.c', |
||||
'evry_view.c', |
||||
'evry_view_help.c', |
||||
'evry_view_tabs.c', |
||||
'md5.c', |
||||
'e_mod_main.h', |
||||
'evry_api.h', |
||||
'evry_types.h', |
||||
'md5.h' |
||||
) |
||||
|
||||
everything_src = [ |
||||
'e_mod_main.c', |
||||
'evry.c', |
||||
'evry_config.c', |
||||
'evry_gadget.c', |
||||
'evry_history.c', |
||||
'evry_plug_actions.c', |
||||
'evry_plug_aggregator.c', |
||||
'evry_plug_apps.c', |
||||
'evry_plug_calc.c', |
||||
'evry_plug_clipboard.c', |
||||
'evry_plug_collection.c', |
||||
'evry_plug_files.c', |
||||
'evry_plugin.c', |
||||
'evry_plug_settings.c', |
||||
'evry_plug_text.c', |
||||
'evry_plug_windows.c', |
||||
'evry_util.c', |
||||
'evry_view.c', |
||||
'evry_view_help.c', |
||||
'evry_view_tabs.c', |
||||
'md5.c', |
||||
'e_mod_main.h', |
||||
'evry_api.h', |
||||
'evry_types.h', |
||||
'md5.h', |
||||
] |
||||
data = [ 'e-module-everything-start.edj' ] |
||||
|
||||
everything_dir = join_paths(dir_module_e, 'everything', module_arch) |
||||
if get_option('everything') == true |
||||
config_h.set('USE_MODULE_EVERYTHING', '1') |
||||
|
||||
install_data(everything_dist, |
||||
install_dir: join_paths(dir_module_e, 'everything') |
||||
) |
||||
|
||||
module_files += join_paths(everything_dir, 'everything.so') |
||||
shared_module('everything', |
||||
everything_src, |
||||
include_directories: include_directories(module_includes), |
||||
name_prefix: '', |
||||
dependencies: module_deps, |
||||
install_dir: everything_dir, |
||||
install: true |
||||
) |
||||
|
||||
install_headers(['evry_api.h', 'evry_types.h'], |
||||
subdir: 'enlightenment' |
||||
) |
||||
pkgconfig.generate( |
||||
name: 'e17-everything', |
||||
description: 'Everything module for Enlightenment', |
||||
filebase: 'everything', |
||||
subdirs: 'enlightenment', |
||||
requires: 'enlightenment', |
||||
version: e_version_rev, |
||||
install_dir: dir_pkgconfig, |
||||
variables: [ |
||||
'exec_prefix=${prefix}', |
||||
'plugindir=${libdir}/enlightenment/modules/everything/plugins' |
||||
] |
||||
) |
||||
if get_option(m) == true |
||||
install_headers([ 'evry_api.h', 'evry_types.h' ], |
||||
subdir: 'enlightenment' |
||||
) |
||||
pkgconfig.generate(name: 'e17-everything', |
||||
description: 'Everything module for Enlightenment', |
||||
filebase : 'everything', |
||||
subdirs : 'enlightenment', |
||||
requires : 'enlightenment', |
||||
version : e_version_rev, |
||||
install_dir: dir_pkgconfig, |
||||
variables : [ |
||||
'exec_prefix=${prefix}', |
||||
'plugindir=${libdir}/enlightenment/modules/everything/plugins' |
||||
] |
||||
) |
||||
endif |
||||
|
||||
|
Loading…
Reference in new issue