summaryrefslogtreecommitdiff
path: root/packages/fontconfig
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fontconfig')
-rw-r--r--packages/fontconfig/files/local.conf0
-rw-r--r--packages/fontconfig/fontconfig_2.2.95.bb10
2 files changed, 9 insertions, 1 deletions
diff --git a/packages/fontconfig/files/local.conf b/packages/fontconfig/files/local.conf
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fontconfig/files/local.conf
diff --git a/packages/fontconfig/fontconfig_2.2.95.bb b/packages/fontconfig/fontconfig_2.2.95.bb
index 54ca0b2f6f..6989b7a053 100644
--- a/packages/fontconfig/fontconfig_2.2.95.bb
+++ b/packages/fontconfig/fontconfig_2.2.95.bb
@@ -5,7 +5,9 @@ DEPENDS = "expat freetype freetype-native zlib fontconfig-native"
SRC_URI = "http://pdx.freedesktop.org/fontconfig/release/fontconfig-${PV}.tar.gz \
file://fc-glyphname.patch;patch=1 \
- file://fc-lang.patch;patch=1"
+ file://fc-lang.patch;patch=1 \
+ file://local.conf"
+PR = "r1"
PACKAGES =+ "fontconfig-utils "
FILES_fontconfig-utils = "${bindir}/*"
@@ -24,3 +26,9 @@ do_stage () {
install -d ${STAGING_INCDIR}/fontconfig
for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
}
+
+do_install () {
+ autotools_do_install
+ install -m 0644 ${WORKDIR}/local.conf ${D}${sysconfdir}/fonts/local.conf
+}
+