Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar
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.
 
 
 

27 lines
1000 B

particle_sdk = declare_dependency(dependencies: [pixman, tllist, fcft])
particles = []
foreach particle : ['empty', 'list', 'map', 'progress-bar', 'ramp', 'string']
if plugs_as_libs
shared_module('@0@'.format(particle), '@0@.c'.format(particle),
dependencies: particle_sdk,
name_prefix: 'particle_',
install: true,
install_dir: join_paths(get_option('libdir'), 'yambar'))
else
particles += [declare_dependency(
sources: '@0@.c'.format(particle),
dependencies: particle_sdk,
compile_args: '-DHAVE_PLUGIN_@0@'.format(particle.underscorify()))]
endif
endforeach
dynlist_lib = build_target(
'dynlist', 'dynlist.c', 'dynlist.h', dependencies: particle_sdk,
target_type: plugs_as_libs ? 'shared_library' : 'static_library',
override_options : ['b_lundef=false'],
install: plugs_as_libs,
install_dir: get_option('libdir') + '/yambar',
)
dynlist = declare_dependency(link_with: dynlist_lib)