er2cord/data/meson.build
2021-11-07 20:14:25 +03:00

21 lines
448 B
Meson

gnome = import('gnome')
i18n = import('i18n')
sch = gnome.compile_schemas(depend_files: 'gschema.xml')
res = gnome.compile_resources(
'res', 'gresource.xml',
source_dir: 'data',
c_name: 'as'
)
source += res
source += sch
schemas_dir = datadir /'glib-2.0'/'schemas'
install_data(
'gschema.xml',
install_dir: schemas_dir,
rename: [meson.project_name() + '.gschema.xml']
)
meson.add_install_script('glib-compile-schemas', schemas_dir)