mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Changed from pngquant to libimagequant
This commit is contained in:
parent
b7a27533b1
commit
c5cd32dd4a
|
@ -1,14 +1,14 @@
|
|||
#!/bin/bash
|
||||
# install libimagequant
|
||||
|
||||
archive=pngquant-2.8.2
|
||||
archive=libimagequant-2.8.2
|
||||
|
||||
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/master/$archive.tar.gz
|
||||
|
||||
pushd $archive
|
||||
|
||||
make -C lib shared
|
||||
sudo cp lib/libimagequant.so* /usr/lib/
|
||||
sudo cp lib/libimagequant.h /usr/include/
|
||||
make shared
|
||||
sudo cp libimagequant.so* /usr/lib/
|
||||
sudo cp libimagequant.h /usr/include/
|
||||
|
||||
popd
|
||||
|
|
Loading…
Reference in New Issue
Block a user