2020-07-31 09:26:11 +02:00
|
|
|
# Common feature options
|
|
|
|
option('doc', type : 'feature', value : 'auto', yield: true,
|
|
|
|
description: 'Build documentation')
|
|
|
|
option('doc-txt', type: 'feature', value: 'auto')
|
|
|
|
option('doc-man', type: 'feature', value: 'auto')
|
|
|
|
option('doc-pdf', type: 'feature', value: 'auto')
|
|
|
|
option('doc-html', type: 'feature', value: 'auto')
|
|
|
|
option('nls', type : 'feature', value : 'auto', yield: true,
|
|
|
|
description : 'Enable native language support (translations)')
|
|
|
|
option('tests', type : 'feature', value : 'auto', yield : true,
|
|
|
|
description: 'Enable unit tests')
|
|
|
|
option('tools', type : 'feature', value : 'auto', yield : true,
|
|
|
|
description: 'Build command-line tools (fc-list, fc-query, etc.)')
|
2021-10-14 10:52:03 +02:00
|
|
|
option('cache-build', type : 'feature', value : 'enabled',
|
|
|
|
description: 'Run fc-cache on install')
|
2023-11-20 08:45:18 +01:00
|
|
|
option('iconv', type: 'feature', value: 'disabled')
|
2022-07-02 18:05:47 +02:00
|
|
|
|
|
|
|
# Defaults
|
|
|
|
option('default-hinting', type: 'combo', choices: ['none', 'slight', 'medium', 'full'], value: 'slight',
|
|
|
|
description: 'Preferred hinting configuration')
|
2022-07-02 18:30:27 +02:00
|
|
|
|
2022-11-28 09:40:43 +01:00
|
|
|
option('default-sub-pixel-rendering', type: 'combo', choices: ['none', 'bgr', 'rgb', 'vbgr', 'vrgb'], value: 'none',
|
|
|
|
description: 'Preferred sub-pixel rendering configuration')
|
|
|
|
|
2022-07-02 18:30:27 +02:00
|
|
|
option('default-fonts-dirs', type: 'array', value: ['yes'],
|
|
|
|
description: 'Use fonts from DIR1,DIR2,... when config is busted (set to "yes" for generic system-specific defaults)')
|
2022-07-02 19:22:43 +02:00
|
|
|
|
|
|
|
option('additional-fonts-dirs', type: 'array', value: ['yes'],
|
|
|
|
description: 'Find additional fonts in DIR1,DIR2,... (set to "yes" for generic system-specific defaults)')
|
2022-07-02 19:48:10 +02:00
|
|
|
|
|
|
|
# Configuration paths
|
|
|
|
option('cache-dir', type: 'string', value: 'default',
|
|
|
|
description: 'Use DIR to store cache files (default=LOCALSTATEDIR/cache/fontconfig)')
|
2022-07-02 20:12:09 +02:00
|
|
|
|
|
|
|
option('template-dir', type: 'string', value: 'default',
|
|
|
|
description: 'Use DIR to store the configuration template files (default=DATADIR/fontconfig/conf.avail)')
|
|
|
|
|
|
|
|
option('baseconfig-dir', type: 'string', value: 'default',
|
|
|
|
description: 'Use DIR to store the base configuration files (default=SYSCONFDIR/fonts)')
|
|
|
|
|
|
|
|
option('config-dir', type: 'string', value: 'default',
|
|
|
|
description: 'Use DIR to store active configuration files (default=BASECONFIGDIR/conf.d)')
|
|
|
|
|
|
|
|
option('xml-dir', type: 'string', value: 'default',
|
|
|
|
description: 'Use DIR to store XML schema files (default=DATADIR/xml/fontconfig)')
|