21 lines
449 B
Meson
21 lines
449 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)
|