forked from GNOME/cantarell-fonts
-
Notifications
You must be signed in to change notification settings - Fork 2
/
meson.build
29 lines (25 loc) · 903 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
project('cantarell-fonts', version : '0.303')
datadir = join_paths(get_option('prefix'), get_option('datadir'))
appdatadir = join_paths(datadir, 'metainfo')
fontsdir = get_option('fontsdir')
if fontsdir == ''
fontsdir = join_paths(datadir, 'fonts', 'cantarell')
endif
useprebuilt = get_option('useprebuilt')
if useprebuilt == false
python3 = import('python').find_installation('python3')
if get_option('buildstatics') == true
make_static_fonts = join_paths(meson.current_source_dir(), 'scripts', 'make-static-fonts.py')
endif
if get_option('buildvf') == true
make_variable_font = join_paths(meson.current_source_dir(), 'scripts', 'make-variable-font.py')
endif
psautohint = find_program('psautohint')
subdir('src')
else
subdir('prebuilt')
endif
buildappstream = get_option('buildappstream')
if buildappstream == true
subdir('appstream')
endif