|
1 | 1 | project('audacious-plugins', 'c', 'cpp', |
2 | 2 | version: '4.6-devel', |
3 | | - meson_version: '>= 0.51', |
| 3 | + meson_version: '>= 0.53', |
4 | 4 | default_options: [ |
5 | 5 | 'c_std=gnu99', |
6 | 6 | 'cpp_std=gnu++17', |
@@ -206,155 +206,153 @@ subdir('src') |
206 | 206 | subdir('po') |
207 | 207 |
|
208 | 208 |
|
209 | | -if meson.version().version_compare('>= 0.53') |
| 209 | +summary({ |
| 210 | + 'Prefix': get_option('prefix'), |
| 211 | + 'Bin dir': get_option('bindir'), |
| 212 | + 'Lib dir': get_option('libdir'), |
| 213 | + 'Data dir': get_option('datadir'), |
| 214 | +}, section: 'Directories') |
| 215 | + |
| 216 | +summary({ |
| 217 | + 'Qt 5 support': get_option('qt5'), |
| 218 | + 'Qt 6 support': get_option('qt') and not get_option('qt5'), |
| 219 | + 'GTK 2 support': get_option('gtk2'), |
| 220 | + 'GTK 3 support': get_option('gtk') and not get_option('gtk2'), |
| 221 | +}, section: 'GUI Toolkits') |
| 222 | + |
| 223 | +summary({ |
| 224 | + 'Audio CD': get_variable('have_cdaudio', false), |
| 225 | + 'Free Lossless Audio Codec': get_variable('have_flac', false), |
| 226 | + 'Ogg Vorbis': get_variable('have_vorbis', false), |
| 227 | + 'Opus': get_variable('have_opus', false), |
| 228 | + 'MIDI (via FluidSynth)': get_variable('have_amidiplug', false), |
| 229 | + 'MPEG-1 Layer I/II/III (via mpg123)': get_variable('have_mpg123', false), |
| 230 | + 'MPEG-2/4 AAC': get_variable('have_aac', false), |
| 231 | + 'WavPack': get_variable('have_wavpack', false), |
| 232 | +}, section: 'Audio Formats') |
| 233 | + |
| 234 | +summary({ |
| 235 | + 'FFmpeg': get_variable('have_ffaudio', false), |
| 236 | + 'Libsndfile': get_variable('have_sndfile', false), |
| 237 | +}, section: 'External Decoders') |
| 238 | + |
| 239 | +summary({ |
| 240 | + 'AdLib synthesizer (adplug)': get_variable('have_adplug', false), |
| 241 | + 'Commodore 64 audio (sid)': get_variable('have_sid', false), |
| 242 | + 'Game Music Emu (spc, nsf, gbs, etc.)': get_option('console'), |
| 243 | + 'ModPlug': get_variable('have_modplug', false), |
| 244 | + 'OpenMPT': get_variable('have_openmpt', false), |
| 245 | + 'Nintendo DS audio (xsf)': true, |
| 246 | + 'PlayStation audio (psf/psf2)': true, |
| 247 | + 'Vortex Tracker (vtx)': true, |
| 248 | +}, section: 'Chiptunes') |
| 249 | + |
| 250 | +summary({ |
| 251 | + 'Metronome': true, |
| 252 | + 'Tone Generator': true, |
| 253 | +}, section: 'Other Inputs') |
| 254 | + |
| 255 | +summary({ |
| 256 | + 'Background Music': true, |
| 257 | + 'Bauer stereophonic-to-binaural (bs2b)': get_variable('have_bs2b', false), |
| 258 | + 'Bitcrusher': true, |
| 259 | + 'Channel Mixer': true, |
| 260 | + 'Crystalizer': true, |
| 261 | + 'Dynamic Range Compressor': true, |
| 262 | + 'Echo/Surround': true, |
| 263 | + 'Extra Stereo': true, |
| 264 | + 'LADSPA Host (requires GTK)': conf.has('USE_GTK'), |
| 265 | + 'Sample Rate Converter': get_variable('have_resample', false), |
| 266 | + 'Silence Removal': true, |
| 267 | + 'SoX Resampler': get_variable('have_soxr', false), |
| 268 | + 'Speed and Pitch': get_variable('have_speedpitch', false), |
| 269 | + 'Voice Removal': true, |
| 270 | +}, section: 'Effects') |
| 271 | + |
| 272 | +summary({ |
| 273 | + 'Advanced Linux Sound Architecture': get_variable('have_alsa', false), |
| 274 | + 'Jack Audio Connection Kit': get_variable('have_jack', false), |
| 275 | + 'Open Sound System': get_variable('have_oss4', false), |
| 276 | + 'PipeWire': get_variable('have_pipewire', false), |
| 277 | + 'PulseAudio': get_variable('have_pulse', false), |
| 278 | + 'Simple DirectMedia Layer': get_variable('have_sdlout', false), |
| 279 | + 'Sndio': get_variable('have_sndio', false), |
| 280 | + 'Win32 waveOut': have_windows or have_cygwin, |
| 281 | + 'FileWriter': get_option('filewriter'), |
| 282 | + ' -> MP3 encoding': conf.has('FILEWRITER_MP3'), |
| 283 | + ' -> Vorbis encoding': conf.has('FILEWRITER_VORBIS'), |
| 284 | + ' -> FLAC encoding': conf.has('FILEWRITER_FLAC'), |
| 285 | +}, section: 'Outputs') |
| 286 | + |
| 287 | +summary({ |
| 288 | + 'Cue sheets': get_variable('have_cue', false), |
| 289 | + 'M3U playlists': true, |
| 290 | + 'Microsoft ASX (legacy)': true, |
| 291 | + 'Microsoft ASX 3.0': get_variable('have_asx3', false), |
| 292 | + 'PLS playlists': true, |
| 293 | + 'XML Sharable Playlist Format (XSPF)': get_variable('have_xspf', false), |
| 294 | +}, section: 'Playlists') |
| 295 | + |
| 296 | +summary({ |
| 297 | + 'FTP, SFTP, SMB (via GIO)': true, |
| 298 | + 'HTTP/HTTPS (via neon)': get_variable('have_neon', false), |
| 299 | + 'MMS (via libmms)': get_variable('have_mms', false), |
| 300 | +}, section: 'Transports') |
| 301 | + |
| 302 | +summary({ |
| 303 | + 'Ampache browser (requires Qt)': get_variable('have_ampache', false), |
| 304 | + 'Delete Files': conf.has('USE_GTK_OR_QT'), |
| 305 | + 'Libnotify OSD': get_variable('have_notify', false), |
| 306 | + 'Linux Infrared Remote Control (LIRC)': get_variable('have_lirc', false), |
| 307 | + 'Lyrics Viewer': true, |
| 308 | + 'MPRIS 2 Server': get_variable('have_mpris2', false), |
| 309 | + 'Scrobbler 2.0': get_variable('have_scrobbler2', false), |
| 310 | + 'Song Change': get_option('songchange'), |
| 311 | +}, section: 'General') |
| 312 | + |
| 313 | +if conf.has('USE_QT') |
210 | 314 | summary({ |
211 | | - 'Prefix': get_option('prefix'), |
212 | | - 'Bin dir': get_option('bindir'), |
213 | | - 'Lib dir': get_option('libdir'), |
214 | | - 'Data dir': get_option('datadir'), |
215 | | - }, section: 'Directories') |
216 | | - |
217 | | - summary({ |
218 | | - 'Qt 5 support': get_option('qt5'), |
219 | | - 'Qt 6 support': get_option('qt') and not get_option('qt5'), |
220 | | - 'GTK 2 support': get_option('gtk2'), |
221 | | - 'GTK 3 support': get_option('gtk') and not get_option('gtk2'), |
222 | | - }, section: 'GUI Toolkits') |
223 | | - |
224 | | - summary({ |
225 | | - 'Audio CD': get_variable('have_cdaudio', false), |
226 | | - 'Free Lossless Audio Codec': get_variable('have_flac', false), |
227 | | - 'Ogg Vorbis': get_variable('have_vorbis', false), |
228 | | - 'Opus': get_variable('have_opus', false), |
229 | | - 'MIDI (via FluidSynth)': get_variable('have_amidiplug', false), |
230 | | - 'MPEG-1 Layer I/II/III (via mpg123)': get_variable('have_mpg123', false), |
231 | | - 'MPEG-2/4 AAC': get_variable('have_aac', false), |
232 | | - 'WavPack': get_variable('have_wavpack', false), |
233 | | - }, section: 'Audio Formats') |
234 | | - |
235 | | - summary({ |
236 | | - 'FFmpeg': get_variable('have_ffaudio', false), |
237 | | - 'Libsndfile': get_variable('have_sndfile', false), |
238 | | - }, section: 'External Decoders') |
239 | | - |
240 | | - summary({ |
241 | | - 'AdLib synthesizer (adplug)': get_variable('have_adplug', false), |
242 | | - 'Commodore 64 audio (sid)': get_variable('have_sid', false), |
243 | | - 'Game Music Emu (spc, nsf, gbs, etc.)': get_option('console'), |
244 | | - 'ModPlug': get_variable('have_modplug', false), |
245 | | - 'OpenMPT': get_variable('have_openmpt', false), |
246 | | - 'Nintendo DS audio (xsf)': true, |
247 | | - 'PlayStation audio (psf/psf2)': true, |
248 | | - 'Vortex Tracker (vtx)': true, |
249 | | - }, section: 'Chiptunes') |
250 | | - |
251 | | - summary({ |
252 | | - 'Metronome': true, |
253 | | - 'Tone Generator': true, |
254 | | - }, section: 'Other Inputs') |
255 | | - |
256 | | - summary({ |
257 | | - 'Background Music': true, |
258 | | - 'Bauer stereophonic-to-binaural (bs2b)': get_variable('have_bs2b', false), |
259 | | - 'Bitcrusher': true, |
260 | | - 'Channel Mixer': true, |
261 | | - 'Crystalizer': true, |
262 | | - 'Dynamic Range Compressor': true, |
263 | | - 'Echo/Surround': true, |
264 | | - 'Extra Stereo': true, |
265 | | - 'LADSPA Host (requires GTK)': conf.has('USE_GTK'), |
266 | | - 'Sample Rate Converter': get_variable('have_resample', false), |
267 | | - 'Silence Removal': true, |
268 | | - 'SoX Resampler': get_variable('have_soxr', false), |
269 | | - 'Speed and Pitch': get_variable('have_speedpitch', false), |
270 | | - 'Voice Removal': true, |
271 | | - }, section: 'Effects') |
272 | | - |
273 | | - summary({ |
274 | | - 'Advanced Linux Sound Architecture': get_variable('have_alsa', false), |
275 | | - 'Jack Audio Connection Kit': get_variable('have_jack', false), |
276 | | - 'Open Sound System': get_variable('have_oss4', false), |
277 | | - 'PipeWire': get_variable('have_pipewire', false), |
278 | | - 'PulseAudio': get_variable('have_pulse', false), |
279 | | - 'Simple DirectMedia Layer': get_variable('have_sdlout', false), |
280 | | - 'Sndio': get_variable('have_sndio', false), |
281 | | - 'Win32 waveOut': have_windows or have_cygwin, |
282 | | - 'FileWriter': get_option('filewriter'), |
283 | | - ' -> MP3 encoding': conf.has('FILEWRITER_MP3'), |
284 | | - ' -> Vorbis encoding': conf.has('FILEWRITER_VORBIS'), |
285 | | - ' -> FLAC encoding': conf.has('FILEWRITER_FLAC'), |
286 | | - }, section: 'Outputs') |
287 | | - |
288 | | - summary({ |
289 | | - 'Cue sheets': get_variable('have_cue', false), |
290 | | - 'M3U playlists': true, |
291 | | - 'Microsoft ASX (legacy)': true, |
292 | | - 'Microsoft ASX 3.0': get_variable('have_asx3', false), |
293 | | - 'PLS playlists': true, |
294 | | - 'XML Sharable Playlist Format (XSPF)': get_variable('have_xspf', false), |
295 | | - }, section: 'Playlists') |
| 315 | + 'Qt Multimedia output': get_variable('have_qtaudio', false), |
| 316 | + 'Qt Interface': true, |
| 317 | + 'Winamp Classic Interface': true, |
| 318 | + 'Album Art': true, |
| 319 | + 'Blur Scope': true, |
| 320 | + 'File Browser': true, |
| 321 | + 'OpenGL Spectrum Analyzer': get_variable('have_qtglspectrum', false), |
| 322 | + 'Playback History': true, |
| 323 | + 'Playlist Manager': true, |
| 324 | + 'Search Tool': true, |
| 325 | + 'Song Info': true, |
| 326 | + 'Spectrum Analyzer (2D)': true, |
| 327 | + 'Status Icon': true, |
| 328 | + 'Stream Tuner (experimental)': get_variable('have_streamtuner', false), |
| 329 | + 'VU Meter': get_option('vumeter'), |
| 330 | + 'X11 Global Hotkeys': get_variable('have_qthotkey', false), |
| 331 | + }, section: 'Qt Support') |
| 332 | +endif |
296 | 333 |
|
| 334 | +if conf.has('USE_GTK') |
297 | 335 | summary({ |
298 | | - 'FTP, SFTP, SMB (via GIO)': true, |
299 | | - 'HTTP/HTTPS (via neon)': get_variable('have_neon', false), |
300 | | - 'MMS (via libmms)': get_variable('have_mms', false), |
301 | | - }, section: 'Transports') |
| 336 | + 'GTK Interface': true, |
| 337 | + 'Winamp Classic Interface': true, |
| 338 | + 'Album Art': true, |
| 339 | + 'Blur Scope': true, |
| 340 | + 'File Browser': true, |
| 341 | + 'OpenGL Spectrum Analyzer': get_variable('have_glspectrum', false), |
| 342 | + 'Playback History': true, |
| 343 | + 'Playlist Manager': true, |
| 344 | + 'Search Tool': true, |
| 345 | + 'Spectrum Analyzer (2D)': true, |
| 346 | + 'Status Icon': true, |
| 347 | + 'VU Meter': get_option('vumeter'), |
| 348 | + 'X11 Global Hotkeys': get_variable('have_hotkey', false), |
| 349 | + 'X11 On-Screen Display (aosd)': get_variable('have_aosd', false), |
| 350 | + }, section: 'GTK Support') |
| 351 | +endif |
302 | 352 |
|
| 353 | +if have_darwin |
303 | 354 | summary({ |
304 | | - 'Ampache browser (requires Qt)': get_variable('have_ampache', false), |
305 | | - 'Delete Files': conf.has('USE_GTK_OR_QT'), |
306 | | - 'Libnotify OSD': get_variable('have_notify', false), |
307 | | - 'Linux Infrared Remote Control (LIRC)': get_variable('have_lirc', false), |
308 | | - 'Lyrics Viewer': true, |
309 | | - 'MPRIS 2 Server': get_variable('have_mpris2', false), |
310 | | - 'Scrobbler 2.0': get_variable('have_scrobbler2', false), |
311 | | - 'Song Change': get_option('songchange'), |
312 | | - }, section: 'General') |
313 | | - |
314 | | - if conf.has('USE_QT') |
315 | | - summary({ |
316 | | - 'Qt Multimedia output': get_variable('have_qtaudio', false), |
317 | | - 'Qt Interface': true, |
318 | | - 'Winamp Classic Interface': true, |
319 | | - 'Album Art': true, |
320 | | - 'Blur Scope': true, |
321 | | - 'File Browser': true, |
322 | | - 'OpenGL Spectrum Analyzer': get_variable('have_qtglspectrum', false), |
323 | | - 'Playback History': true, |
324 | | - 'Playlist Manager': true, |
325 | | - 'Search Tool': true, |
326 | | - 'Song Info': true, |
327 | | - 'Spectrum Analyzer (2D)': true, |
328 | | - 'Status Icon': true, |
329 | | - 'Stream Tuner (experimental)': get_variable('have_streamtuner', false), |
330 | | - 'VU Meter': get_option('vumeter'), |
331 | | - 'X11 Global Hotkeys': get_variable('have_qthotkey', false), |
332 | | - }, section: 'Qt Support') |
333 | | - endif |
334 | | - |
335 | | - if conf.has('USE_GTK') |
336 | | - summary({ |
337 | | - 'GTK Interface': true, |
338 | | - 'Winamp Classic Interface': true, |
339 | | - 'Album Art': true, |
340 | | - 'Blur Scope': true, |
341 | | - 'File Browser': true, |
342 | | - 'OpenGL Spectrum Analyzer': get_variable('have_glspectrum', false), |
343 | | - 'Playback History': true, |
344 | | - 'Playlist Manager': true, |
345 | | - 'Search Tool': true, |
346 | | - 'Spectrum Analyzer (2D)': true, |
347 | | - 'Status Icon': true, |
348 | | - 'VU Meter': get_option('vumeter'), |
349 | | - 'X11 Global Hotkeys': get_variable('have_hotkey', false), |
350 | | - 'X11 On-Screen Display (aosd)': get_variable('have_aosd', false), |
351 | | - }, section: 'GTK Support') |
352 | | - endif |
353 | | - |
354 | | - if have_darwin |
355 | | - summary({ |
356 | | - 'CoreAudio Output': get_option('coreaudio'), |
357 | | - 'Now Playing': get_option('mac-now-playing'), |
358 | | - }, section: 'macOS Support') |
359 | | - endif |
| 355 | + 'CoreAudio Output': get_option('coreaudio'), |
| 356 | + 'Now Playing': get_option('mac-now-playing'), |
| 357 | + }, section: 'macOS Support') |
360 | 358 | endif |
0 commit comments