2018-05-21 20:08:22 +02:00
|
|
|
# Cairo font backends
|
|
|
|
|
option('fontconfig', type : 'feature', value : 'auto')
|
|
|
|
|
option('freetype', type : 'feature', value : 'auto')
|
|
|
|
|
|
|
|
|
|
# Cairo surface backends
|
2020-11-17 15:07:29 +00:00
|
|
|
option('gl-backend', type : 'combo', value : 'disabled',
|
2018-05-21 20:08:22 +02:00
|
|
|
# FIXME: https://github.com/mesonbuild/meson/issues/4566
|
|
|
|
|
choices : ['auto', 'gl', 'glesv2', 'glesv3', 'disabled'])
|
2020-11-17 15:07:29 +00:00
|
|
|
option('glesv2', type : 'feature', value : 'disabled')
|
|
|
|
|
option('glesv3', type : 'feature', value : 'disabled')
|
2018-05-21 20:08:22 +02:00
|
|
|
option('png', type : 'feature', value : 'auto') # png and svg surfaces
|
2020-09-26 19:25:21 +01:00
|
|
|
option('quartz', type : 'feature', value : 'auto')
|
2020-07-31 14:42:50 +01:00
|
|
|
option('tee', type : 'feature', value : 'disabled')
|
2018-05-21 20:08:22 +02:00
|
|
|
option('xcb', type : 'feature', value : 'auto')
|
|
|
|
|
option('xlib', type : 'feature', value : 'auto')
|
2021-02-25 01:27:10 +00:00
|
|
|
option('xlib-xcb', type : 'feature', value : 'disabled')
|
2022-02-15 13:31:48 +00:00
|
|
|
option('xml', type : 'feature', value : 'disabled')
|
2018-05-21 20:08:22 +02:00
|
|
|
option('zlib', type : 'feature', value : 'auto') # script, ps, pdf, xml surfaces
|
|
|
|
|
|
|
|
|
|
# Tests
|
|
|
|
|
option('tests', type : 'feature', value : 'auto')
|
|
|
|
|
|
|
|
|
|
# Util deps
|
|
|
|
|
option('gtk2-utils', type : 'feature', value : 'disabled')
|
|
|
|
|
|
|
|
|
|
# Misc deps
|
|
|
|
|
option('glib', type : 'feature', value : 'auto')
|
|
|
|
|
option('spectre', type : 'feature', value : 'auto')
|
2021-02-23 10:33:23 +00:00
|
|
|
option('symbol-lookup', type: 'feature', value : 'auto',
|
|
|
|
|
description: 'Symbol lookup in debug utils via binutils/bfd')
|
2018-05-21 20:08:22 +02:00
|
|
|
|
2021-04-27 12:08:52 +01:00
|
|
|
# Documentation
|
|
|
|
|
option('gtk_doc', type : 'boolean', value : false,
|
|
|
|
|
description: 'Build the Cairo API reference (depends on gtk-doc)')
|
|
|
|
|
|
2018-05-21 20:08:22 +02:00
|
|
|
# FIXME: implement these to avoid automagic
|
|
|
|
|
#option('egl', type : 'feature', value : 'auto')
|
|
|
|
|
#option('glx', type : 'feature', value : 'auto')
|
|
|
|
|
#option('wgl', type : 'feature', value : 'auto')
|