Bump meson requirement to 0.57, drop most of postinstall for new gnome module functions
This commit is contained in:
parent
304c7635da
commit
8948a8ec9f
3 changed files with 8 additions and 10 deletions
|
@ -1,12 +1,13 @@
|
|||
project('koto', 'c',
|
||||
version: '0.1.0',
|
||||
meson_version: '>= 0.50.0',
|
||||
meson_version: '>= 0.57.0',
|
||||
default_options: [ 'warning_level=2',
|
||||
'c_std=gnu11',
|
||||
],
|
||||
)
|
||||
|
||||
i18n = import('i18n')
|
||||
gnome = import('gnome')
|
||||
|
||||
config_h = configuration_data()
|
||||
config_h.set_quoted('PACKAGE_VERSION', meson.project_version())
|
||||
|
@ -17,11 +18,15 @@ configure_file(
|
|||
configuration: config_h,
|
||||
)
|
||||
add_project_arguments([
|
||||
'-I' + meson.build_root(),
|
||||
'-I' + meson.current_build_dir(),
|
||||
], language: 'c')
|
||||
|
||||
subdir('data')
|
||||
subdir('src')
|
||||
subdir('po')
|
||||
|
||||
gnome.post_install(
|
||||
glib_compile_schemas: true,
|
||||
gtk_update_icon_cache: true
|
||||
)
|
||||
meson.add_install_script('build-aux/meson/postinstall.py')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue