From 2af3a6e294e829191dfa0c41396ecd6384d405d9 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 23 Mar 2024 20:13:34 +0100 Subject: [PATCH] meson: improve option descriptions --- meson_options.txt | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index cded6a8e61..6d00e3bf47 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -2,7 +2,7 @@ option('gpl', type: 'boolean', value: true, description: 'GPL (version 2 or later) build') option('cplayer', type: 'boolean', value: true, description: 'mpv CLI player') option('libmpv', type: 'boolean', value: false, description: 'libmpv library') -option('build-date', type: 'boolean', value: true, description: 'whether to include binary compile time') +option('build-date', type: 'boolean', value: true, description: 'include compile timestamp in binary') option('tests', type: 'boolean', value: false, description: 'meson unit tests') # Reminder: normally always built, but enabled by MPV_LEAK_REPORT. # Building it can be disabled only by defining NDEBUG through CFLAGS. @@ -15,6 +15,7 @@ option('dvbin', type: 'feature', value: 'auto', description: 'DVB input module') option('dvdnav', type: 'feature', value: 'disabled', description: 'dvdnav support') option('iconv', type: 'feature', value: 'auto', description: 'iconv') option('javascript', type: 'feature', value: 'auto', description: 'Javascript (MuJS backend)') +option('jpeg', type: 'feature', value: 'auto', description: 'libjpeg image writer') option('lcms2', type: 'feature', value: 'auto', description: 'LCMS2 support') option('libarchive', type: 'feature', value: 'auto', description: 'libarchive wrapper for reading zip files and more') option('libavdevice', type: 'feature', value: 'auto', description: 'libavdevice') @@ -34,13 +35,13 @@ option('uchardet', type: 'feature', value: 'auto', description: 'uchardet suppor option('uwp', type: 'feature', value: 'disabled', description: 'Universal Windows Platform') option('vapoursynth', type: 'feature', value: 'auto', description: 'VapourSynth filter bridge') option('vector', type: 'feature', value: 'auto', description: 'GCC vector instructions') -option('win32-threads', type: 'feature', value: 'auto', description: 'win32 threads') +option('win32-threads', type: 'feature', value: 'auto', description: 'win32 native threading') option('zimg', type: 'feature', value: 'auto', description: 'libzimg support (high quality software scaler)') option('zlib', type: 'feature', value: 'auto', description: 'zlib') # audio output features option('alsa', type: 'feature', value: 'auto', description: 'ALSA audio output') -option('audiounit', type: 'feature', value: 'auto', description: 'AudioUnit output for iOS') +option('audiounit', type: 'feature', value: 'auto', description: 'AudioUnit output (iOS)') option('coreaudio', type: 'feature', value: 'auto', description: 'CoreAudio audio output') option('jack', type: 'feature', value: 'auto', description: 'JACK audio output') option('openal', type: 'feature', value: 'disabled', description: 'OpenAL audio output') @@ -58,25 +59,24 @@ option('cocoa', type: 'feature', value: 'auto', description: 'Cocoa') option('d3d11', type: 'feature', value: 'auto', description: 'Direct3D 11 video output') option('direct3d', type: 'feature', value: 'auto', description: 'Direct3D support') option('dmabuf-wayland', type: 'feature', value: 'auto', description: 'dmabuf-wayland video output') -option('drm', type: 'feature', value: 'auto', description: 'DRM') +option('drm', type: 'feature', value: 'auto', description: 'Direct Rendering Manager (DRM)') option('egl', type: 'feature', value: 'auto', description: 'EGL 1.4') option('egl-android', type: 'feature', value: 'auto', description: 'Android EGL support') option('egl-angle', type: 'feature', value: 'auto', description: 'OpenGL ANGLE headers') option('egl-angle-lib', type: 'feature', value: 'auto', description: 'OpenGL Win32 ANGLE library') -option('egl-angle-win32', type: 'feature', value: 'auto', description: 'OpenGL Win32 ANGLE Backend') -option('egl-drm', type: 'feature', value: 'auto', description: 'OpenGL DRM EGL Backend') -option('egl-wayland', type: 'feature', value: 'auto', description: 'OpenGL Wayland Backend') -option('egl-x11', type: 'feature', value: 'auto', description: 'OpenGL X11 EGL Backend') -option('gbm', type: 'feature', value: 'auto', description: 'GBM') +option('egl-angle-win32', type: 'feature', value: 'auto', description: 'OpenGL Win32 ANGLE backend') +option('egl-drm', type: 'feature', value: 'auto', description: 'OpenGL DRM EGL backend') +option('egl-wayland', type: 'feature', value: 'auto', description: 'OpenGL Wayland backend') +option('egl-x11', type: 'feature', value: 'auto', description: 'OpenGL X11 EGL backend') +option('gbm', type: 'feature', value: 'auto', description: 'Generic Buffer Manager (GBM)') option('gl', type: 'feature', value: 'enabled', description: 'OpenGL context support') -option('gl-cocoa', type: 'feature', value: 'auto', description: 'gl-cocoa') -option('gl-dxinterop', type: 'feature', value: 'auto', description: 'OpenGL/DirectX Interop Backend') -option('gl-win32', type: 'feature', value: 'auto', description: 'OpenGL Win32 Backend') +option('gl-cocoa', type: 'feature', value: 'auto', description: 'OpenGL Cocoa backend') +option('gl-dxinterop', type: 'feature', value: 'auto', description: 'OpenGL/DirectX Interop backend') +option('gl-win32', type: 'feature', value: 'auto', description: 'OpenGL Win32 backend') option('gl-x11', type: 'feature', value: 'disabled', description: 'OpenGL X11/GLX (deprecated/legacy)') -option('jpeg', type: 'feature', value: 'auto', description: 'JPEG support') option('sdl2-video', type: 'feature', value: 'auto', description: 'SDL2 video output') option('shaderc', type: 'feature', value: 'auto', description: 'libshaderc SPIR-V compiler') -option('sixel', type: 'feature', value:'auto', description: 'Sixel') +option('sixel', type: 'feature', value:'auto', description: 'Sixel video output') option('spirv-cross', type: 'feature', value: 'auto', description: 'SPIRV-Cross SPIR-V shader converter') option('plain-gl', type: 'feature', value: 'auto', description: 'OpenGL without platform-specific code (e.g. for libmpv)') option('vdpau', type: 'feature', value: 'auto', description: 'VDPAU acceleration') @@ -97,8 +97,8 @@ option('cuda-hwaccel', type: 'feature', value: 'auto', description: 'CUDA accele option('cuda-interop', type: 'feature', value: 'auto', description: 'CUDA with graphics interop') option('d3d-hwaccel', type: 'feature', value: 'auto', description: 'D3D11VA hwaccel') option('d3d9-hwaccel', type: 'feature', value: 'auto', description: 'DXVA2 hwaccel') -option('gl-dxinterop-d3d9', type: 'feature', value: 'auto', description: 'OpenGL/DirectX Interop Backend DXVA2 interop') -option('ios-gl', type: 'feature', value: 'auto', description: 'iOS OpenGL ES hardware decoding interop support') +option('gl-dxinterop-d3d9', type: 'feature', value: 'auto', description: 'OpenGL/DirectX DXVA2 hwaccel') +option('ios-gl', type: 'feature', value: 'auto', description: 'iOS OpenGL ES interop support') option('videotoolbox-gl', type: 'feature', value: 'auto', description: 'Videotoolbox with OpenGL') option('videotoolbox-pl', type: 'feature', value: 'auto', description: 'Videotoolbox with libplacebo') option('vulkan-interop', type: 'feature', value: 'auto', description: 'Vulkan graphics interop') @@ -111,6 +111,6 @@ option('swift-build', type: 'feature', value: 'auto', description: 'macOS Swift option('swift-flags', type: 'string', description: 'Optional Swift compiler flags') # manpages -option('html-build', type: 'feature', value: 'disabled', description: 'html manual generation') +option('html-build', type: 'feature', value: 'disabled', description: 'HTML manual generation') option('manpage-build', type: 'feature', value: 'auto', description: 'manpage generation') -option('pdf-build', type: 'feature', value: 'disabled', description: 'pdf manual generation') +option('pdf-build', type: 'feature', value: 'disabled', description: 'PDF manual generation')