-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathmeson.build
More file actions
34 lines (29 loc) · 797 Bytes
/
meson.build
File metadata and controls
34 lines (29 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
project('gtkdialog', 'c', version: '0.8.5', license: 'GPLv2')
gthread = dependency('gthread-2.0')
gtkver = get_option('gtkver')
if gtkver == 3
gtk = dependency('gtk+-3.0')
vte = dependency('vte-2.91', required: false)
gtk_layer_shell = dependency('gtk-layer-shell-0', required: false)
if not gtk_layer_shell.found()
proj = subproject(
'gtk-layer-shell',
default_options: ['default_library=static', 'introspection=false'],
required: false,
)
if proj.found()
gtk_layer_shell = proj.get_variable('gtk_layer_shell')
endif
endif
else
gtk = dependency('gtk+-2.0')
vte = dependency('vte', required: false)
endif
if get_option('docs')
subdir('doc')
install_subdir(
'examples', install_dir : join_paths(get_option('datadir'), 'doc')
)
endif
subdir('src')
subdir('data')