meson: More build fixes

- Fix installing various data files
- Build translations
This commit is contained in:
Patrick Griffis
2016-12-06 08:07:03 -05:00
committed by Matthias Clasen
parent fe2a9887a8
commit a690e2a375
6 changed files with 178 additions and 12 deletions

View File

@@ -83,4 +83,15 @@ glib_genmarshal = executable('glib-genmarshal',
c_args : ['-DHAVE_CONFIG_H=1'],
dependencies : [libglib_dep, libgobject_dep])
install_data('gobject.py', install_dir : glib_pkgdatadir + '/gdb')
gdb_conf = configuration_data()
gdb_conf.set('datadir', glib_datadir)
configure_file(
input: 'libgobject-gdb.py.in',
output: 'libgobject-2.0.so.@0@-gdb.py'.format(library_version),
configuration: gdb_conf,
install: true,
install_dir: get_option('datadir') + '/gdb/auto-load/' + glib_libdir
)
subdir('tests')