aboutsummaryrefslogtreecommitdiffstats
path: root/fontconfig
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-12-13 01:28:28 +0000
committerChris Larson <clarson@kergoth.com>2003-12-13 01:28:28 +0000
commitcebdc67e53f825392de55a623dedb693433638c8 (patch)
treeb6b0788028522520ab6c8193440a975b2f500c04 /fontconfig
parentf605b9228a3d597557a7e1fb3cf6c8d1f9990c38 (diff)
downloadopenembedded-cebdc67e53f825392de55a623dedb693433638c8.tar.gz
Fix the fontconfig build.. had to add freetype-native for that to work well.
BKrev: 3fda6b3cujTT5_ygq34ooB3X1Bxraw
Diffstat (limited to 'fontconfig')
-rw-r--r--fontconfig/fontconfig_2.2.92.oe41
1 files changed, 41 insertions, 0 deletions
diff --git a/fontconfig/fontconfig_2.2.92.oe b/fontconfig/fontconfig_2.2.92.oe
index e69de29bb2..c8c394dd68 100644
--- a/fontconfig/fontconfig_2.2.92.oe
+++ b/fontconfig/fontconfig_2.2.92.oe
@@ -0,0 +1,41 @@
+DESCRIPTION = A library for configuring and customizing font access.
+DEPENDS = virtual/libc expat freetype freetype-native
+RDEPENDS = libc6 expat freetype
+
+FC_SONAME = 1.0.4
+
+SRC_URI = http://pdx.freedesktop.org/~fontconfig/release/fontconfig-2.2.92.tar.gz \
+ file://${FILESDIR}/freetype-includes.patch;patch=1;pnum=0 \
+ file://${FILESDIR}/makefile1.patch;patch=1 \
+ file://${FILESDIR}/makefile2.patch;patch=1
+
+S = "${WORKDIR}/fontconfig-2.2.92"
+
+inherit autotools libtool pkgconfig
+
+EXTRA_OECONF=" --disable-docs "
+
+do_compile () {
+# XXX 2.2.92 dist missing some files !
+ touch fc-list/fc-list.1
+ touch fc-cache/fc-cache.1
+ oe_runmake -C fc-lang 'CC=${BUILD_CC}' \
+ 'CFLAGS=${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' \
+ 'CPPFLAGS=${BUILD_CPPFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' \
+ 'FREETYPE_CFLAGS=-I${STAGING_INCDIR}/freetype2' 'FREETYPE_LIBS=-lfreetype -lz'
+ oe_runmake -C fc-glyphname 'CC=${BUILD_CC}' \
+ 'CFLAGS=${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' \
+ 'CPPFLAGS=${BUILD_CPPFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}'
+ 'FREETYPE_CFLAGS=-I${STAGING_INCDIR}/freetype2' 'FREETYPE_LIBS=-lfreetype -lz'
+ oe_runmake
+}
+
+
+do_stage () {
+ install -m 755 -D src/.libs/libfontconfig.so.${FC_SONAME} ${STAGING_LIBDIR}/libfontconfig.so.${FC_SONAME}
+ ln -sf ./libfontconfig.so.${FC_SONAME} ${STAGING_LIBDIR}/libfontconfig.so.6
+ ln -sf ./libfontconfig.so.${FC_SONAME} ${STAGING_LIBDIR}/libfontconfig.so
+ install -d ${STAGING_INCDIR}/fontconfig
+ cp -a fontconfig/*.h ${STAGING_INCDIR}/fontconfig/
+}
+