summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fontconfig/fontconfig-2.2.94/fc-min.patch0
-rw-r--r--fontconfig/fontconfig_2.2.94.oe26
2 files changed, 26 insertions, 0 deletions
diff --git a/fontconfig/fontconfig-2.2.94/fc-min.patch b/fontconfig/fontconfig-2.2.94/fc-min.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/fontconfig/fontconfig-2.2.94/fc-min.patch
diff --git a/fontconfig/fontconfig_2.2.94.oe b/fontconfig/fontconfig_2.2.94.oe
index e69de29bb2..17351b7ca3 100644
--- a/fontconfig/fontconfig_2.2.94.oe
+++ b/fontconfig/fontconfig_2.2.94.oe
@@ -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
+}