Merge branch 'tizen' into tizen_8.0
[platform/upstream/pulseaudio.git] / meson_options.txt
1 option('dlog',
2        type : 'boolean', value : true,
3        description : 'dlog')
4 option('buffer-attribute',
5        type : 'boolean', value : true,
6        description : 'buffer attribute')
7 option('pcm-dump',
8        type : 'boolean', value : false,
9        description : 'pcm dump')
10 option('security',
11        type : 'boolean', value : true,
12        description : 'security')
13 option('udev-usb-only',
14        type : 'boolean', value : true,
15        description : 'udev usb only')
16 option('pa-ready',
17        type : 'boolean', value : true,
18        description : 'pa ready')
19 option('pa-simple-extensions',
20        type : 'boolean', value : true,
21        description : 'pa simple extensions')
22 option('empty-pop',
23        type : 'boolean', value : true,
24        description : 'empty pop')
25 option('volume-ramp',
26        type : 'boolean', value : true,
27        description : 'volume ramp')
28 option('individual-volume-ratio',
29        type : 'boolean', value : true,
30        description : 'individual volume ratio')
31 option('filter-group',
32        type : 'boolean', value : true,
33        description : 'filter group')
34 option('prelink',
35        type : 'boolean', value : false,
36        description : 'prelink')
37 option('lwipc',
38        type : 'boolean', value : false,
39        description : 'lwipc')
40 option('hal-datadir',
41        type : 'string',
42        description : 'Directory for HAL data files')
43 option('hal-sysconfdir',
44        type : 'string',
45        description : 'Directory for HAL sysconf files')
46 option('aec',
47        type : 'boolean', value : true,
48        description : 'aec')
49 option('cpu-boosting',
50        type : 'boolean', value : false,
51        description : 'cpu-boosting')
52
53 option('daemon',
54        type : 'boolean', value : true,
55        description : 'Enable building and installation of pulseaudio daemon and supporting configuration files')
56 option('doxygen',
57        type : 'boolean', value : true,
58        description : 'Enable building and installation of documentation generated with doxygen')
59 option('gcov',
60        type : 'boolean', value : false,
61        description : 'Enable optional gcov coverage analysis')
62 option('man',
63        type : 'boolean',
64        description : 'Enable building and installation of man pages')
65 option('tests',
66        type : 'boolean',
67        description : 'Enable unit tests')
68
69 option('system_user',
70         type : 'string', value : 'pulse',
71         description : 'User for running the PulseAudio daemon as a system-wide instance (pulse)')
72 option('system_group',
73         type : 'string', value : 'pulse',
74         description : 'Group for running the PulseAudio daemon as a system-wide instance (pulse)')
75 option('access_group',
76         type : 'string', value : 'pulse-access',
77         description : 'Group which is allowed access to a system-wide PulseAudio daemon (pulse-access)')
78 option('database',
79         type : 'combo',
80         choices : [ 'gdbm', 'tdb', 'simple' ],
81         description : 'Database backend')
82 option('legacy-database-entry-format',
83        type : 'boolean',
84        description : 'Try to load legacy (< 1.0) database files (card, device and volume restore)')
85 option('stream-restore-clear-old-devices',
86        type : 'boolean', value : false,
87        description : 'Forget per-stream routing settings that have been set before version 14.0. Recommended when using GNOME. See https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/832')
88 option('running-from-build-tree',
89        type : 'boolean',
90        description : 'Enable running from build tree')
91 option('atomic-arm-linux-helpers',
92        type : 'boolean', value : true,
93        description : 'Use inline asm or libatomic_ops instead')
94 option('atomic-arm-memory-barrier',
95        type : 'boolean', value : false,
96        description : 'Enable memory barriers (only really needed in SMP arm systems)')
97
98 # Paths
99
100 option('padsplibdir',
101        type : 'string',
102        description : 'Specify location where OSS wrapper library will be installed')
103 # This one gets inserted into a shell double-quoted string, so needs to be escaped (\$LIB). Meson
104 # removes a layer of escapes when parsing the description string, so we need to double the
105 # backslashes for "meson configure" to display the right text.
106 option('pulsedsp-location',
107        type : 'string',
108        description : 'Specify location where OSS wrapper library will be loaded from; can use \\$LIB')
109 option('modlibexecdir',
110        type : 'string',
111        description : 'Specify location where modules will be installed')
112 option('alsadatadir',
113        type : 'string',
114        description : 'Directory for ALSA card profiles (defaults to ${datadir}/pulseaudio/alsa-mixer)')
115 option('systemduserunitdir',
116        type : 'string',
117        description : 'Directory for systemd user service files')
118 option('systemdsystemunitdir',
119        type : 'string',
120        description : 'Directory for systemd system service files')
121 option('udevrulesdir',
122        type : 'string',
123        description : 'Directory for udev rules (defaults to /lib/udev/rules.d)')
124 option('bashcompletiondir',
125        type : 'string',
126        description : 'Directory for bash completion scripts ["no" disables]')
127 option('zshcompletiondir',
128        type : 'string',
129        description : 'Directory for zsh completion scripts ["no" disables]')
130
131 # Optional features
132
133 option('alsa',
134        type : 'feature', value : 'auto',
135        description : 'Optional ALSA support')
136 option('asyncns',
137        type : 'feature', value : 'auto',
138        description : 'Optional Async DNS support')
139 option('avahi',
140        type : 'feature', value : 'auto',
141        description : 'Optional Avahi support')
142 option('bluez5',
143        type : 'boolean', value : 'true',
144        description : 'Optional BlueZ 5 support')
145 option('bluez5-gstreamer',
146        type : 'feature', value: 'auto',
147        description : 'Optional BlueZ 5 GStreamer support')
148 option('bluez5-native-headset',
149        type : 'boolean',
150        description : 'Optional native headset backend support (BlueZ 5)')
151 option('bluez5-ofono-headset',
152        type : 'boolean',
153        description : 'Optional oFono headset backend support (BlueZ 5)')
154 option('dbus',
155        type : 'feature', value : 'auto',
156        description : 'Optional D-Bus support')
157 option('elogind',
158        type : 'feature', value : 'auto',
159        description : 'Optional elogind support')
160 option('fftw',
161        type : 'feature', value : 'auto',
162        description : 'Optional FFTW support')
163 option('glib',
164        type : 'feature', value : 'auto',
165        description : 'Optional GLib 2 support')
166 option('gsettings',
167        type : 'feature',
168        description : 'Optional GSettings support')
169 option('gstreamer',
170        type : 'feature', value : 'disabled',
171        description : 'Optional GStreamer dependency for media-related functionality')
172 option('gtk',
173        type : 'feature', value : 'auto',
174        description : 'Optional Gtk+ 3 support')
175 option('hal-compat',
176        type : 'boolean',
177        description : 'Optional HAL->udev transition compatibility support (needs udev)')
178 option('ipv6',
179        type : 'boolean',
180        description : 'Optional IPv6 support')
181 option('jack',
182        type : 'feature', value : 'auto',
183        description : 'Optional JACK support')
184 option('lirc',
185        type : 'feature', value : 'auto',
186        description : 'Optional LIRC support')
187 option('openssl',
188        type : 'feature', value : 'auto',
189        description : 'Optional OpenSSL support (used for Airtunes/RAOP)')
190 option('orc',
191        type : 'feature', value : 'auto',
192        description : 'Optimized Inner Loop Runtime Compiler')
193 option('oss-output',
194        type : 'feature', value : 'auto',
195        description : 'Optional OSS output support')
196 option('samplerate',
197        type : 'feature', value : 'disabled',
198        description : 'Optional libsamplerate support (DEPRECATED)')
199 option('soxr',
200        type : 'feature', value : 'auto',
201        description : 'Optional SoXR support (resampling)')
202 option('speex',
203        type : 'feature', value : 'auto',
204        description : 'Optional Speex support (resampling, AEC)')
205 option('systemd',
206        type : 'feature', value : 'auto',
207        description : 'Optional systemd support')
208 option('tcpwrap',
209        type : 'feature', value : 'auto',
210        description : 'Optional TCP wrappers support')
211 option('udev',
212        type : 'feature', value : 'auto',
213        description : 'Optional udev support')
214 option('valgrind',
215        type : 'feature', value : 'auto',
216        description : 'Optional Valgrind support')
217 option('x11',
218        type : 'feature', value : 'auto',
219        description : 'Optional X11 support')
220
221 # Echo cancellation
222
223 option('adrian-aec',
224        type : 'boolean',
225        description : 'Optional Adrian\'s echo canceller')
226 option('webrtc-aec',
227        type : 'feature', value : 'auto',
228        description : 'Optional WebRTC-based echo canceller')