project( 'baobab', ['vala', 'c'], version: '45.alpha', license: 'GPL2+', meson_version: '>= 0.59.0', ) gnome = import('gnome') i18n = import('i18n') python = import('python') glib = dependency('glib-2.0', version: '>=2.44') gio = dependency('gio-2.0', version: '>=2.44') gobject = dependency('gobject-2.0', version: '>=2.44') gtk = dependency('gtk4', version: '>=4.4.0') libhandy = dependency('libadwaita-1', version: '>=1.2.alpha') cc = meson.get_compiler('c') math = cc.find_library('m', required: false) conf = configuration_data() conf.set_quoted('VERSION', meson.project_version()) conf.set_quoted('GETTEXT_PACKAGE', meson.project_name()) conf.set_quoted('GNOMELOCALEDIR', join_paths(get_option('prefix'), get_option('localedir'))) configure_file(output: 'config.h', configuration: conf) config_h_dir = include_directories('.') gnome.post_install( glib_compile_schemas: true, gtk_update_icon_cache: true, update_desktop_database: true, ) add_project_arguments( '--disable-since-check', language: 'vala' ) subdir('data') subdir('help') subdir('po') subdir('src')