mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-25 16:20:33 +03:00
Merge pull request #2354 from radarhere/quant
Changed from pngquant to libimagequant
This commit is contained in:
commit
55065be2e6
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# install libimagequant
|
# 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
|
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/master/$archive.tar.gz
|
||||||
|
|
||||||
pushd $archive
|
pushd $archive
|
||||||
|
|
||||||
make -C lib shared
|
make shared
|
||||||
sudo cp lib/libimagequant.so* /usr/lib/
|
sudo cp libimagequant.so* /usr/lib/
|
||||||
sudo cp lib/libimagequant.h /usr/include/
|
sudo cp libimagequant.h /usr/include/
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue
Block a user