Modular status panel for X11 and Wayland, inspired by
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
626 B

deco_sdk = declare_dependency(dependencies: [pixman, tllist, fcft])
decorations = []
foreach deco : ['background', 'border', 'stack', 'underline']
if plugs_as_libs
shared_module('@0@'.format(deco), '@0@.c'.format(deco),
dependencies: deco_sdk,
name_prefix: 'decoration_',
install: true,
install_dir: join_paths(get_option('libdir'), 'yambar'))
decorations += [declare_dependency(
sources: '@0@.c'.format(deco),
dependencies: deco_sdk,
compile_args: '-DHAVE_PLUGIN_@0@'.format(deco.underscorify()))]