diff options
Diffstat (limited to 'meta/packages/fontconfig/fontconfig_2.2.95.bb')
-rw-r--r-- | meta/packages/fontconfig/fontconfig_2.2.95.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/packages/fontconfig/fontconfig_2.2.95.bb b/meta/packages/fontconfig/fontconfig_2.2.95.bb new file mode 100644 index 0000000000..78b35b1793 --- /dev/null +++ b/meta/packages/fontconfig/fontconfig_2.2.95.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SECTION = "libs" | ||
2 | LICENSE = "BSD" | ||
3 | DESCRIPTION = "A library for configuring and customizing font access." | ||
4 | DEPENDS = "expat freetype freetype-native zlib fontconfig-native" | ||
5 | |||
6 | SRC_URI = "http://pdx.freedesktop.org/fontconfig/release/fontconfig-${PV}.tar.gz \ | ||
7 | file://fc-glyphname.patch;patch=1 \ | ||
8 | file://fc-lang.patch;patch=1 \ | ||
9 | file://local.conf" | ||
10 | PR = "r2" | ||
11 | |||
12 | PACKAGES =+ "fontconfig-utils " | ||
13 | FILES_fontconfig-utils = "${bindir}/*" | ||
14 | |||
15 | PKG_fontconfig-utils=fontconfig-utils | ||
16 | |||
17 | S = "${WORKDIR}/fontconfig-${PV}" | ||
18 | |||
19 | inherit autotools pkgconfig | ||
20 | |||
21 | export HASDOCBOOK="no" | ||
22 | |||
23 | EXTRA_OECONF = " --disable-docs " | ||
24 | EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname" | ||
25 | |||
26 | do_stage () { | ||
27 | oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR} | ||
28 | install -d ${STAGING_INCDIR}/fontconfig | ||
29 | for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done | ||
30 | } | ||
31 | |||
32 | do_install () { | ||
33 | autotools_do_install | ||
34 | install -m 0644 ${WORKDIR}/local.conf ${D}${sysconfdir}/fonts/local.conf | ||
35 | } | ||
36 | |||