mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-19 19:25:41 +02:00
meson: modules: dictionaries can be added
This commit is contained in:
parent
a7e32f6a07
commit
89538f96fa
1 changed files with 1 additions and 21 deletions
|
@ -22,7 +22,7 @@ deps = {
|
|||
}
|
||||
|
||||
if backend_x11
|
||||
deps_x11_only = {
|
||||
deps += {
|
||||
'xkb': [[], [xcb_stuff, xcb_xkb]],
|
||||
'xwindow': [[], [xcb_stuff]],
|
||||
}
|
||||
|
@ -45,23 +45,3 @@ foreach mod, data : deps
|
|||
compile_args: '-DHAVE_PLUGIN_@0@'.format(mod))]
|
||||
endif
|
||||
endforeach
|
||||
|
||||
if backend_x11
|
||||
foreach mod, data : deps_x11_only
|
||||
sources = data[0]
|
||||
dep = data[1]
|
||||
|
||||
if plugs_as_libs
|
||||
shared_module(mod, '@0@.c'.format(mod), sources,
|
||||
dependencies: [module_sdk] + dep,
|
||||
name_prefix: 'module_',
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('libdir'), 'f00bar'))
|
||||
else
|
||||
modules += [declare_dependency(
|
||||
sources: ['@0@.c'.format(mod)] + sources,
|
||||
dependencies: [module_sdk] + dep,
|
||||
compile_args: '-DHAVE_PLUGIN_@0@'.format(mod))]
|
||||
endif
|
||||
endforeach
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue