Adds WEBP support in ImageMagick (#506)
authorRafael dos Santos Silva <xfalcox@gmail.com>
Fri, 18 Dec 2020 17:34:54 +0000 (14:34 -0300)
committerGitHub <noreply@github.com>
Fri, 18 Dec 2020 17:34:54 +0000 (14:34 -0300)
image/base/install-imagemagick

index b715d621ed3437b3c279bd9226a567406afa0ea8..a43674ce9079698aadd1205f6c516649c61c5f82 100755 (executable)
@@ -18,7 +18,7 @@ WDIR=/tmp/imagemagick
 
 # Install build deps
 apt -y -q remove imagemagick
-apt -y -q install ghostscript gsfonts pkg-config autoconf libbz2-dev libjpeg-dev libtiff-dev libfreetype6-dev libde265-dev
+apt -y -q install ghostscript gsfonts pkg-config autoconf libbz2-dev libjpeg-dev libtiff-dev libfreetype6-dev libde265-dev libwebp-dev
 
 mkdir -p $WDIR
 cd $WDIR
@@ -71,7 +71,8 @@ PKG_CONF_LIBDIR=$PREFIX/lib LDFLAGS=-L$PREFIX/lib CFLAGS=-I$PREFIX/include ./con
           --with-lzma \
           --with-png \
           --with-tiff \
-          --with-heic
+          --with-heic \
+          --with-webp
 make all && make install
 
 cd $HOME