-
Notifications
You must be signed in to change notification settings - Fork 83
/
meson.build
40 lines (33 loc) · 1.38 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
40
project('warpinator', 'c', version : '1.8.6', meson_version : '>=0.47.0')
RPC_API_VERSION = '2'
i18n = import('i18n')
gettext_package = meson.project_name()
locale_dir = join_paths(get_option('prefix'), get_option('localedir'))
install_datadir = join_paths(get_option('prefix'), get_option('datadir'), 'warpinator')
install_libdir = join_paths(get_option('prefix'), get_option('libexecdir'), 'warpinator')
install_bindir = join_paths(get_option('prefix'), get_option('bindir'))
meson_source_root = meson.current_source_dir()
include_firewall_mod = get_option('include-firewall-mod')
bundle_zeroconf = get_option('bundle-zeroconf')
bundle_landlock = get_option('bundle-landlock')
bundle_grpc = get_option('bundle-grpc')
subdir('data')
subdir('src')
subdir('bin')
subdir('po')
subdir('resources')
subdir('install-scripts')
message('\n'.join(['',
'',
' @0@-@1@'.format(meson.project_name(), meson.project_version()),
'',
' prefix: @0@'.format(get_option('prefix')),
' source code location: @0@'.format(meson_source_root),
'',
' building for flatpak: @0@'.format(get_option('flatpak-build')),
' including ufw script: @0@'.format(include_firewall_mod),
' bundling zeroconf: @0@'.format(bundle_zeroconf and not get_option('flatpak-build')),
' bundling landlock: @0@'.format(bundle_landlock),
' bundling grpc: @0@'.format(bundle_grpc),
'',
]))