From a927a7d4e0011ecdeec5cf9b3574dfb8a49a4062 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sat, 24 Dec 2016 19:31:45 +0200 Subject: [PATCH] Install libimagequant from pillow-depends --- depends/install_imagequant.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/depends/install_imagequant.sh b/depends/install_imagequant.sh index dd497dc3c..8ddf7c991 100755 --- a/depends/install_imagequant.sh +++ b/depends/install_imagequant.sh @@ -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/