-
Notifications
You must be signed in to change notification settings - Fork 3
/
meson.build
38 lines (33 loc) · 923 Bytes
/
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
project(
'plasma-desktop-branding',
['c'],
version: '1',
license: [
'GPL-2.0',
],
default_options: [
'prefix=/usr',
'sysconfdir=/etc',
],
)
path_prefix = get_option('prefix')
path_datadir = join_paths(path_prefix, get_option('datadir'))
# Solusism
path_envdir = get_option('with-env-dir')
if path_envdir == ''
path_envdir = join_paths(path_datadir, 'xdg', 'plasma-workspace', 'env')
endif
subdir('applications')
subdir('env')
subdir('sddm')
subdir('xdg')
report = [
' Build configuration:',
' ====================',
'',
' prefix: @0@'.format(path_prefix),
' datadir: @0@'.format(path_datadir),
' envdir: @0@'.format(path_envdir),
]
# Output some stuff to validate the build config
message('\n\n\n' + '\n'.join(report) + '\n\n')