Skip to content

Commit cce0f5b

Browse files
committed
Removed giflib as webp dependency
1 parent 9ae8cb8 commit cce0f5b

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

.github/workflows/wheels-dependencies.sh

Lines changed: 3 additions & 10 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,16 +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-
else
142-
if [[ "$MB_ML_VER" == "_2_28" ]]; then
143-
yum install -y epel-release
144-
fi
145-
yum install -y ImageMagick
146137
fi
147-
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
148141
CFLAGS=$ORIGINAL_CFLAGS
149142

150143
build_brotli

0 commit comments

Comments
 (0)