meson_options.txt revision ae02b298
1# Common feature options
2option('doc', type : 'feature', value : 'auto', yield: true,
3  description: 'Build documentation')
4option('doc-txt', type: 'feature', value: 'auto')
5option('doc-man', type: 'feature', value: 'auto')
6option('doc-pdf', type: 'feature', value: 'auto')
7option('doc-html', type: 'feature', value: 'auto')
8option('nls', type : 'feature', value : 'auto', yield: true,
9  description : 'Enable native language support (translations)')
10option('tests', type : 'feature', value : 'auto', yield : true,
11  description: 'Enable unit tests')
12option('tools', type : 'feature', value : 'auto', yield : true,
13  description: 'Build command-line tools (fc-list, fc-query, etc.)')
14option('cache-build', type : 'feature', value : 'enabled',
15  description: 'Run fc-cache on install')
16option('iconv', type: 'feature', value: 'disabled')
17
18# Defaults
19option('default-hinting', type: 'combo', choices: ['none', 'slight', 'medium', 'full'], value: 'slight',
20  description: 'Preferred hinting configuration')
21
22option('default-sub-pixel-rendering', type: 'combo', choices: ['none', 'bgr', 'rgb', 'vbgr', 'vrgb'], value: 'none',
23  description: 'Preferred sub-pixel rendering configuration')
24
25option('default-fonts-dirs', type: 'array', value: ['yes'],
26  description: 'Use fonts from DIR1,DIR2,... when config is busted (set to "yes" for generic system-specific defaults)')
27
28option('additional-fonts-dirs', type: 'array', value: ['yes'],
29  description: 'Find additional fonts in DIR1,DIR2,... (set to "yes" for generic system-specific defaults)')
30
31# Configuration paths
32option('cache-dir', type: 'string', value: 'default',
33  description: 'Use DIR to store cache files (default=LOCALSTATEDIR/cache/fontconfig)')
34
35option('template-dir', type: 'string', value: 'default',
36  description: 'Use DIR to store the configuration template files (default=DATADIR/fontconfig/conf.avail)')
37
38option('baseconfig-dir', type: 'string', value: 'default',
39  description: 'Use DIR to store the base configuration files (default=SYSCONFDIR/fonts)')
40
41option('config-dir', type: 'string', value: 'default',
42  description: 'Use DIR to store active configuration files (default=BASECONFIGDIR/conf.d)')
43
44option('xml-dir', type: 'string', value: 'default',
45  description: 'Use DIR to store XML schema files (default=DATADIR/xml/fontconfig)')
46