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