-
Notifications
You must be signed in to change notification settings - Fork 2
/
meson.build
43 lines (37 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
40
41
42
43
project(
'plasma-desktop-branding',
['c'],
version: '4.6.0',
license: [
'Apache-2.0',
],
default_options: [
'prefix=/usr',
'sysconfdir=/etc',
],
)
path_prefix = get_option('prefix')
path_datadir = join_paths(path_prefix, get_option('datadir'))
path_livecddir = join_paths(path_datadir, 'livecd')
path_schemadir = join_paths(path_datadir, 'glib-2.0', 'schemas')
# Solusism
path_envdir = get_option('with-env-dir')
if path_envdir == ''
path_envdir = join_paths(path_datadir, 'xdg', 'plasma-workspace', 'env')
endif
subdir('env')
subdir('solus-desktoptheme')
subdir('schemas')
subdir('sddm')
subdir('xdg')
report = [
' Build configuration:',
' ====================',
'',
' prefix: @0@'.format(path_prefix),
' datadir: @0@'.format(path_datadir),
' envdir: @0@'.format(path_envdir),
' livecddir: @0@'.format(path_livecddir),
]
# Output some stuff to validate the build config
message('\n\n\n' + '\n'.join(report) + '\n\n')