fixup! Build libcurl with meson.
This commit is contained in:
parent
8f434354a9
commit
5daa438c35
|
@ -17,19 +17,22 @@ class LibCurl(Dependency):
|
|||
name = "libcurl"
|
||||
src_archive = Remotefile(
|
||||
"curl-8.4.0.tar.xz",
|
||||
"",
|
||||
"https://github.com/curl/curl/releases/curl-8_4_0/curl-8.4.0.tar.xz",
|
||||
"16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82d",
|
||||
"https://github.com/curl/curl/releases/download/curl-8_4_0/curl-8.4.0.tar.xz",
|
||||
)
|
||||
meson_archive = Remotefile(
|
||||
"curl_8.4.0-2_patch.zip",
|
||||
"",
|
||||
"https://wrapdb.mesonbuild.com/v2/curl_8.4.0-2/get_path",
|
||||
"bbb6ae75225c36ef9bb336cface729794c7c070c623a003fff40bd416042ff6e",
|
||||
"https://wrapdb.mesonbuild.com/v2/curl_8.4.0-2/get_patch",
|
||||
)
|
||||
archive = [src_archive, meson_archive]
|
||||
archives = [src_archive, meson_archive]
|
||||
|
||||
class Builder(MesonBuilder):
|
||||
dependencies = ["zlib"]
|
||||
configure_options = [
|
||||
|
||||
@property
|
||||
def configure_options(self):
|
||||
yield from (
|
||||
f"-D{p}=disabled"
|
||||
for p in (
|
||||
"ssh",
|
||||
|
@ -43,6 +46,7 @@ class LibCurl(Dependency):
|
|||
"ldap",
|
||||
"ldaps",
|
||||
"rtsp",
|
||||
"proxy",
|
||||
"dict",
|
||||
"telnet",
|
||||
"tftp",
|
||||
|
@ -50,7 +54,7 @@ class LibCurl(Dependency):
|
|||
"imap",
|
||||
"smb",
|
||||
"smtp",
|
||||
"mqtt",
|
||||
"gopher",
|
||||
"manual",
|
||||
)
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue