mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
commit
3265f2e50b
|
@ -1,14 +1,14 @@
|
|||
#!/bin/bash
|
||||
# install webp
|
||||
|
||||
if [ ! -f libwebp-0.5.0.tar.gz ]; then
|
||||
wget -O 'libwebp-0.5.0.tar.gz' 'https://github.com/python-pillow/pillow-depends/blob/master/libwebp-0.5.0.tar.gz?raw=true'
|
||||
if [ ! -f libwebp-0.5.1.tar.gz ]; then
|
||||
wget -O 'libwebp-0.5.1.tar.gz' 'https://github.com/python-pillow/pillow-depends/blob/master/libwebp-0.5.1.tar.gz?raw=true'
|
||||
fi
|
||||
|
||||
rm -r libwebp-0.5.0
|
||||
tar -xvzf libwebp-0.5.0.tar.gz
|
||||
rm -r libwebp-0.5.1
|
||||
tar -xvzf libwebp-0.5.1.tar.gz
|
||||
|
||||
pushd libwebp-0.5.0
|
||||
pushd libwebp-0.5.1
|
||||
|
||||
./configure --prefix=/usr --enable-libwebpmux --enable-libwebpdemux && make -j4 && sudo make -j4 install
|
||||
|
||||
|
|
|
@ -75,10 +75,10 @@ libs = {
|
|||
'version': '8.6.5',
|
||||
},
|
||||
'webp': {
|
||||
'url': 'http://downloads.webmproject.org/releases/webp/libwebp-0.5.0.tar.gz',
|
||||
'filename': PILLOW_DEPENDS_DIR + 'libwebp-0.5.0.tar.gz',
|
||||
'hash': 'sha1:d3de815b272fcf88fc4f2dc1ab65d176bcb8df68',
|
||||
'dir': 'libwebp-0.5.0',
|
||||
'url': 'http://downloads.webmproject.org/releases/webp/libwebp-0.5.1.tar.gz',
|
||||
'filename': PILLOW_DEPENDS_DIR + 'libwebp-0.5.1.tar.gz',
|
||||
'hash': 'sha1:66efb2213015ad3460bef64b4fb218fdc10ce83f',
|
||||
'dir': 'libwebp-0.5.1',
|
||||
},
|
||||
'openjpeg': {
|
||||
'url': SF_MIRROR+'/project/openjpeg/openjpeg/2.1.2/openjpeg-2.1.2.tar.gz',
|
||||
|
|
Loading…
Reference in New Issue
Block a user