Skip to content

Commit 3c4fe62

Browse files
authored
Update libwebp to 1.6.0 (#9082)
2 parents d74fdc4 + 985544d commit 3c4fe62

File tree

4 files changed

+8
-46
lines changed

4 files changed

+8
-46
lines changed

.github/workflows/wheels-dependencies.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ TIFF_VERSION=4.7.0
103103
LCMS2_VERSION=2.17
104104
ZLIB_VERSION=1.3.1
105105
ZLIB_NG_VERSION=2.2.4
106-
LIBWEBP_VERSION=1.5.0 # Patched; next release won't need patching. See patch file.
106+
LIBWEBP_VERSION=1.6.0
107107
BZIP2_VERSION=1.0.8
108108
LIBXCB_VERSION=1.17.0
109109
BROTLI_VERSION=1.1.0 # Patched; next release won't need patching. See patch file.
@@ -280,7 +280,11 @@ function build {
280280
if [[ -n "$IS_MACOS" ]]; then
281281
webp_cflags="$webp_cflags -Wl,-headerpad_max_install_names"
282282
fi
283-
CFLAGS="$CFLAGS $webp_cflags" build_simple libwebp $LIBWEBP_VERSION \
283+
webp_ldflags=""
284+
if [[ -n "$IOS_SDK" ]]; then
285+
webp_ldflags="$webp_ldflags -llzma -lz"
286+
fi
287+
CFLAGS="$CFLAGS $webp_cflags" LDFLAGS="$LDFLAGS $webp_ldflags" build_simple libwebp $LIBWEBP_VERSION \
284288
https://storage.googleapis.com/downloads.webmproject.org/releases/webp tar.gz \
285289
--enable-libwebpmux --enable-libwebpdemux
286290

depends/install_webp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# install webp
33

4-
archive=libwebp-1.5.0
4+
archive=libwebp-1.6.0
55

66
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/main/$archive.tar.gz
77

patches/iOS/libwebp-1.5.0.tar.gz.patch

Lines changed: 0 additions & 42 deletions
This file was deleted.

winbuild/build_prepare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def cmd_msbuild(
122122
"LIBAVIF": "1.3.0",
123123
"LIBIMAGEQUANT": "4.3.4",
124124
"LIBPNG": "1.6.49",
125-
"LIBWEBP": "1.5.0",
125+
"LIBWEBP": "1.6.0",
126126
"OPENJPEG": "2.5.3",
127127
"TIFF": "4.7.0",
128128
"XZ": "5.8.1",

0 commit comments

Comments
 (0)