1 DESCRIPTION = "A library for configuring and customizing font access."
4 DEPENDS = "expat freetype freetype-native zlib"
7 # Work around past breakage in debian.bbclass
8 RPROVIDES_fontconfig-utils = "libfontconfig-utils"
9 RREPLACES_fontconfig-utils = "libfontconfig-utils"
10 RCONFLICTS_fontconfig-utils = "libfontconfig-utils"
11 DEBIAN_NOAUTONAME_fontconfig-utils = "1"
13 SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
16 S = "${WORKDIR}/fontconfig-${PV}"
18 inherit autotools pkgconfig
20 export HASDOCBOOK="no"
22 EXTRA_OECONF = " --disable-docs --with-cache-dir=/var/lib/fontconfig"
23 EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
25 # The tarball has some of the patched files as read only, which
26 # patch doesn't like at all
28 fontconfig_do_unpack() {
33 bb.build.exec_func('base_do_unpack', d)
34 bb.build.exec_func('fontconfig_do_unpack', d)
37 fontconfig-utils_do_install_prepend() {
38 install -m 0755 ${WORKDIR}/01fc-cache ${D}${sysconfdir}/update-fonts-common.d/
41 PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils "
42 FILES_fontconfig-utils-dbg += "${bindir}/*.dbg"
43 FILES_fontconfig-utils = "${bindir}/*"