subprojects: add curl

This commit is contained in:
Max Kellermann
2023-12-11 10:02:35 +01:00
parent 55ca3709ef
commit dfef30a737
9 changed files with 44 additions and 72 deletions

View File

@@ -12,6 +12,7 @@ project(
# If we build those libraries as Meson subproject, they shall be
# linked statically into the MPD executable.
'curl:default_library=static',
'expat:default_library=static',
'flac:default_library=static',
'fmt:default_library=static',
@@ -23,6 +24,8 @@ project(
'vorbis:default_library=static',
# Not interested in compiler warnings from subprojects.
'curl:werror=false',
'curl:warning_level=0',
'expat:werror=false',
'expat:warning_level=0',
'flac:werror=false',
@@ -38,6 +41,33 @@ project(
'vorbis:warning_level=0',
# Disable subprojects features we don't need
'curl:tool=disabled',
'curl:tests=disabled',
'curl:unittests=disabled',
'curl:brotli=disabled',
'curl:cookies=disabled',
'curl:progress-meter=disabled',
'curl:zstd=disabled',
'curl:kerberos-auth=disabled',
'curl:negotiate-auth=disabled',
'curl:gss-api=disabled',
'curl:ntlm=disabled',
'curl:ssh=disabled',
'curl:dict=disabled',
'curl:file=disabled',
'curl:ftp=disabled',
'curl:gopher=disabled',
'curl:imap=disabled',
'curl:ldap=disabled',
'curl:ldaps=disabled',
'curl:mqtt=disabled',
'curl:pop3=disabled',
'curl:rtmp=disabled',
'curl:rtsp=disabled',
'curl:smb=disabled',
'curl:smtp=disabled',
'curl:telnet=disabled',
'curl:tftp=disabled',
'opus:docs=disabled',
'opus:extra-programs=disabled',
'opus:tests=disabled',