# WebP - A new image format for the Web
# https://developers.google.com/speed/webp/

[buildout]
parts =
  webp
extends =
  ../giflib/buildout.cfg
  ../libjpeg/buildout.cfg
  ../libpng/buildout.cfg
  ../libtiff/buildout.cfg

[webp]
recipe = slapos.recipe.cmmi
shared = true
url = http://downloads.webmproject.org/releases/webp/libwebp-1.3.2.tar.gz
md5sum = 34869086761c0e2da6361035f7b64771
configure-options =
  --disable-static
  --disable-gl
  --disable-sdl
  --disable-wic
  --enable-everything
  --with-jpegincludedir=${libjpeg:location}/include
  --with-jpeglibdir=${libjpeg:location}/lib
  --with-tiffincludedir=${libtiff:location}/include
  --with-tifflibdir=${libtiff:location}/lib
  --with-gifincludedir=${giflib:location}/include
  --with-giflibdir=${giflib:location}/lib
environment =
  PATH=${libpng:location}/bin:%(PATH)s
