diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-font/xorg-font-common.inc')
-rw-r--r-- | meta/recipes-graphics/xorg-font/xorg-font-common.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc index 7ca5c76a66..ba5840425c 100644 --- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc +++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc | |||
@@ -5,7 +5,7 @@ SECTION = "x11/fonts" | |||
5 | LICENSE = "MIT-X" | 5 | LICENSE = "MIT-X" |
6 | 6 | ||
7 | DEPENDS = " encodings font-alias font-util-native" | 7 | DEPENDS = " encodings font-alias font-util-native" |
8 | RDEPENDS_${PN} = "encodings font-util font-alias" | 8 | RDEPENDS:${PN} = "encodings font-util font-alias" |
9 | 9 | ||
10 | XORG_PN = "${BPN}" | 10 | XORG_PN = "${BPN}" |
11 | 11 | ||
@@ -19,17 +19,17 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
19 | 19 | ||
20 | EXTRA_OEMAKE += "FCCACHE=/bin/true UTIL_DIR=${STAGING_DIR_TARGET}\$\(MAPFILES_PATH\)" | 20 | EXTRA_OEMAKE += "FCCACHE=/bin/true UTIL_DIR=${STAGING_DIR_TARGET}\$\(MAPFILES_PATH\)" |
21 | 21 | ||
22 | do_install_append() { | 22 | do_install:append() { |
23 | find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f | 23 | find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f |
24 | find ${D}${libdir}/X11/fonts -type f -name fonts.scale | xargs rm -f | 24 | find ${D}${libdir}/X11/fonts -type f -name fonts.scale | xargs rm -f |
25 | find ${D}${datadir}/fonts/X11 -type f -name fonts.dir | xargs rm -f | 25 | find ${D}${datadir}/fonts/X11 -type f -name fonts.dir | xargs rm -f |
26 | find ${D}${datadir}/fonts/X11 -type f -name fonts.scale | xargs rm -f | 26 | find ${D}${datadir}/fonts/X11 -type f -name fonts.scale | xargs rm -f |
27 | } | 27 | } |
28 | 28 | ||
29 | FILES_${PN} += " ${libdir}/X11/fonts ${datadir}" | 29 | FILES:${PN} += " ${libdir}/X11/fonts ${datadir}" |
30 | 30 | ||
31 | PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native" | 31 | PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native" |
32 | pkg_postinst_${PN} () { | 32 | pkg_postinst:${PN} () { |
33 | for fontdir in `find $D/usr/lib/X11/fonts -type d`; do | 33 | for fontdir in `find $D/usr/lib/X11/fonts -type d`; do |
34 | mkfontdir $fontdir | 34 | mkfontdir $fontdir |
35 | mkfontscale $fontdir | 35 | mkfontscale $fontdir |