# ImageMagick - a software suite to create, edit, and compose bitmap images # http://www.imagemagick.org/ [buildout] parts = imagemagick extends = ../bzip2/buildout.cfg ../fontconfig/buildout.cfg ../freetype/buildout.cfg ../ghostscript/buildout.cfg ../inkscape/buildout.cfg ../lcms/buildout.cfg ../libjpeg/buildout.cfg ../libpng/buildout.cfg ../libtiff/buildout.cfg ../libtool/buildout.cfg ../libxml2/buildout.cfg ../jasper/buildout.cfg ../jbigkit/buildout.cfg ../patch/buildout.cfg ../pkgconfig/buildout.cfg ../webp/buildout.cfg ../xz-utils/buildout.cfg ../zlib/buildout.cfg [imagemagick] recipe = slapos.recipe.cmmi shared = true version = 7.0.2-10 url = https://www.imagemagick.org/download/releases/ImageMagick-${:version}.tar.xz md5sum = e1cb23d9c10a8eff228ef30ee281711a pkg_config_depends = ${fontconfig:location}/lib/pkgconfig:${fontconfig:pkg_config_depends}:${lcms2:location}/lib/pkgconfig:${xz-utils:location}/lib/pkgconfig configure-options = --disable-static --without-x --with-magick-plus-plus --disable-openmp --disable-opencl --without-dps --without-djvu --without-fftw --without-flif --without-fpx --with-fontconfig --without-gslib --without-gvc --with-lcms --without-openjp2 --without-lqr --without-lzma --without-openexr --without-pango --without-raqm --without-rsvg --without-wmf --with-bzlib=${bzip2:location} --with-zlib=${zlib:location} --with-frozenpaths patch-options = -p1 patches = ${:_profile_base_location_}/imagemagick-7.0.2-10-no-gsx-gsc-probe.patch#64898455d5175efedd1a7bef9f1f18b5 ${:_profile_base_location_}/safe_policy.patch#383c0392de7257c9dff7270973342914 environment = PATH=${freetype:location}/bin:${ghostscript:location}/bin:${inkscape:location}/bin:${libxml2:location}/bin:${patch:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s PKG_CONFIG_PATH=${:pkg_config_depends} CPPFLAGS=-I${bzip2:location}/include -I${zlib:location}/include -I${jbigkit:location}/include -I${libjpeg:location}/include -I${libtiff:location}/include -I${libtool:location}/include -I${libpng:location}/include -I${jasper:location}/include -I${freetype:location}/include -I${webp:location}/include LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${jbigkit:location}/lib -Wl,-rpath=${jbigkit:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -L${libtiff:location}/lib -Wl,-rpath=${libtiff:location}/lib -L${libtool:location}/lib -Wl,-rpath=${libtool:location}/lib -L${libpng:location}/lib -Wl,-rpath=${libpng:location}/lib -L${jasper:location}/lib -Wl,-rpath=${jasper:location}/lib -L${freetype:location}/lib -Wl,-rpath=${freetype:location}/lib -L${webp:location}/lib -Wl,-rpath=${webp:location}/lib