3
3
' c' ,
4
4
version : ' 1.6' ,
5
5
license : ' MIT' ,
6
- meson_version : ' >=0.48 .0' ,
6
+ meson_version : ' >=0.50 .0' ,
7
7
default_options : [
8
8
' c_std=c11' ,
9
9
' warning_level=2' ,
@@ -27,6 +27,8 @@ sysconfdir = get_option('sysconfdir')
27
27
prefix = get_option (' prefix' )
28
28
is_freebsd = host_machine .system().startswith(' freebsd' )
29
29
30
+ subdir (' po' )
31
+
30
32
add_project_arguments (
31
33
' -DSYSCONFDIR="/@0@"' .format(join_paths (prefix, sysconfdir)),
32
34
language : ' c' )
@@ -38,13 +40,15 @@ endif
38
40
wayland_client = dependency (' wayland-client' )
39
41
wayland_protos = dependency (' wayland-protocols' , version : ' >=1.14' )
40
42
xkbcommon = dependency (' xkbcommon' )
43
+ xkeyboard_config = dependency (' xkeyboard-config' )
41
44
cairo = dependency (' cairo' )
42
45
gdk_pixbuf = dependency (' gdk-pixbuf-2.0' , required : get_option (' gdk-pixbuf' ))
43
46
bash_comp = dependency (' bash-completion' , required : false )
44
47
fish_comp = dependency (' fish' , required : false )
45
48
libpam = cc.find_library (' pam' , required : get_option (' pam' ))
46
49
crypt = cc.find_library (' crypt' , required : not libpam.found())
47
50
math = cc.find_library (' m' )
51
+ intl = cc.fing_library(' intl' , required : false )
48
52
49
53
git = find_program (' git' , required : false )
50
54
scdoc = find_program (' scdoc' , required : get_option (' man-pages' ))
@@ -116,6 +120,7 @@ dependencies = [
116
120
cairo,
117
121
client_protos,
118
122
gdk_pixbuf,
123
+ intl,
119
124
math,
120
125
xkbcommon,
121
126
wayland_client,
0 commit comments