gd: build with freetype support
authorRoman I Khimov <khimov@altell.ru>
Mon, 5 Apr 2010 19:28:15 +0000 (23:28 +0400)
committerRoman I Khimov <khimov@altell.ru>
Thu, 8 Apr 2010 18:35:47 +0000 (22:35 +0400)
Support for freetype in gd is required for some packages and it looks
like it was disabled previosly just because of build failures. Version
2.0.35+2.0.36rc1 builds fine with it, so enable freetype for it.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/gd/gd_2.0.35+2.0.36rc1.bb

index efba70e..d1ea7f6 100644 (file)
@@ -1,8 +1,8 @@
 SECTION = "libs"
 LICENSE = "GD"
 DESCRIPTION = "gd is a library used to create PNG, JPEG, or WBMP images."
-DEPENDS = "libpng jpeg zlib"
-PR = "r2"
+DEPENDS = "freetype libpng jpeg zlib"
+PR = "r3"
 
 SRC_URI = "http://www.libgd.org/releases/gd-2.0.36RC1.tar.gz;name=src"
 SRC_URI[src.md5sum] = "39ac48e6d5e0012a3bd2248a0102f209"
@@ -15,7 +15,7 @@ inherit autotools binconfig gettext
 EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
                   --with-png=${STAGING_LIBDIR}/.. \
                   --with-jpeg=${STAGING_LIBDIR}/.. \
-                  --without-freetype \
+                  --with-freetype \
                   --without-fontconfig \
                   --without-xpm \
                   --without-x"