Skip to content

Commit

Permalink
Merge pull request python-pillow#7451 from radarhere/brotli
Browse files Browse the repository at this point in the history
Updated brotli to 1.1.0
  • Loading branch information
mergify[bot] authored Oct 9, 2023
2 parents 8e8c08f + 00722fc commit 28affdb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions winbuild/build_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@ def cmd_msbuild(
"libs": [r"libpng16.lib"],
},
"brotli": {
"url": "https://github.com/google/brotli/archive/refs/tags/v1.0.9.tar.gz",
"filename": "brotli-1.0.9.tar.gz",
"dir": "brotli-1.0.9",
"url": "https://github.com/google/brotli/archive/refs/tags/v1.1.0.tar.gz",
"filename": "brotli-1.1.0.tar.gz",
"dir": "brotli-1.1.0",
"license": "LICENSE",
"build": [
*cmds_cmake(("brotlicommon-static", "brotlidec-static")),
*cmds_cmake(("brotlicommon", "brotlidec")),
cmd_xcopy(r"c\include", "{inc_dir}"),
],
"libs": ["*.lib"],
Expand All @@ -254,7 +254,7 @@ def cmd_msbuild(
"<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
"<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": {
# link against harfbuzz.lib
Expand Down

0 comments on commit 28affdb

Please sign in to comment.