You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			144 lines
		
	
	
		
			5.9 KiB
		
	
	
	
		
			Meson
		
	
			
		
		
	
	
			144 lines
		
	
	
		
			5.9 KiB
		
	
	
	
		
			Meson
		
	
option('documentation', type: 'feature', description: 'Build documentation')
 | 
						|
option('html_manual', type: 'boolean', value: false, description: 'Build the HTML manual')
 | 
						|
option('manpages', type: 'boolean', value: true, description: 'Build manual pages')
 | 
						|
 | 
						|
 | 
						|
option('syslog', type: 'feature', description: 'syslog support')
 | 
						|
option('inotify', type: 'boolean', value: false, description: 'inotify support (for automatic database update)')
 | 
						|
option('io_uring', type: 'feature', description: 'Linux io_uring support using liburing')
 | 
						|
 | 
						|
# Daemon and systemd options removed - mpd-dbcreate is a standalone utility, not a daemon
 | 
						|
 | 
						|
#
 | 
						|
# Options for developers
 | 
						|
#
 | 
						|
 | 
						|
option('test', type: 'boolean', value: false, description: 'Build the unit tests and debug programs')
 | 
						|
option('fuzzer', type: 'boolean', value: false, description: 'Build fuzzers')
 | 
						|
option('libfuzzer', type: 'boolean', value: true, description: 'Enable libFuzzer support for the fuzzers')
 | 
						|
 | 
						|
# Android support removed from mpd-dbcreate
 | 
						|
 | 
						|
#
 | 
						|
# System call support
 | 
						|
#
 | 
						|
 | 
						|
option('epoll', type: 'boolean', value: true, description: 'Use epoll on Linux')
 | 
						|
option('eventfd', type: 'boolean', value: true, description: 'Use eventfd() on Linux')
 | 
						|
option('signalfd', type: 'boolean', value: true, description: 'Use signalfd() on Linux')
 | 
						|
 | 
						|
#
 | 
						|
# Audio formats
 | 
						|
#
 | 
						|
 | 
						|
option('dsd', type: 'boolean', value: true, description: 'Support the DSD audio format')
 | 
						|
 | 
						|
#
 | 
						|
# Database plugins
 | 
						|
#
 | 
						|
 | 
						|
option('database', type: 'boolean', value: true, description: 'enable support for the music database')
 | 
						|
 | 
						|
#
 | 
						|
# Storage plugins
 | 
						|
#
 | 
						|
 | 
						|
option('udisks', type: 'feature', description: 'Support for removable media using udisks2')
 | 
						|
 | 
						|
 | 
						|
#
 | 
						|
# Playlist plugins
 | 
						|
#
 | 
						|
 | 
						|
option('cue', type: 'boolean', value: true, description: 'CUE sheet support')
 | 
						|
 | 
						|
#
 | 
						|
# Input plugins
 | 
						|
#
 | 
						|
 | 
						|
option('cdio_paranoia', type: 'feature', description: 'libcdio_paranoia input plugin')
 | 
						|
option('curl', type: 'feature', description: 'HTTP client using CURL')
 | 
						|
option('mms', type: 'feature', description: 'MMS protocol support using libmms')
 | 
						|
option('nfs', type: 'feature', description: 'NFS protocol support using libnfs')
 | 
						|
 | 
						|
# The "smbclient" plugin is disabled by default because libsmbclient
 | 
						|
# has a serious bug which crashes MPD very quickly:
 | 
						|
# https://bugzilla.samba.org/show_bug.cgi?id=11413
 | 
						|
option('smbclient', type: 'feature', value: 'disabled', description: 'SMB support using libsmbclient')
 | 
						|
 | 
						|
option('libsamplerate', type: 'feature', value: 'disabled', description: 'samplerate')
 | 
						|
option('soxr', type: 'feature', value: 'disabled', description: 'sox')
 | 
						|
option('upnp', type: 'combo',
 | 
						|
       choices: ['auto', 'pupnp', 'npupnp', 'disabled'],
 | 
						|
       value: 'auto',
 | 
						|
       description: 'UPnP client support')
 | 
						|
option('libsamplerate', type: 'feature', value: 'disabled', description: 'libsamplerate resampler')
 | 
						|
option('soxr', type: 'feature', value: 'disabled', description: 'libsoxr resampler')
 | 
						|
option('neighbor', type: 'boolean', value: true, description: 'enable support for neighbor discovery')
 | 
						|
 | 
						|
