Merge bk://openembedded@openembedded.bkbits.net/packages
authorPhil Blundell <philb@gnu.org>
Sun, 16 May 2004 17:10:39 +0000 (17:10 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 16 May 2004 17:10:39 +0000 (17:10 +0000)
into gandalf.tm.informatik.uni-frankfurt.de:/home/pb_/packages

2004/05/16 19:10:34+02:00 uni-frankfurt.de!pb_
fix compilation problem with new freetype

BKrev: 40a7a08fwjsjQKXAyjZxuMFYRboY5w

fontconfig/fontconfig-2.2.94/fc-min.patch [new file with mode: 0644]
fontconfig/fontconfig_2.2.94.oe

diff --git a/fontconfig/fontconfig-2.2.94/fc-min.patch b/fontconfig/fontconfig-2.2.94/fc-min.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..17351b7 100644 (file)
@@ -0,0 +1,26 @@
+DESCRIPTION = "A library for configuring and customizing font access."
+DEPENDS = "virtual/libc expat freetype freetype-native zlib fontconfig-native"
+
+SRC_URI = "http://pdx.freedesktop.org/~fontconfig/release/fontconfig-${PV}.tar.gz \
+           file://${FILESDIR}/fc-glyphname.patch;patch=1 \
+           file://${FILESDIR}/fc-lang.patch;patch=1 \
+          file://${FILESDIR}/fc-min.patch;patch=1"
+
+PACKAGES =+ "fontconfig-utils "
+FILES_fontconfig-utils = "${bindir}/*"
+
+S = "${WORKDIR}/fontconfig-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = " --disable-docs "
+
+do_compile () {
+       oe_runmake FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname
+}
+
+do_stage () {
+       oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
+       install -d ${STAGING_INCDIR}/fontconfig
+       for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
+}