meson_options.txt revision 1cc69409
1# 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.)') 14option('cache-build', type : 'feature', value : 'enabled', 15 description: 'Run fc-cache on install') 16 17# Defaults 18option('default-hinting', type: 'combo', choices: ['none', 'slight', 'medium', 'full'], value: 'slight', 19 description: 'Preferred hinting configuration') 20 21option('default-sub-pixel-rendering', type: 'combo', choices: ['none', 'bgr', 'rgb', 'vbgr', 'vrgb'], value: 'none', 22 description: 'Preferred sub-pixel rendering configuration') 23 24option('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)') 26 27option('additional-fonts-dirs', type: 'array', value: ['yes'], 28 description: 'Find additional fonts in DIR1,DIR2,... (set to "yes" for generic system-specific defaults)') 29 30# Configuration paths 31option('cache-dir', type: 'string', value: 'default', 32 description: 'Use DIR to store cache files (default=LOCALSTATEDIR/cache/fontconfig)') 33 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)') 45