33 ' c' ,
44 version : ' 1.6' ,
55 license : ' MIT' ,
6- meson_version : ' >=0.48 .0' ,
6+ meson_version : ' >=0.50 .0' ,
77 default_options : [
88 ' c_std=c11' ,
99 ' warning_level=2' ,
@@ -27,6 +27,8 @@ sysconfdir = get_option('sysconfdir')
2727prefix = get_option (' prefix' )
2828is_freebsd = host_machine .system().startswith(' freebsd' )
2929
30+ subdir (' po' )
31+
3032add_project_arguments (
3133 ' -DSYSCONFDIR="/@0@"' .format(join_paths (prefix, sysconfdir)),
3234 language : ' c' )
@@ -38,13 +40,15 @@ endif
3840wayland_client = dependency (' wayland-client' )
3941wayland_protos = dependency (' wayland-protocols' , version : ' >=1.14' )
4042xkbcommon = dependency (' xkbcommon' )
43+ xkeyboard_config = dependency (' xkeyboard-config' )
4144cairo = dependency (' cairo' )
4245gdk_pixbuf = dependency (' gdk-pixbuf-2.0' , required : get_option (' gdk-pixbuf' ))
4346bash_comp = dependency (' bash-completion' , required : false )
4447fish_comp = dependency (' fish' , required : false )
4548libpam = cc.find_library (' pam' , required : get_option (' pam' ))
4649crypt = cc.find_library (' crypt' , required : not libpam.found())
4750math = cc.find_library (' m' )
51+ intl = cc.find_library (' intl' , required : false )
4852
4953git = find_program (' git' , required : false )
5054scdoc = find_program (' scdoc' , required : get_option (' man-pages' ))
@@ -116,6 +120,7 @@ dependencies = [
116120 cairo,
117121 client_protos,
118122 gdk_pixbuf,
123+ intl,
119124 math,
120125 xkbcommon,
121126 wayland_client,
0 commit comments