Debian Codegraph @

subprojects/fontconfig/meson.options

raw
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')
16 option('iconv', type: 'feature', value: 'disabled')
17 option('xml-backend', type: 'combo', choices: ['auto', 'expat', 'libxml2'], value: 'auto',
18 description: 'Select xml backend to read config')
19 option('fontations', type: 'feature', value: 'disabled',
20 description: 'Use Fontations (https://github.com/googlefonts/fontations) for indexing.')
21
22 # Defaults
23 option('default-hinting', type: 'combo', choices: ['noinstall', 'none', 'slight', 'medium', 'full'], value: 'slight',
24 description: 'Preferred hinting configuration')
25
26 option('default-sub-pixel-rendering', type: 'combo', choices: ['noinstall', 'none', 'bgr', 'rgb', 'vbgr', 'vrgb'], value: 'none',
27 description: 'Preferred sub-pixel rendering configuration')
28
29 option('bitmap-conf', type: 'combo', choices: ['noinstall', 'yes', 'no', 'no-except-emoji'], value: 'no-except-emoji',
30 description: 'What bitmap font related config file enabled by default: See 70-*bitmaps*.conf')
31
32 option('default-fonts-dirs', type: 'array', value: ['yes'],
33 description: 'Use fonts from DIR1,DIR2,... when config is busted (set to "yes" for generic system-specific defaults)')
34
35 option('additional-fonts-dirs', type: 'array', value: ['yes'],
36 description: 'Find additional fonts in DIR1,DIR2,... (set to "yes" for generic system-specific defaults)')
37
38 # Configuration paths
39 option('cache-dir', type: 'string', value: 'default',
40 description: 'Use DIR to store cache files (default=LOCALSTATEDIR/cache/fontconfig)')
41
42 option('template-dir', type: 'string', value: 'default',
43 description: 'Use DIR to store the configuration template files (default=DATADIR/fontconfig/conf.avail)')
44
45 option('baseconfig-dir', type: 'string', value: 'default',
46 description: 'Use DIR to store the base configuration files (default=SYSCONFDIR/fonts)')
47
48 option('config-dir', type: 'string', value: 'default',
49 description: 'Use DIR to store active configuration files (default=BASECONFIGDIR/conf.d)')
50
51 option('xml-dir', type: 'string', value: 'default',
52 description: 'Use DIR to store XML schema files (default=DATADIR/xml/fontconfig)')