diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-06-30 15:30:16 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-06-30 15:30:16 +0000 |
commit | 8344c7b3a9c223385fb26f349619eb9e4884aac9 (patch) | |
tree | 8ec6b0087f79bc9bc727a411124a7d4c83dd37a3 /meta/packages/fontconfig/fontconfig_2.4.2.bb | |
parent | 98b1bac54b411b66535de5f435ad5e62cdc54f03 (diff) | |
download | poky-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.bb | 76 |
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 @@ | |||
1 | SECTION = "libs" | ||
2 | LICENSE = "BSD" | ||
3 | DESCRIPTION = "A library for configuring and customizing font access." | ||
4 | DEPENDS = "expat freetype zlib" | ||
5 | |||
6 | SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ | ||
7 | file://configure_fix.patch;patch=1" | ||
8 | |||
9 | PR = "r10" | ||
10 | |||
11 | PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils " | ||
12 | FILES_fontconfig-utils-dbg = "${bindir}/*.dbg" | ||
13 | FILES_fontconfig-utils = "${bindir}/*" | ||
14 | |||
15 | # Work around past breakage in debian.bbclass | ||
16 | RPROVIDES_fontconfig-utils = "libfontconfig-utils" | ||
17 | RREPLACES_fontconfig-utils = "libfontconfig-utils" | ||
18 | RCONFLICTS_fontconfig-utils = "libfontconfig-utils" | ||
19 | DEBIAN_NOAUTONAME_fontconfig-utils = "1" | ||
20 | |||
21 | S = "${WORKDIR}/fontconfig-${PV}" | ||
22 | |||
23 | inherit autotools pkgconfig | ||
24 | |||
25 | export HASDOCBOOK="no" | ||
26 | |||
27 | EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH}" | ||
28 | EXTRA_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 | |||
33 | fontconfig_do_unpack() { | ||
34 | chmod -R u+rw ${S} | ||
35 | } | ||
36 | |||
37 | python do_unpack () { | ||
38 | bb.build.exec_func('base_do_unpack', d) | ||
39 | bb.build.exec_func('fontconfig_do_unpack', d) | ||
40 | } | ||
41 | |||
42 | do_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 | |||
48 | BUILD_CFLAGS += " -I${STAGING_INCDIR}/freetype2" | ||
49 | |||
50 | do_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 | |||
73 | do_install () { | ||
74 | autotools_do_install | ||
75 | } | ||
76 | |||