Merge branch 'master' into erp5-component-merge
[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   ../webp/buildout.cfg
20   ../zlib/buildout.cfg
21
22 [imagemagick-6.6.6-1-no-gsx-gsc-probe.patch]
23 recipe = hexagonit.recipe.download
24 url = ${:_profile_base_location_}/${:filename}
25 path = ${:filename}
26 md5sum = 3f28ecd9f6722cf2c3238ce6ec3d7a68
27 download-only = true
28 filename = imagemagick-6.6.6-1-no-gsx-gsc-probe.patch
29
30 [imagemagick]
31 recipe = hexagonit.recipe.cmmi
32 url = http://ftp.vim.org/ImageMagick/ImageMagick-6.8.1-9.tar.bz2
33 md5sum = cde56988f9d2208d9d61815cc23665b4
34 depends =
35   ${libtiff:version}
36   ${librsvg:version}
37 configure-options =
38   --disable-static
39   --without-x
40   --with-magick-plus-plus
41   --disable-openmp
42   --disable-opencl
43   --without-dps
44   --without-djvu
45   --without-fftw
46   --without-fpx
47   --with-fontconfig
48   --without-gslib
49   --without-gvc
50   --without-lcms
51   --without-lcms2
52   --without-lqr
53   --without-lzma
54   --without-openexr
55   --without-pango
56   --without-wmf
57   --without-xml
58   --with-bzlib=${bzip2:location}
59   --with-zlib=${zlib:location}
60   --with-ltdl-include=${libtool:location}/include
61   --with-ltdl-lib=${libtool:location}/lib
62   --with-rsvg=${librsvg:location}
63   --with-frozenpaths
64 patch-options = -p1
65 patches =
66   ${imagemagick-6.6.6-1-no-gsx-gsc-probe.patch:location}/${imagemagick-6.6.6-1-no-gsx-gsc-probe.patch:filename}
67 environment =
68   PATH=${freetype:location}/bin:${ghostscript:location}/bin:${pkgconfig:location}/bin:%(PATH)s
69   PKG_CONFIG_PATH=${fontconfig:location}/lib/pkgconfig:${librsvg:location}/lib/pkgconfig
70   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
71   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