mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Updated multibuild to include build_giflib for giflib >= 5.1.5
This commit is contained in:
		
							parent
							
								
									98c6102882
								
							
						
					
					
						commit
						8165ad55e0
					
				
							
								
								
									
										21
									
								
								config.sh
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								config.sh
									
									
									
									
									
								
							| 
						 | 
					@ -26,27 +26,6 @@ LIBWEBP_VERSION=1.2.4
 | 
				
			||||||
BZIP2_VERSION=1.0.8
 | 
					BZIP2_VERSION=1.0.8
 | 
				
			||||||
LIBXCB_VERSION=1.14
 | 
					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
 | 
					if [[ -n "$IS_MACOS" ]] && [[ "$PLAT" == "x86_64" ]]; then
 | 
				
			||||||
    function build_openjpeg {
 | 
					    function build_openjpeg {
 | 
				
			||||||
        local out_dir=$(fetch_unpack https://github.com/uclouvain/openjpeg/archive/v${OPENJPEG_VERSION}.tar.gz)
 | 
					        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