update ImageMagick version
[slapos.git] / component / imagemagick / buildout.cfg
1 # ImageMagick - a software suite to create, edit, and compose bitmap images
2 # http://www.imagemagick.org/
3
4 [buildout]
5 parts = imagemagick
6 extends =
7   ../bzip2/buildout.cfg
8   ../fontconfig/buildout.cfg
9   ../freetype/buildout.cfg
10   ../ghostscript/buildout.cfg
11   ../librsvg/buildout.cfg
12   ../libjpeg/buildout.cfg
13   ../libpng/buildout.cfg
14   ../libtiff/buildout.cfg
15   ../libtool/buildout.cfg
16   ../jasper/buildout.cfg
17   ../jbigkit/buildout.cfg
18   ../pkgconfig/buildout.cfg
19   ../zlib/buildout.cfg
20
21 [imagemagick-6.6.6-1-no-gsx-gsc-probe.patch]
22 recipe = hexagonit.recipe.download
23 url = ${:_profile_base_location_}/${:filename}
24 path = ${:filename}
25 md5sum = 3f28ecd9f6722cf2c3238ce6ec3d7a68
26 download-only = true
27 filename = imagemagick-6.6.6-1-no-gsx-gsc-probe.patch
28
29 [imagemagick]
30 recipe = hexagonit.recipe.cmmi
31 url = ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.8.1-10.tar.bz2
32 md5sum = cde56988f9d2208d9d61815cc23665b4
33 depends =
34   ${libtiff:version}
35   ${librsvg:version}
36 configure-options =
37   --disable-static
38   --without-x
39   --with-magick-plus-plus
40   --disable-openmp
41   --disable-opencl
42   --without-dps
43   --without-djvu
44   --without-fftw
45   --without-fpx
46   --with-fontconfig
47   --without-gslib
48   --without-gvc
49   --without-lcms
50   --without-lcms2
51   --without-lqr
52   --without-lzma
53   --without-openexr
54   --without-pango
55   --without-wmf
56   --without-xml
57   --with-bzlib=${bzip2:location}
58   --with-zlib=${zlib:location}
59   --with-ltdl-include=${libtool:location}/include
60   --with-ltdl-lib=${libtool:location}/lib
61   --with-rsvg=${librsvg:location}
62   --with-frozenpaths
63 patch-options = -p1
64 patches =
65   ${imagemagick-6.6.6-1-no-gsx-gsc-probe.patch:location}/${imagemagick-6.6.6-1-no-gsx-gsc-probe.patch:filename}
66 environment =
67   PATH=${freetype:location}/bin:${ghostscript:location}/bin:${pkgconfig:location}/bin:%(PATH)s
68   PKG_CONFIG_PATH=${fontconfig:location}/lib/pkgconfig:${librsvg:location}/lib/pkgconfig
69   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
70   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