mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Merge pull request #2237 from radarhere/openjpeg
Updated openjpeg to 2.1.2
This commit is contained in:
commit
3c7df34206
|
@ -2,16 +2,16 @@
|
|||
# install openjpeg
|
||||
|
||||
|
||||
if [ ! -f openjpeg-2.1.0.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'
|
||||
if [ ! -f openjpeg-2.1.2.tar.gz ]; then
|
||||
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
|
||||
|
||||
rm -r openjpeg-2.1.0
|
||||
tar -xvzf openjpeg-2.1.0.tar.gz
|
||||
rm -r openjpeg-2.1.2
|
||||
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
|
||||
|
||||
|
|
|
@ -81,10 +81,10 @@ libs = {
|
|||
'dir': 'libwebp-0.5.0',
|
||||
},
|
||||
'openjpeg': {
|
||||
'url': SF_MIRROR+'/project/openjpeg/openjpeg/2.1.0/openjpeg-2.1.0.tar.gz',
|
||||
'filename': PILLOW_DEPENDS_DIR + 'openjpeg-2.1.0.tar.gz',
|
||||
'hash': 'md5:f6419fcc233df84f9a81eb36633c6db6',
|
||||
'dir': 'openjpeg-2.1.0',
|
||||
'url': SF_MIRROR+'/project/openjpeg/openjpeg/2.1.2/openjpeg-2.1.2.tar.gz',
|
||||
'filename': PILLOW_DEPENDS_DIR + 'openjpeg-2.1.2.tar.gz',
|
||||
'hash': 'md5:40a7bfdcc66280b3c1402a0eb1a27624',
|
||||
'dir': 'openjpeg-2.1.2',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user