diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-graphics/xorg-font/xorg-font-common.inc | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 |