-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
44 lines (37 loc) · 1.09 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
41
42
43
44
project(
'gnome-desktop-branding',
['c'],
version: '18',
license: [
'GPL-2.0-only',
],
default_options: [
'prefix=/usr',
'sysconfdir=/etc',
],
)
meson.add_install_script('meson_post_install.sh')
path_prefix = get_option('prefix')
path_datadir = join_paths(path_prefix, get_option('datadir'))
path_schemadir = join_paths(path_datadir, 'glib-2.0', 'schemas')
# Solusism
path_envdir = get_option('with-profile-dir')
if path_envdir == ''
path_envdir = join_paths(path_datadir, 'defaults', 'etc', 'profile.d')
endif
subdir('env')
subdir('schemas')
report = [
' Build configuration:',
' ====================',
'',
' prefix: @0@'.format(path_prefix),
' datadir: @0@'.format(path_datadir),
' environment dir: @0@'.format(path_envdir),
]
# Output some stuff to validate the build config
message('\n\n\n' + '\n'.join(report) + '\n\n')
install_data(
'gnome-mimeapps.list',
install_dir: join_paths(path_datadir, 'applications')
)