mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-22 19:31:32 +00:00
wip [skip ci]
This commit is contained in:
parent
c7a2a1cf52
commit
5aae835991
1 changed files with 8 additions and 1 deletions
|
@ -352,8 +352,15 @@ class OpusTarget(base.CMakeStaticDependencyTarget):
|
|||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
# Temporary solution for lack of TLSv1.3 support in Apple Python
|
||||
# The following URL cannot be retrieved using Python 3.9.6 from Xcode 15.x
|
||||
# https://downloads.xiph.org/releases/opus/opus-1.5.1.tar.gz
|
||||
# ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:1129)
|
||||
# >>> import ssl; print(ssl.OPENSSL_VERSION, ssl.HAS_TLSv1_3)
|
||||
# LibreSSL 2.8.3 False
|
||||
# TODO: remove this workaround when TLSv1.3 will be available in Python shipped with Xcode
|
||||
state.download_source(
|
||||
'https://downloads.xiph.org/releases/opus/opus-1.5.1.tar.gz',
|
||||
'https://ftp.osuosl.org/pub/xiph/releases/opus/opus-1.5.1.tar.gz',
|
||||
'b84610959b8d417b611aa12a22565e0a3732097c6389d19098d844543e340f85')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
|
|
Loading…
Reference in a new issue