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