meson.build (973B)
1 project( 2 'mail-client', 3 'rust', 4 version: '0.1.0', 5 meson_version: '>= 0.59', 6 ) 7 8 gnome = import('gnome') 9 10 cargo = find_program('cargo', required: true) 11 12 name = 'Email Client' 13 application_id = 'dev.nordgedanken.Email' 14 version = meson.project_version() 15 prefix = get_option('prefix') 16 bindir = prefix / get_option('bindir') 17 path_id = '/dev/nordgedanken/Email' 18 profile = get_option('profile') 19 datadir = prefix / get_option('datadir') 20 iconsdir = datadir / 'icons' 21 pkgdatadir = datadir / meson.project_name() 22 23 24 25 dependency('glib-2.0', version: '>= 2.66') 26 dependency('gio-2.0', version: '>= 2.66') 27 dependency('gtk4', version: '>= 4.8.0') 28 29 meson.add_dist_script( 30 'build-aux/dist-vendor.sh', 31 meson.project_build_root() / 'meson-dist' / meson.project_name() + '-' + version, 32 meson.project_source_root() 33 ) 34 35 subdir('data') 36 subdir('src') 37 38 gnome.post_install( 39 gtk_update_icon_cache: false, 40 glib_compile_schemas: false, 41 update_desktop_database: true, 42 )