#
 | 
						|
# Archive plugins
 | 
						|
#
 | 
						|
 | 
						|
option('bzip2', type: 'feature', description: 'bzip2 support using libbz2')
 | 
						|
option('iso9660', type: 'feature', description: 'ISO9660 support using libiso9660')
 | 
						|
option('zzip', type: 'feature', description: 'ZIP support using zziplib')
 | 
						|
 | 
						|
#
 | 
						|
# Tag plugins
 | 
						|
#
 | 
						|
 | 
						|
option('id3tag', type: 'feature', description: 'ID3 support using libid3tag')
 | 
						|
option('chromaprint', type: 'feature', description: 'ChromaPrint / AcoustID support')
 | 
						|
 | 
						|
#
 | 
						|
# Decoder plugins
 | 
						|
#
 | 
						|
 | 
						|
option('adplug', type: 'feature', description: 'AdPlug decoder plugin')
 | 
						|
option('audiofile', type: 'feature', description: 'libaudiofile decoder plugin')
 | 
						|
option('faad', type: 'feature', description: 'AAC decoder using libfaad')
 | 
						|
option('ffmpeg', type: 'feature', description: 'FFmpeg codec support')
 | 
						|
option('flac', type: 'feature', description: 'FLAC decoder plugin')
 | 
						|
option('fluidsynth', type: 'feature', description: 'fluidsynth MIDI decoder plugin')
 | 
						|
option('gme', type: 'feature', description: 'Game Music Emulator decoder plugin')
 | 
						|
option('mad', type: 'feature', description: 'MP3 decoder using libmad')
 | 
						|
option('mikmod', type: 'feature', description: 'MikMod decoder plugin')
 | 
						|
option('modplug', type: 'feature', description: 'Modplug decoder plugin')
 | 
						|
option('openmpt', type: 'feature', description: 'OpenMPT decoder plugin')
 | 
						|
option('mpcdec', type: 'feature', description: 'Musepack decoder plugin')
 | 
						|
option('mpg123', type: 'feature', description: 'MP3 decoder using libmpg123')
 | 
						|
option('opus', type: 'feature', description: 'Opus decoder plugin')
 | 
						|
option('sidplay', type: 'feature', description: 'C64 SID support via libsidplayfp or libsidplay2')
 | 
						|
option('sndfile', type: 'feature', description: 'libsndfile decoder plugin')
 | 
						|
option('tremor', type: 'feature', description: 'Fixed-point vorbis decoder plugin')
 | 
						|
option('vorbis', type: 'feature', description: 'Vorbis decoder plugin')
 | 
						|
option('wavpack', type: 'feature', description: 'WavPack decoder plugin')
 | 
						|
option('wildmidi', type: 'feature', description: 'WildMidi decoder plugin')
 | 
						|
 | 
						|
 | 
						|
#
 | 
						|
# Misc libraries
 | 
						|
#
 | 
						|
 | 
						|
option('dbus', type: 'feature', description: 'D-Bus support')
 | 
						|
option('expat', type: 'feature', description: 'Expat XML support')
 | 
						|
option('icu', type: 'feature', description: 'Use libicu for Unicode')
 | 
						|
option('iconv', type: 'feature', description: 'Use iconv() for character set conversion')
 | 
						|
option('nlohmann_json', type: 'feature', description: 'nlohmann_json for JSON support')
 | 
						|
option('pcre', type: 'feature', description: 'Enable regular expression support (using libpcre)')
 | 
						|
option('sqlite', type: 'feature', description: 'SQLite database support (for stickers)')
 | 
						|
option('zlib', type: 'feature', description: 'zlib support (for database compression)')
 | 
						|
 | 
						|
option('zeroconf', type: 'combo',
 | 
						|
       choices: ['auto', 'avahi', 'bonjour', 'disabled'],
 | 
						|
       value: 'disabled',
 | 
						|
       description: 'Zeroconf support (disabled for database creation)')
 | 
						|
 | 
						|
#
 | 
						|
# DVD-Audio & Super Audio CD ISO support 
 | 
						|
#
 | 
						|
 | 
						|
option('dvdaiso', type: 'boolean', value: true, description: 'Support DVD-Audio ISO via libdvdaiso')
 | 
						|
option('sacdiso', type: 'boolean', value: true, description: 'Support Super Audio CD ISO via libsacdiso')
 |