summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/fontconfig
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-01-23 17:17:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-26 13:39:37 +0000
commitb8473eb82201d8646fb6aadadc18796856b6523f (patch)
treeacae7f224c49350523240ba90369e377e25e21f0 /meta/recipes-graphics/fontconfig
parent1979d9162a335b7d4718a6697ca57bfa16237f0e (diff)
downloadpoky-b8473eb82201d8646fb6aadadc18796856b6523f.tar.gz
fontcache: fix postinst for nativesdk case
Both installing the binary into the correct place, and passing that place to postinst_intercept were missing. (From OE-Core rev: 9ac7415464b7817aa5cc0c2167ff61f4344660dd) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/fontconfig')
-rw-r--r--meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb
index beeae7fb10..8fa739de24 100644
--- a/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb
+++ b/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb
@@ -42,6 +42,12 @@ do_install_append_class-target() {
42 ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache 42 ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache
43} 43}
44 44
45do_install_append_class-nativesdk() {
46 # duplicate fc-cache for postinstall script
47 mkdir -p ${D}${libexecdir}
48 ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache
49}
50
45PACKAGES =+ "fontconfig-utils" 51PACKAGES =+ "fontconfig-utils"
46FILES_${PN} =+ "${datadir}/xml/*" 52FILES_${PN} =+ "${datadir}/xml/*"
47FILES_fontconfig-utils = "${bindir}/* ${libexecdir}/*" 53FILES_fontconfig-utils = "${bindir}/* ${libexecdir}/*"