mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Updated giflib to 5.2.1 on Linux
This commit is contained in:
parent
460084debf
commit
df1ac80fdd
27
config.sh
27
config.sh
|
@ -13,7 +13,11 @@ OPENJPEG_VERSION=2.4.0
|
|||
XZ_VERSION=5.2.5
|
||||
TIFF_VERSION=4.3.0
|
||||
LCMS2_VERSION=2.12
|
||||
GIFLIB_VERSION=5.1.4
|
||||
if [[ -n "$IS_MACOS" ]]; then
|
||||
GIFLIB_VERSION=5.1.4
|
||||
else
|
||||
GIFLIB_VERSION=5.2.1
|
||||
fi
|
||||
LIBWEBP_VERSION=1.2.2
|
||||
BZIP2_VERSION=1.0.8
|
||||
LIBXCB_VERSION=1.14
|
||||
|
@ -32,6 +36,27 @@ function build_libjpeg_turbo {
|
|||
touch jpeg-stamp
|
||||
}
|
||||
|
||||
function build_giflib {
|
||||
local name=giflib
|
||||
local version=$GIFLIB_VERSION
|
||||
local url=https://downloads.sourceforge.net/project/giflib
|
||||
if [ $(lex_ver $GIFLIB_VERSION) -lt $(lex_ver 5.1.5) ]; then
|
||||
build_simple $name $version $url
|
||||
else
|
||||
local ext=tar.gz
|
||||
if [ -e "${name}-stamp" ]; then
|
||||
return
|
||||
fi
|
||||
local name_version="${name}-${version}"
|
||||
local archive=${name_version}.${ext}
|
||||
fetch_unpack $url/$archive
|
||||
(cd $name_version \
|
||||
&& make -j4 \
|
||||
&& make install)
|
||||
touch "${name}-stamp"
|
||||
fi
|
||||
}
|
||||
|
||||
function pre_build {
|
||||
# Any stuff that you need to do before you start building the wheels
|
||||
# Runs in the root directory of this repository.
|
||||
|
|
Loading…
Reference in New Issue
Block a user