blob: 43c8764cd5943d25c448f514507c54a2dc413c13 [file] [log] [blame]
Tim-Philipp Müller57a224f2020-07-31 07:26:11 +00001# 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.)')
Akira TAGOH877d8692021-10-14 17:52:03 +090014option('cache-build', type : 'feature', value : 'enabled',
15 description: 'Run fc-cache on install')
Tim-Philipp Müller56a24872022-07-02 17:05:47 +010016
17# Defaults
18option('default-hinting', type: 'combo', choices: ['none', 'slight', 'medium', 'full'], value: 'slight',
19 description: 'Preferred hinting configuration')
Tim-Philipp Müller0d8d75e2022-07-02 17:30:27 +010020
Akira TAGOH030759b2022-11-28 17:40:43 +090021option('default-sub-pixel-rendering', type: 'combo', choices: ['none', 'bgr', 'rgb', 'vbgr', 'vrgb'], value: 'none',
22 description: 'Preferred sub-pixel rendering configuration')
23
Tim-Philipp Müller0d8d75e2022-07-02 17:30:27 +010024option('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)')
Tim-Philipp Müller66fa47c2022-07-02 18:22:43 +010026
27option('additional-fonts-dirs', type: 'array', value: ['yes'],
28 description: 'Find additional fonts in DIR1,DIR2,... (set to "yes" for generic system-specific defaults)')
Tim-Philipp Müller6ae56232022-07-02 18:48:10 +010029
30# Configuration paths
31option('cache-dir', type: 'string', value: 'default',
32 description: 'Use DIR to store cache files (default=LOCALSTATEDIR/cache/fontconfig)')
Tim-Philipp Müller0c7bb302022-07-02 19:12:09 +010033
34option('template-dir', type: 'string', value: 'default',
35 description: 'Use DIR to store the configuration template files (default=DATADIR/fontconfig/conf.avail)')
36
37option('baseconfig-dir', type: 'string', value: 'default',
38 description: 'Use DIR to store the base configuration files (default=SYSCONFDIR/fonts)')
39
40option('config-dir', type: 'string', value: 'default',
41 description: 'Use DIR to store active configuration files (default=BASECONFIGDIR/conf.d)')
42
43option('xml-dir', type: 'string', value: 'default',
44 description: 'Use DIR to store XML schema files (default=DATADIR/xml/fontconfig)')