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
846 B

gadget_name = 'led_clock'
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
)
# Bytecompile gadget script
custom_target('__init__.pyc',
input : '__init__.py',
output : '__init__.pyc',
command : py3_bytecompile,
install_dir: install_dir,
install : true
)