PROJECT_MOVED -> https://lab.nexedi.com/nexedi/slapos
[slapos.git] / component / fontconfig / buildout.cfg
1 [buildout]
2 extends =
3   ../fonts/buildout.cfg
4   ../freetype/buildout.cfg
5   ../libxml2/buildout.cfg
6   ../pkgconfig/buildout.cfg
7   ../bzip2/buildout.cfg
8   ../zlib/buildout.cfg
9   ../bzip2/buildout.cfg
10
11 parts =
12   fontconfig
13
14 [fontconfig]
15 recipe = slapos.recipe.cmmi
16 url = http://fontconfig.org/release/fontconfig-2.11.1.tar.bz2
17 md5sum = 824d000eb737af6e16c826dd3b2d6c90
18 pkg_config_depends = ${freetype:pkg_config_depends}:${freetype:location}/lib/pkgconfig:${libxml2:location}/lib/pkgconfig
19 # XXX-Cedric : should we use --with-add-fonts={somefont:location}/share,{someotherfont:location}/share?
20 configure-options =
21   --disable-static
22   --disable-docs
23   --enable-libxml2
24   --with-default-fonts=${fonts:location}
25 environment =
26   PATH=${pkgconfig:location}/bin:%(PATH)s
27   PKG_CONFIG_PATH=${:pkg_config_depends}
28   CPPFLAGS=-I${zlib:location}/include -I${bzip2:location}/include
29   LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib