buildout.cfg 2.79 KB
Newer Older
1 2 3 4 5 6
# ImageMagick - a software suite to create, edit, and compose bitmap images
# http://www.imagemagick.org/

[buildout]
parts = imagemagick
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
7 8 9 10
  ../bzip2/buildout.cfg
  ../fontconfig/buildout.cfg
  ../freetype/buildout.cfg
  ../ghostscript/buildout.cfg
11
  ../librsvg/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
12 13 14 15
  ../libjpeg/buildout.cfg
  ../libpng/buildout.cfg
  ../libtiff/buildout.cfg
  ../libtool/buildout.cfg
16
  ../libxml2/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
17 18 19
  ../jasper/buildout.cfg
  ../jbigkit/buildout.cfg
  ../pkgconfig/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
20
  ../webp/buildout.cfg
21
  ../xz-utils/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
22
  ../zlib/buildout.cfg
23 24 25

[imagemagick-6.6.6-1-no-gsx-gsc-probe.patch]
recipe = hexagonit.recipe.download
26
url = ${:_profile_base_location_}/${:filename}
27 28 29 30 31 32 33
path = ${:filename}
md5sum = 3f28ecd9f6722cf2c3238ce6ec3d7a68
download-only = true
filename = imagemagick-6.6.6-1-no-gsx-gsc-probe.patch

[imagemagick]
recipe = hexagonit.recipe.cmmi
34 35
url = http://ftp.vim.org/ImageMagick/ImageMagick-6.8.2-6.tar.xz
md5sum = ee01558201041a9978dd14b1db946ce8
36 37
depends =
  ${libtiff:version}
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
configure-options =
  --disable-static
  --without-x
  --with-magick-plus-plus
  --disable-openmp
  --disable-opencl
  --without-dps
  --without-djvu
  --without-fftw
  --without-fpx
  --with-fontconfig
  --without-gslib
  --without-gvc
  --without-lcms
  --without-lcms2
  --without-lqr
  --without-openexr
55
  --without-pango
56
  --without-rsvg
57 58 59 60 61
  --without-wmf
  --with-bzlib=${bzip2:location}
  --with-zlib=${zlib:location}
  --with-ltdl-include=${libtool:location}/include
  --with-ltdl-lib=${libtool:location}/lib
62
  --with-gs-font-dir=${ghostscript-fonts:location}
63 64 65 66 67
  --with-frozenpaths
patch-options = -p1
patches =
  ${imagemagick-6.6.6-1-no-gsx-gsc-probe.patch:location}/${imagemagick-6.6.6-1-no-gsx-gsc-probe.patch:filename}
environment =
68 69
  PATH=${freetype:location}/bin:${ghostscript:location}/bin:${librsvg:location}/bin:${libxml2:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${fontconfig:location}/lib/pkgconfig:${freetype:location}/lib/pkgconfig:${xz-utils:location}/lib/pkgconfig
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
70 71
  CPPFLAGS=-I${bzip2:location}/include -I${zlib:location}/include -I${jbigkit:location}/include -I${libjpeg:location}/include -I${libtiff: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${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