mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Install libimagequant from pillow-depends
This commit is contained in:
parent
d764a4c985
commit
a927a7d4e0
|
@ -1,9 +1,11 @@
|
|||
#!/bin/bash
|
||||
# install libimagequant
|
||||
|
||||
git clone -b 2.6.0 https://github.com/pornel/pngquant
|
||||
archive=pngquant-2.6.0
|
||||
|
||||
pushd pngquant
|
||||
./download-and-extract.sh $archive https://github.com/python-pillow/pillow-depends/blob/master/$archive.tar.gz?raw=true
|
||||
|
||||
pushd $archive
|
||||
|
||||
make -C lib shared
|
||||
sudo cp lib/libimagequant.so* /usr/lib/
|
||||
|
|
Loading…
Reference in New Issue
Block a user