meson build - simplify and cleanup evrything module
all done now! :)
This commit is contained in:
parent
5e59869a62
commit
7660a6aabc
|
@ -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
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@ module_includes = [ '../../..', '../../bin', '../../bin/efx' ]
|
|||
module_includes2 = [ '../..' , '../bin' , '../bin/efx' ]
|
||||
module_deps = [ deps_e, dep_dl ]
|
||||
|
||||
subdir('everything')
|
||||
|
||||
mods = [
|
||||
# standard run of the mill modules with cion and desktop
|
||||
'ibar',
|
||||
|
@ -14,6 +12,7 @@ mods = [
|
|||
'temperature',
|
||||
'mixer',
|
||||
'notification',
|
||||
'everything',
|
||||
'ibox',
|
||||
'start',
|
||||
'winlist',
|
||||
|
@ -63,6 +62,7 @@ mods = [
|
|||
'conf_display',
|
||||
'conf_bindings',
|
||||
# also standard modules with no icon or desktop file
|
||||
'xwayland',
|
||||
'lokker',
|
||||
'wl_x11',
|
||||
'wl_wl',
|
||||
|
@ -72,8 +72,7 @@ mods = [
|
|||
'wl_desktop_shell',
|
||||
'wl_weekeyboard',
|
||||
### XXX: disabled for now
|
||||
# 'wl_fb',
|
||||
'xwayland'
|
||||
# 'wl_fb'
|
||||
]
|
||||
|
||||
foreach m: mods
|
||||
|
|
Loading…
Reference in New Issue