mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Updated openjpeg to 2.1.2
This commit is contained in:
parent
17d38d0905
commit
dc0d4f8db6
|
@ -2,16 +2,16 @@
|
||||||
# install openjpeg
|
# install openjpeg
|
||||||
|
|
||||||
|
|
||||||
if [ ! -f openjpeg-2.1.0.tar.gz ]; then
|
if [ ! -f openjpeg-2.1.2.tar.gz ]; then
|
||||||
wget -O 'openjpeg-2.1.0.tar.gz' 'https://github.com/python-pillow/pillow-depends/blob/master/openjpeg-2.1.0.tar.gz?raw=true'
|
wget -O 'openjpeg-2.1.2.tar.gz' 'https://github.com/python-pillow/pillow-depends/blob/master/openjpeg-2.1.2.tar.gz?raw=true'
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -r openjpeg-2.1.0
|
rm -r openjpeg-2.1.2
|
||||||
tar -xvzf openjpeg-2.1.0.tar.gz
|
tar -xvzf openjpeg-2.1.2.tar.gz
|
||||||
|
|
||||||
|
|
||||||
pushd openjpeg-2.1.0
|
pushd openjpeg-2.1.2
|
||||||
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr . && make -j4 && sudo make -j4 install
|
cmake -DCMAKE_INSTALL_PREFIX=/usr . && make -j4 && sudo make -j4 install
|
||||||
|
|
||||||
|
|
|
@ -81,10 +81,10 @@ libs = {
|
||||||
'dir': 'libwebp-0.5.0',
|
'dir': 'libwebp-0.5.0',
|
||||||
},
|
},
|
||||||
'openjpeg': {
|
'openjpeg': {
|
||||||
'url': SF_MIRROR+'/project/openjpeg/openjpeg/2.1.0/openjpeg-2.1.0.tar.gz',
|
'url': SF_MIRROR+'/project/openjpeg/openjpeg/2.1.2/openjpeg-2.1.2.tar.gz',
|
||||||
'filename': PILLOW_DEPENDS_DIR + 'openjpeg-2.1.0.tar.gz',
|
'filename': PILLOW_DEPENDS_DIR + 'openjpeg-2.1.2.tar.gz',
|
||||||
'hash': 'md5:f6419fcc233df84f9a81eb36633c6db6',
|
'hash': 'md5:40a7bfdcc66280b3c1402a0eb1a27624',
|
||||||
'dir': 'openjpeg-2.1.0',
|
'dir': 'openjpeg-2.1.2',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user