summaryrefslogtreecommitdiffstats
path: root/meta/packages/fontconfig/fontconfig_2.4.2.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-30 15:30:16 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-30 15:30:16 +0000
commit8344c7b3a9c223385fb26f349619eb9e4884aac9 (patch)
tree8ec6b0087f79bc9bc727a411124a7d4c83dd37a3 /meta/packages/fontconfig/fontconfig_2.4.2.bb
parent98b1bac54b411b66535de5f435ad5e62cdc54f03 (diff)
downloadpoky-8344c7b3a9c223385fb26f349619eb9e4884aac9.tar.gz
fontconfig: updated to 2.6.0
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4753 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/fontconfig/fontconfig_2.4.2.bb')
-rw-r--r--meta/packages/fontconfig/fontconfig_2.4.2.bb76
1 files changed, 0 insertions, 76 deletions
diff --git a/meta/packages/fontconfig/fontconfig_2.4.2.bb b/meta/packages/fontconfig/fontconfig_2.4.2.bb
deleted file mode 100644
index b974e99c76..0000000000
--- a/meta/packages/fontconfig/fontconfig_2.4.2.bb
+++ /dev/null
@@ -1,76 +0,0 @@
1SECTION = "libs"
2LICENSE = "BSD"
3DESCRIPTION = "A library for configuring and customizing font access."
4DEPENDS = "expat freetype zlib"
5
6SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
7 file://configure_fix.patch;patch=1"
8
9PR = "r10"
10
11PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils "
12FILES_fontconfig-utils-dbg = "${bindir}/*.dbg"
13FILES_fontconfig-utils = "${bindir}/*"
14
15# Work around past breakage in debian.bbclass
16RPROVIDES_fontconfig-utils = "libfontconfig-utils"
17RREPLACES_fontconfig-utils = "libfontconfig-utils"
18RCONFLICTS_fontconfig-utils = "libfontconfig-utils"
19DEBIAN_NOAUTONAME_fontconfig-utils = "1"
20
21S = "${WORKDIR}/fontconfig-${PV}"
22
23inherit autotools pkgconfig
24
25export HASDOCBOOK="no"
26
27EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH}"
28EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
29
30# The tarball has some of the patched files as read only, which
31# patch doesn't like at all
32
33fontconfig_do_unpack() {
34 chmod -R u+rw ${S}
35}
36
37python do_unpack () {
38 bb.build.exec_func('base_do_unpack', d)
39 bb.build.exec_func('fontconfig_do_unpack', d)
40}
41
42do_stage () {
43 oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
44 install -d ${STAGING_INCDIR}/fontconfig
45 for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
46}
47
48BUILD_CFLAGS += " -I${STAGING_INCDIR}/freetype2"
49
50do_configure_append () {
51 sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-case/Makefile
52 sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-glyphname/Makefile
53 sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-lang/Makefile
54 sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-arch/Makefile
55
56 sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-case/Makefile
57 sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-glyphname/Makefile
58 sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-lang/Makefile
59 sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-arch/Makefile
60
61 sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-case/Makefile
62 sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-glyphname/Makefile
63 sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-lang/Makefile
64 sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-arch/Makefile
65
66 sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-case/Makefile
67 sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-glyphname/Makefile
68 sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-lang/Makefile
69 sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-arch/Makefile
70
71}
72
73do_install () {
74 autotools_do_install
75}
76