2021-04-15 18:45:53 +00:00
|
|
|
option('docdir',
|
|
|
|
type : 'string',
|
|
|
|
description : 'Directory for installing documentation to (defaults to pipewire_datadir/doc/meson.project_name() )')
|
2018-05-19 09:44:28 +00:00
|
|
|
option('docs',
|
2023-11-24 15:48:22 +00:00
|
|
|
description: 'Documentation',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled')
|
|
|
|
option('man',
|
|
|
|
description: 'Manual pages',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled')
|
2020-01-18 12:59:28 +00:00
|
|
|
option('examples',
|
|
|
|
description: 'Build examples',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'enabled')
|
2020-02-22 23:09:16 +00:00
|
|
|
option('tests',
|
|
|
|
description: 'Build tests',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled',
|
2021-03-10 18:36:27 +00:00
|
|
|
yield : true)
|
2020-06-05 13:06:36 +00:00
|
|
|
option('installed_tests',
|
|
|
|
description: 'Install manual and automated test executables',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled')
|
2018-05-19 09:44:28 +00:00
|
|
|
option('gstreamer',
|
2017-11-13 19:08:29 +00:00
|
|
|
description: 'Build GStreamer plugins',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2020-10-13 10:40:48 +00:00
|
|
|
option('gstreamer-device-provider',
|
|
|
|
description: 'Build GStreamer device provider plugin',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2018-05-19 09:41:41 +00:00
|
|
|
option('systemd',
|
|
|
|
description: 'Enable systemd integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2020-08-17 08:48:55 +00:00
|
|
|
option('systemd-system-service',
|
|
|
|
description: 'Install systemd system service file',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-03-11 17:25:48 +00:00
|
|
|
value: 'disabled')
|
2020-08-17 08:48:55 +00:00
|
|
|
option('systemd-user-service',
|
2021-06-21 11:56:46 +00:00
|
|
|
description: 'Install systemd user service file (ignored without systemd)',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2023-10-07 09:21:20 +00:00
|
|
|
option('selinux',
|
|
|
|
description: 'Enable SELinux integration',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('pipewire-alsa',
|
|
|
|
description: 'Enable pipewire-alsa integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('pipewire-jack',
|
|
|
|
description: 'Enable pipewire-jack integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2021-10-06 18:24:08 +00:00
|
|
|
option('pipewire-v4l2',
|
|
|
|
description: 'Enable pipewire-v4l2 integration',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'enabled')
|
2021-04-18 12:21:43 +00:00
|
|
|
option('jack-devel',
|
|
|
|
description: 'Install jack development files',
|
2021-08-01 15:54:09 +00:00
|
|
|
type: 'boolean',
|
2024-01-05 02:41:58 +00:00
|
|
|
value: false)
|
2020-04-29 09:24:24 +00:00
|
|
|
option('libjack-path',
|
|
|
|
description: 'Where to install the libjack.so library',
|
|
|
|
type: 'string')
|
2021-10-27 05:16:27 +00:00
|
|
|
option('libv4l2-path',
|
|
|
|
description: 'Where to install the libpw-v4l2.so library',
|
|
|
|
type: 'string')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('spa-plugins',
|
|
|
|
description: 'Enable spa plugins integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('alsa',
|
|
|
|
description: 'Enable alsa spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('audiomixer',
|
|
|
|
description: 'Enable audiomixer spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('audioconvert',
|
2018-10-10 15:16:01 +00:00
|
|
|
description: 'Enable audioconvert spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('bluez5',
|
|
|
|
description: 'Enable bluez5 spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2020-12-23 13:41:57 +00:00
|
|
|
option('bluez5-backend-hsp-native',
|
|
|
|
description: 'Enable HSP in native backend in bluez5 spa plugin',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2020-12-23 13:41:57 +00:00
|
|
|
option('bluez5-backend-hfp-native',
|
|
|
|
description: 'Enable HFP in native backend in bluez5 spa plugin',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2022-09-06 10:13:14 +00:00
|
|
|
option('bluez5-backend-native-mm',
|
|
|
|
description: 'Enable ModemManager in native backend in bluez5 spa plugin',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled')
|
2020-07-22 12:50:38 +00:00
|
|
|
option('bluez5-backend-ofono',
|
2021-06-21 11:56:46 +00:00
|
|
|
description: 'Enable oFono HFP backend in bluez5 spa plugin (no dependency on oFono)',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2020-07-22 15:40:32 +00:00
|
|
|
option('bluez5-backend-hsphfpd',
|
2021-06-21 11:56:46 +00:00
|
|
|
description: 'Enable hsphfpd backend in bluez5 spa plugin (no dependency on hsphfpd)',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2021-03-14 22:14:23 +00:00
|
|
|
option('bluez5-codec-aptx',
|
2021-03-14 22:54:37 +00:00
|
|
|
description: 'Enable AptX Qualcomm open source codec implementation',
|
2021-03-14 22:14:23 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
|
|
|
option('bluez5-codec-ldac',
|
2021-03-14 22:54:37 +00:00
|
|
|
description: 'Enable LDAC Sony open source codec implementation',
|
2021-03-14 22:14:23 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
|
|
|
option('bluez5-codec-aac',
|
|
|
|
description: 'Enable Fraunhofer FDK AAC open source codec implementation',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-04-30 18:03:59 +00:00
|
|
|
option('bluez5-codec-lc3plus',
|
|
|
|
description: 'Enable LC3plus open source codec implementation',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-05-21 11:40:26 +00:00
|
|
|
option('bluez5-codec-opus',
|
|
|
|
description: 'Enable Opus open source codec implementation',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-06-16 07:56:52 +00:00
|
|
|
option('bluez5-codec-lc3',
|
|
|
|
description: 'Enable LC3 open source codec implementation',
|
|
|
|
type: 'feature',
|
2023-07-24 14:25:02 +00:00
|
|
|
value: 'auto')
|
2019-10-16 09:13:23 +00:00
|
|
|
option('control',
|
|
|
|
description: 'Enable control spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('audiotestsrc',
|
|
|
|
description: 'Enable audiotestsrc spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('ffmpeg',
|
|
|
|
description: 'Enable ffmpeg spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled')
|
2019-08-20 18:35:41 +00:00
|
|
|
option('jack',
|
|
|
|
description: 'Enable jack spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('support',
|
|
|
|
description: 'Enable support spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2019-06-18 16:01:14 +00:00
|
|
|
option('evl',
|
|
|
|
description: 'Enable EVL support spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('test',
|
|
|
|
description: 'Enable test spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('v4l2',
|
|
|
|
description: 'Enable v4l2 spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2021-10-09 13:00:04 +00:00
|
|
|
option('dbus',
|
|
|
|
description: 'Enable code that depends on dbus',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'enabled')
|
2020-04-20 06:56:50 +00:00
|
|
|
option('libcamera',
|
|
|
|
description: 'Enable libcamera spa plugin integration',
|
2021-03-11 17:25:48 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2019-07-25 10:19:41 +00:00
|
|
|
option('videoconvert',
|
|
|
|
description: 'Enable videoconvert spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('videotestsrc',
|
|
|
|
description: 'Enable videotestsrc spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-21 11:56:46 +00:00
|
|
|
value: 'enabled')
|
2018-10-09 08:27:59 +00:00
|
|
|
option('volume',
|
2022-11-28 14:18:33 +00:00
|
|
|
description: 'Build the legacy volume spa plugin',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2022-11-28 14:18:33 +00:00
|
|
|
value: 'disabled')
|
2019-08-19 14:32:22 +00:00
|
|
|
option('vulkan',
|
|
|
|
description: 'Enable vulkan spa plugin integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
2021-06-25 11:22:47 +00:00
|
|
|
value: 'disabled')
|
2020-01-27 14:42:59 +00:00
|
|
|
option('pw-cat',
|
|
|
|
description: 'Build pw-cat/pw-play/pw-record',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-11-23 15:22:30 +00:00
|
|
|
option('pw-cat-ffmpeg',
|
|
|
|
description: 'Enable FFmpeg integration in pw-cat/pw-play/pw-record',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled')
|
2021-01-09 21:31:47 +00:00
|
|
|
option('udev',
|
|
|
|
description: 'Enable Udev integration',
|
2021-03-10 18:36:27 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2020-07-28 11:11:17 +00:00
|
|
|
option('udevrulesdir',
|
|
|
|
type : 'string',
|
|
|
|
description : 'Directory for udev rules (defaults to /lib/udev/rules.d)')
|
2022-01-06 12:17:10 +00:00
|
|
|
option('systemd-system-unit-dir',
|
|
|
|
type : 'string',
|
|
|
|
description : 'Directory for system systemd units (defaults to /usr/lib/systemd/system)')
|
2021-01-09 09:38:45 +00:00
|
|
|
option('systemd-user-unit-dir',
|
|
|
|
type : 'string',
|
|
|
|
description : 'Directory for user systemd units (defaults to /usr/lib/systemd/user)')
|
2021-02-15 10:59:10 +00:00
|
|
|
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')
|
2023-01-15 05:01:37 +00:00
|
|
|
option('libmysofa',
|
|
|
|
description: 'Enable code that depends on libmysofa',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2021-05-12 13:55:15 +00:00
|
|
|
option('libpulse',
|
|
|
|
description: 'Enable code that depends on libpulse',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2021-06-23 11:38:39 +00:00
|
|
|
option('roc',
|
|
|
|
description: 'Enable code that depends on roc toolkit',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2021-05-13 16:05:26 +00:00
|
|
|
option('avahi',
|
|
|
|
description: 'Enable code that depends on avahi',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2021-05-28 15:28:03 +00:00
|
|
|
option('echo-cancel-webrtc',
|
|
|
|
description : 'Enable WebRTC-based echo canceller',
|
|
|
|
type : 'feature',
|
|
|
|
value : 'auto')
|
2021-06-13 18:52:41 +00:00
|
|
|
option('libusb',
|
|
|
|
description: 'Enable code that depends on libusb',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2021-06-24 13:54:36 +00:00
|
|
|
option('session-managers',
|
2021-10-23 09:51:16 +00:00
|
|
|
description : 'Session managers to build (can be [] for none or an absolute path)',
|
2021-06-24 13:54:36 +00:00
|
|
|
type : 'array',
|
2022-10-03 06:10:35 +00:00
|
|
|
value : ['wireplumber'])
|
2021-11-12 19:16:52 +00:00
|
|
|
option('raop',
|
|
|
|
description: 'Enable module for Remote Audio Output Protocol',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2021-12-10 16:44:28 +00:00
|
|
|
option('lv2',
|
|
|
|
description: 'Enable loading of LV2 plugins',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-01-21 15:27:44 +00:00
|
|
|
option('x11',
|
|
|
|
description: 'Enable code that depends on X11',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-02-17 19:16:22 +00:00
|
|
|
option('x11-xfixes',
|
|
|
|
description: 'Enable code that depends on XFixes',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-01-21 15:27:44 +00:00
|
|
|
option('libcanberra',
|
|
|
|
description: 'Enable code that depends on libcanberra',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-03-30 17:44:38 +00:00
|
|
|
option('legacy-rtkit',
|
|
|
|
description: 'Build legacy rtkit module',
|
|
|
|
type: 'boolean',
|
2024-01-05 02:41:58 +00:00
|
|
|
value: true)
|
2022-03-07 19:24:46 +00:00
|
|
|
option('avb',
|
|
|
|
description: 'Enable AVB code',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-07-30 18:29:42 +00:00
|
|
|
option('flatpak',
|
|
|
|
description: 'Enable Flatpak support',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'enabled')
|
2022-11-07 14:35:01 +00:00
|
|
|
option('readline',
|
|
|
|
description: 'Enable code that depends on libreadline',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-12-07 08:10:29 +00:00
|
|
|
option('gsettings',
|
|
|
|
description: 'Enable code that depends on gsettings',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-11-23 14:55:00 +00:00
|
|
|
option('compress-offload',
|
|
|
|
description: 'Enable ALSA Compress-Offload support',
|
2022-09-20 09:43:16 +00:00
|
|
|
type: 'feature',
|
2023-02-11 19:52:06 +00:00
|
|
|
value: 'auto')
|
2023-02-06 22:26:03 +00:00
|
|
|
option('pam-defaults-install',
|
|
|
|
description: 'Install limits.d file modifying defaults for all PAM users. Only for old kernels/systemd!',
|
|
|
|
type: 'boolean',
|
2024-01-05 02:41:58 +00:00
|
|
|
value: false)
|
2023-02-06 22:26:03 +00:00
|
|
|
option('pam-memlock-default',
|
|
|
|
description : 'The default memlock value for any PAM user in kilobytes. Multiples of 64 recommended.',
|
|
|
|
type : 'integer',
|
|
|
|
min: 640,
|
|
|
|
value: 8192)
|
|
|
|
option('rlimits-install',
|
|
|
|
description: 'Install PAM limits.d file. Voids all following rlimits-* options, if false',
|
|
|
|
type: 'boolean',
|
2024-01-05 02:41:58 +00:00
|
|
|
value: true)
|
2023-02-06 22:26:03 +00:00
|
|
|
option('rlimits-match',
|
|
|
|
description : 'PAM match rule for the generated limits.d file. @<name> denotes matching a group.',
|
|
|
|
type : 'string',
|
|
|
|
value: '@pipewire')
|
2024-02-15 10:53:32 +00:00
|
|
|
option('rtprio-server',
|
|
|
|
description : 'PipeWire server realtime priority',
|
|
|
|
type : 'integer',
|
|
|
|
min: 11,
|
|
|
|
max: 99,
|
|
|
|
value: 88)
|
|
|
|
option('rtprio-client',
|
|
|
|
description : 'PipeWire clients realtime priority',
|
|
|
|
type : 'integer',
|
|
|
|
min: 11,
|
|
|
|
max: 99,
|
|
|
|
value: 83)
|
2023-02-06 22:26:03 +00:00
|
|
|
option('rlimits-rtprio',
|
|
|
|
description : 'RR and FIFO scheduler priority permitted for realtime threads of the matching user(s)',
|
|
|
|
type : 'integer',
|
|
|
|
min: 11,
|
|
|
|
max: 99,
|
|
|
|
value: 95)
|
|
|
|
option('rlimits-memlock',
|
|
|
|
description : 'kB of memory each process of the user matched by the rule can lock. Can be unlimited .',
|
|
|
|
type : 'string',
|
|
|
|
value: '4194304')
|
|
|
|
option('rlimits-nice',
|
|
|
|
description : 'Not niceness permitted for non-realtime threads of the matching user(s)',
|
|
|
|
type : 'integer',
|
|
|
|
min: -20,
|
|
|
|
max: -1,
|
|
|
|
value: -19)
|
2023-03-10 16:39:51 +00:00
|
|
|
option('opus',
|
|
|
|
description: 'Enable code that depends on opus',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2023-05-28 13:49:09 +00:00
|
|
|
option('libffado',
|
|
|
|
description: 'Enable code that depends on libffado',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2022-12-22 15:45:06 +00:00
|
|
|
option('gsettings-pulse-schema',
|
|
|
|
description: 'Install gsettings schema for pulseaudio',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto')
|
2023-11-22 10:26:16 +00:00
|
|
|
option('snap',
|
2023-11-22 15:47:26 +00:00
|
|
|
description : 'Enable Snap permissions support.',
|
2023-11-22 10:26:16 +00:00
|
|
|
type : 'feature',
|
|
|
|
value : 'auto')
|
2024-03-10 20:25:42 +00:00
|
|
|
option('doc-prefix-value',
|
|
|
|
description : 'Installation prefix to show in documentation instead of the actual value.',
|
|
|
|
type : 'string',
|
|
|
|
value : '')
|
|
|
|
option('doc-sysconfdir-value',
|
|
|
|
description : 'Sysconf data directory to show in documentation instead of the actual value.',
|
|
|
|
type : 'string',
|
|
|
|
value : '')
|