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