Updated brotli to 1.1.0

This commit is contained in:
Andrew Murray 2023-10-09 20:14:42 +11:00
parent 8e8c08fc03
commit 00722fc3c5

View File

@ -228,12 +228,12 @@ DEPS = {
"libs": [r"libpng16.lib"], "libs": [r"libpng16.lib"],
}, },
"brotli": { "brotli": {
"url": "https://github.com/google/brotli/archive/refs/tags/v1.0.9.tar.gz", "url": "https://github.com/google/brotli/archive/refs/tags/v1.1.0.tar.gz",
"filename": "brotli-1.0.9.tar.gz", "filename": "brotli-1.1.0.tar.gz",
"dir": "brotli-1.0.9", "dir": "brotli-1.1.0",
"license": "LICENSE", "license": "LICENSE",
"build": [ "build": [
*cmds_cmake(("brotlicommon-static", "brotlidec-static")), *cmds_cmake(("brotlicommon", "brotlidec")),
cmd_xcopy(r"c\include", "{inc_dir}"), cmd_xcopy(r"c\include", "{inc_dir}"),
], ],
"libs": ["*.lib"], "libs": ["*.lib"],
@ -254,7 +254,7 @@ DEPS = {
"<UserDefines></UserDefines>": "<UserDefines>FT_CONFIG_OPTION_SYSTEM_ZLIB;FT_CONFIG_OPTION_USE_PNG;FT_CONFIG_OPTION_USE_HARFBUZZ;FT_CONFIG_OPTION_USE_BROTLI</UserDefines>", # noqa: E501 "<UserDefines></UserDefines>": "<UserDefines>FT_CONFIG_OPTION_SYSTEM_ZLIB;FT_CONFIG_OPTION_USE_PNG;FT_CONFIG_OPTION_USE_HARFBUZZ;FT_CONFIG_OPTION_USE_BROTLI</UserDefines>", # noqa: E501
"<UserIncludeDirectories></UserIncludeDirectories>": r"<UserIncludeDirectories>{dir_harfbuzz}\src;{inc_dir}</UserIncludeDirectories>", # noqa: E501 "<UserIncludeDirectories></UserIncludeDirectories>": r"<UserIncludeDirectories>{dir_harfbuzz}\src;{inc_dir}</UserIncludeDirectories>", # noqa: E501
"<UserLibraryDirectories></UserLibraryDirectories>": "<UserLibraryDirectories>{lib_dir}</UserLibraryDirectories>", # noqa: E501 "<UserLibraryDirectories></UserLibraryDirectories>": "<UserLibraryDirectories>{lib_dir}</UserLibraryDirectories>", # noqa: E501
"<UserDependencies></UserDependencies>": "<UserDependencies>zlib.lib;libpng16.lib;brotlicommon-static.lib;brotlidec-static.lib</UserDependencies>", # noqa: E501 "<UserDependencies></UserDependencies>": "<UserDependencies>zlib.lib;libpng16.lib;brotlicommon.lib;brotlidec.lib</UserDependencies>", # noqa: E501
}, },
r"src/autofit/afshaper.c": { r"src/autofit/afshaper.c": {
# link against harfbuzz.lib # link against harfbuzz.lib