Created
November 11, 2021 07:33
-
-
Save nongio/e0365186b867d85c4092c6c3d9e998cc to your computer and use it in GitHub Desktop.
meson option for cairo with EGL support and surface backend: OpenGL ES 2.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cairo font backends | |
option('fontconfig', type : 'feature', value : 'auto') | |
option('freetype', type : 'feature', value : 'auto') | |
# Cairo surface backends | |
option('cogl', type : 'feature', value : 'disabled') | |
option('directfb', type : 'feature', value : 'disabled') | |
option('gl-backend', type : 'combo', value : 'glesv2', | |
# FIXME: https://github.com/mesonbuild/meson/issues/4566 | |
choices : ['auto', 'gl', 'glesv2', 'glesv3', 'disabled']) | |
option('glesv2', type : 'feature', value : 'auto') | |
option('glesv3', type : 'feature', value : 'disabled') | |
option('drm', type : 'feature', value : 'disabled') | |
option('openvg', type : 'feature', value : 'disabled') | |
option('png', type : 'feature', value : 'auto') # png and svg surfaces | |
option('quartz', type : 'feature', value : 'auto') | |
option('qt', type : 'feature', value : 'disabled') | |
option('tee', type : 'feature', value : 'disabled') | |
option('xcb', type : 'feature', value : 'auto') | |
option('xlib', type : 'feature', value : 'auto') | |
option('xlib-xcb', type : 'feature', value : 'disabled') | |
#option('xml', type : 'feature', value : 'disabled') | |
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') | |
option('symbol-lookup', type: 'feature', value : 'auto', | |
description: 'Symbol lookup in debug utils via binutils/bfd') | |
# Documentation | |
option('gtk_doc', type : 'boolean', value : false, | |
description: 'Build the Cairo API reference (depends on gtk-doc)') | |
# FIXME: implement these to avoid automagic | |
option('egl', type : 'feature', value : 'auto') | |
#option('glx', type : 'feature', value : 'auto') | |
#option('wgl', type : 'feature', value : 'auto') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment