mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 18:36:17 +03:00
Merge pull request #314 from radarhere/giflib
This commit is contained in:
commit
4c346c6fec
21
config.sh
21
config.sh
|
@ -26,27 +26,6 @@ LIBWEBP_VERSION=1.2.4
|
|||
BZIP2_VERSION=1.0.8
|
||||
LIBXCB_VERSION=1.14
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
if [[ -n "$IS_MACOS" ]] && [[ "$PLAT" == "x86_64" ]]; then
|
||||
function build_openjpeg {
|
||||
local out_dir=$(fetch_unpack https://github.com/uclouvain/openjpeg/archive/v${OPENJPEG_VERSION}.tar.gz)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 10d9a4c9663759e194495e87eb84f96f7cb513e9
|
||||
Subproject commit e86d73f9289ecc19f0bb5e17c2724f03e5b81bdb
|
Loading…
Reference in New Issue
Block a user