gadget_name = 'cpu' install_dir = join_paths(gadgets_install_dir, gadget_name) # build gadget_name.edj custom_target(gadget_name + '.edj', input : gadget_name + '.edc', output : gadget_name + '.edj', command : [edje_cc, '-id', meson.current_source_dir() / 'images', '-fd', meson.current_source_dir() / 'fonts', '@INPUT@', '@OUTPUT@'], install_dir: install_dir, install : true ) # TODO: bytecompile gadget __init__.py install_data('__init__.py', install_dir: install_dir)