option('opengl', type: 'boolean', value: true, description: 'Build support for OpenGL') option('xv', type: 'boolean', value: true, description: 'Build support for XV') option('portaudio', type: 'boolean', value: true, description: 'Build PortAudio sound driver') option('oss', type: 'boolean', value: true, description: 'Build OSS sound driver') option('alsa', type: 'boolean', value: true, description: 'Build ALSA sound driver') option('pulseaudio', type: 'boolean', value: true, description: 'Build PulseAudio sound driver') option('debugger', type: 'boolean', value: true, description: 'Enable Snes9x Debugger') option('hq2x', type: 'boolean', value: true, description: 'Enable the HQ2x filters') option('xbrz', type: 'boolean', value: true, description: 'Enable the xBRZ filters') option('zlib', type: 'boolean', value: true, description: 'Enable gzip compression') option('system-zip', type: 'boolean', value: true, description: 'Build using system minizip library') option('screenshot', type: 'boolean', value: true, description: 'Enable screenshots') option('gtk3', type: 'boolean', value: true, description: 'Build with GTK+ 3.0 as the toolkit') option('wayland', type: 'boolean', value: true, description: 'Build support for Wayland') option('gtk2', type: 'boolean', value: false, description: 'Build with GTK+ 2.0 as the toolkit') option('dangerous-hacks', type: 'boolean', value: false, description: 'Allow dangerous hacks to be enabled') option('appdatadir', type: 'string' , value: '', description: 'Snes9x-only data directory (default: datadir/snes9x)')