pipewire/meson_options.txt
Carlos Rafael Giani b17fe4aba4 meson: Make SDL2 and libsndfile dependencies configurable
This is important for cross-platform build frameworks such as Yocto
where the build configurations must be deterministic. In this case, if
some other build dependency pulled in SDL2, then the meson.build logic
would suddenly enable extra features that would not have been built
otherwise. By allowing for explicitely enabling/disabling SDL2 and sndfile
depending bits, this problem is fixed.
2021-02-15 17:12:48 +01:00

162 lines
5 KiB
Meson

option('docs',
description: 'Build documentation',
type: 'boolean',
value: false)
option('examples',
description: 'Build examples',
type: 'boolean',
value: true)
option('man',
description: 'Build manpages',
type: 'boolean',
value: true)
option('tests',
description: 'Build tests',
type: 'boolean',
value: true)
option('installed_tests',
description: 'Install manual and automated test executables',
type: 'boolean',
value: false)
option('gstreamer',
description: 'Build GStreamer plugins',
type: 'boolean',
value: true)
option('gstreamer-device-provider',
description: 'Build GStreamer device provider plugin',
type: 'boolean',
value: true)
option('systemd',
description: 'Enable systemd integration',
type: 'boolean',
value: true)
option('systemd-system-service',
description: 'Install systemd system service file',
type: 'boolean',
value: false)
option('systemd-user-service',
description: 'Install systemd user service file',
type: 'boolean',
value: true)
option('pipewire-alsa',
description: 'Enable pipewire-alsa integration',
type: 'boolean',
value: true)
option('pipewire-jack',
description: 'Enable pipewire-jack integration',
type: 'boolean',
value: true)
option('libjack-path',
description: 'Where to install the libjack.so library',
type: 'string')
option('spa-plugins',
description: 'Enable spa plugins integration',
type: 'boolean',
value: true)
option('alsa',
description: 'Enable alsa spa plugin integration',
type: 'boolean',
value: true)
option('audiomixer',
description: 'Enable audiomixer spa plugin integration',
type: 'boolean',
value: true)
option('audioconvert',
description: 'Enable audioconvert spa plugin integration',
type: 'boolean',
value: true)
option('bluez5',
description: 'Enable bluez5 spa plugin integration',
type: 'boolean',
value: true)
option('bluez5-backend-hsp-native',
description: 'Enable HSP in native backend in bluez5 spa plugin',
type: 'boolean',
value: true)
option('bluez5-backend-hfp-native',
description: 'Enable HFP in native backend in bluez5 spa plugin',
type: 'boolean',
value: true)
option('bluez5-backend-ofono',
description: 'Enable oFono HFP backend in bluez5 spa plugin',
type: 'boolean',
value: true)
option('bluez5-backend-hsphfpd',
description: 'Enable hsphfpd backend in bluez5 spa plugin',
type: 'boolean',
value: false)
option('control',
description: 'Enable control spa plugin integration',
type: 'boolean',
value: true)
option('audiotestsrc',
description: 'Enable audiotestsrc spa plugin integration',
type: 'boolean',
value: false)
option('ffmpeg',
description: 'Enable ffmpeg spa plugin integration',
type: 'boolean',
value: false)
option('jack',
description: 'Enable jack spa plugin integration',
type: 'boolean',
value: true)
option('support',
description: 'Enable support spa plugin integration',
type: 'boolean',
value: true)
option('evl',
description: 'Enable EVL support spa plugin integration',
type: 'boolean',
value: false)
option('test',
description: 'Enable test spa plugin integration',
type: 'boolean',
value: false)
option('v4l2',
description: 'Enable v4l2 spa plugin integration',
type: 'boolean',
value: true)
option('libcamera',
description: 'Enable libcamera spa plugin integration',
type: 'boolean',
value: false)
option('videoconvert',
description: 'Enable videoconvert spa plugin integration',
type: 'boolean',
value: true)
option('videotestsrc',
description: 'Enable videotestsrc spa plugin integration',
type: 'boolean',
value: false)
option('volume',
description: 'Enable volume spa plugin integration',
type: 'boolean',
value: false)
option('vulkan',
description: 'Enable vulkan spa plugin integration',
type: 'boolean',
value: false)
option('pw-cat',
description: 'Build pw-cat/pw-play/pw-record',
type: 'boolean',
value: true)
option('udev',
description: 'Enable Udev integration',
type: 'boolean',
value: true)
option('udevrulesdir',
type : 'string',
description : 'Directory for udev rules (defaults to /lib/udev/rules.d)')
option('systemd-user-unit-dir',
type : 'string',
description : 'Directory for user systemd units (defaults to /usr/lib/systemd/user)')
option('sdl2',
description: 'Enable code that depends on SDL 2',
type: 'feature',
value: 'auto')
option('sndfile',
description: 'Enable code that depends on libsndfile',
type: 'feature',
value: 'auto')