meson: Add a monorepo-wide qt-method option and yield to it

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9046>
This commit is contained in:
Nirbheek Chauhan 2025-05-21 20:29:06 +05:30 committed by GStreamer Marge Bot
parent 32eaa0ae35
commit e4d5cece28
4 changed files with 5 additions and 3 deletions

View File

@ -61,6 +61,8 @@ option('extra-checks', type : 'feature', value : 'enabled', description : 'Enabl
option('benchmarks', type : 'feature', value : 'auto')
option('tools', type : 'feature', value : 'auto', yield : true, description : 'Build command line tools')
option('orc', type : 'feature', value : 'auto', description : 'Optimized Inner Loop Runtime Compiler (SIMD)')
option('qt-method', type: 'combo', value: 'auto', choices: ['auto', 'pkg-config', 'qmake'],
description: 'Method to use to find Qt')
option('qt5', type : 'feature', value : 'auto', description : 'Qt5 toolkit support')
option('qt6', type : 'feature', value : 'auto', description : 'Qt6 toolkit support')
option('webrtc', type : 'feature', value : 'auto', description : 'WebRTC support')

View File

@ -268,7 +268,7 @@ option('mfx-modules-dir', type: 'string', value : '',
# Qt6 plugin options
option('qt6d3d11', type : 'feature', value : 'auto', description : 'Qt6 Direct3D11 plugin')
option('qt-method', type: 'combo', value: 'auto', choices: ['auto', 'pkg-config', 'qmake'],
description: 'Method to use to find Qt')
yield: true, description: 'Method to use to find Qt')
# Vulkan integration library and plugin options
option('vulkan', type: 'feature', value: 'auto', description: 'Vulkan integration library and video sink plugin')

View File

@ -79,7 +79,7 @@ option('orc', type : 'feature', value : 'auto', yield : true)
# Qt tests options
option('qt-method', type: 'combo', value: 'auto', choices: ['auto', 'pkg-config', 'qmake'],
description: 'Method to use to find Qt')
yield: true, description: 'Method to use to find Qt')
option('qt5', type : 'feature', value : 'auto', yield : true, description : 'Qt5 QML examples')
# Common options

View File

@ -94,7 +94,7 @@ option('soup-version', type : 'combo', value : 'auto', choices : ['auto', '2', '
# Qt plugin options
option('qt-method', type: 'combo', value: 'auto', choices: ['auto', 'pkg-config', 'qmake'],
description: 'Method to use to find Qt')
yield: true, description: 'Method to use to find Qt')
option('qt-egl', type: 'feature', value: 'auto', description: 'EGLFS support in the Qt plugins')
option('qt-wayland', type: 'feature', value: 'auto', description: 'Wayland support in the Qt plugins')
option('qt-x11', type: 'feature', value: 'auto', description: 'X11 support in the Qt plugins')