Merge pull request #2237 from radarhere/openjpeg

Updated openjpeg to 2.1.2
This commit is contained in:
wiredfool 2016-11-22 12:45:20 +00:00 committed by GitHub
commit 3c7df34206
2 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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',
},
}