-
Notifications
You must be signed in to change notification settings - Fork 1
/
meson.build
39 lines (33 loc) · 1.12 KB
/
meson.build
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
project('gswatcher', 'c', 'vala',
version: '1.7.1',
meson_version: '>= 0.61.2',
)
gnome = import('gnome')
i18n = import('i18n')
vala_compiler = meson.get_compiler('vala')
conf_data = configuration_data({
'app_id': 'io.github.lxndr.gswatcher',
'app_name': 'Game Server Watcher',
'app_summary': 'A simple game server monitor and an administrative tool.',
'app_exec': meson.project_name(),
'app_version': meson.project_version(),
'app_homepage': 'https://github.com/lxndr/gswatcher',
'app_bugtracker': 'https://github.com/lxndr/gswatcher/issues',
'app_log_domain': 'Gsw',
'locale_dir': join_paths(get_option('prefix'), get_option('localedir')),
'vala_version': vala_compiler.version(),
'iso_flags_dir_name': get_option('iso-flags-dir-name'),
'game_icon_ext': get_option('game-icon-ext'),
})
gsw_datadir = join_paths(get_option('datadir'), meson.project_name())
subdir('data')
subdir('src')
subdir('po')
if get_option('tests')
subdir('tests')
endif
gnome.post_install(
gtk_update_icon_cache: true,
glib_compile_schemas: true,
update_desktop_database: host_machine.system() not in ['darwin', 'windows'],
)