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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# for i in `ls *.c`; do echo " '${i}',"; done
zenity_sources = [
'about.c',
'calendar.c',
'color.c',
'entry.c',
'fileselection.c',
'forms.c',
'main.c',
'msg.c',
'notification.c',
'option.c',
'password.c',
'progress.c',
'scale.c',
'text.c',
'tree.c',
'util.c',
]
zenity_enums = gnome.mkenums_simple('zenity-enums',
sources: 'zenity.h',
)
zenity_res_conf = configuration_data()
zenity_res_conf.set('resource_base_path', resource_base_path)
zenity_res_in = configure_file(
input: 'zenity.gresource.xml.in',
output: 'zenity.gresource.xml',
configuration: zenity_res_conf
)
zenity_res = gnome.compile_resources(
'zenity-resources',
zenity_res_in,
c_name: 'zenity'
)
zenity_c_args = [
'-DG_LOG_DOMAIN="Zenity"'
]
zenity = executable(
meson.project_name(),
zenity_sources + zenity_enums + zenity_res,
include_directories: zenity_root_dir,
c_args: zenity_c_args,
dependencies: adw_dep,
install: true
)
|