mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 21:50:54 +03:00
Install libimagequant from pillow-depends
This commit is contained in:
parent
d764a4c985
commit
a927a7d4e0
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# install libimagequant
|
# 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
|
make -C lib shared
|
||||||
sudo cp lib/libimagequant.so* /usr/lib/
|
sudo cp lib/libimagequant.so* /usr/lib/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user