Skip to content

Commit 2486361

Browse files
authored
Merge pull request #8661 from radarhere/no_giflib
Removed giflib as webp dependency
2 parents ef223f5 + 66795e9 commit 2486361

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/wheels-dependencies.sh

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ OPENJPEG_VERSION=2.5.3
4545
XZ_VERSION=5.6.3
4646
TIFF_VERSION=4.6.0
4747
LCMS2_VERSION=2.16
48-
GIFLIB_VERSION=5.2.2
4948
ZLIB_NG_VERSION=2.2.3
5049
LIBWEBP_VERSION=1.5.0
5150
BZIP2_VERSION=1.0.8
@@ -135,18 +134,10 @@ function build {
135134
CFLAGS="$CFLAGS -O3 -DNDEBUG"
136135
if [[ -n "$IS_MACOS" ]]; then
137136
CFLAGS="$CFLAGS -Wl,-headerpad_max_install_names"
138-
# For giflib 5.2.2
139-
elif [ -n "$IS_ALPINE" ]; then
140-
apk add imagemagick
141-
elif [ -n "$SANITIZER" ]; then
142-
apt-get install -y imagemagick
143-
else
144-
if [[ "$MB_ML_VER" == "_2_28" ]]; then
145-
yum install -y epel-release
146-
fi
147-
yum install -y ImageMagick
148137
fi
149-
build_libwebp
138+
build_simple libwebp $LIBWEBP_VERSION \
139+
https://storage.googleapis.com/downloads.webmproject.org/releases/webp tar.gz \
140+
--enable-libwebpmux --enable-libwebpdemux
150141
CFLAGS=$ORIGINAL_CFLAGS
151142

152143
build_brotli

0 commit comments

Comments
 (0)