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 | 13 |
1 files changed, 7 insertions, 6 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..edf7cf7642 100644 --- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc +++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc | |||
@@ -2,14 +2,15 @@ HOMEPAGE = "http://www.x.org" | |||
2 | BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" | 2 | BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" |
3 | 3 | ||
4 | SECTION = "x11/fonts" | 4 | SECTION = "x11/fonts" |
5 | LICENSE = "MIT-X" | 5 | LICENSE = "MIT" |
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 | ||
12 | SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.bz2" | 12 | SRC_URI_EXT = "bz2" |
13 | SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.${SRC_URI_EXT}" | ||
13 | S = "${WORKDIR}/${XORG_PN}-${PV}" | 14 | S = "${WORKDIR}/${XORG_PN}-${PV}" |
14 | 15 | ||
15 | inherit autotools pkgconfig features_check | 16 | inherit autotools pkgconfig features_check |
@@ -19,17 +20,17 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
19 | 20 | ||
20 | EXTRA_OEMAKE += "FCCACHE=/bin/true UTIL_DIR=${STAGING_DIR_TARGET}\$\(MAPFILES_PATH\)" | 21 | EXTRA_OEMAKE += "FCCACHE=/bin/true UTIL_DIR=${STAGING_DIR_TARGET}\$\(MAPFILES_PATH\)" |
21 | 22 | ||
22 | do_install_append() { | 23 | do_install:append() { |
23 | find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f | 24 | 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 | 25 | 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 | 26 | 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 | 27 | find ${D}${datadir}/fonts/X11 -type f -name fonts.scale | xargs rm -f |
27 | } | 28 | } |
28 | 29 | ||
29 | FILES_${PN} += " ${libdir}/X11/fonts ${datadir}" | 30 | FILES:${PN} += " ${libdir}/X11/fonts ${datadir}" |
30 | 31 | ||
31 | PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native" | 32 | PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native" |
32 | pkg_postinst_${PN} () { | 33 | pkg_postinst:${PN} () { |
33 | for fontdir in `find $D/usr/lib/X11/fonts -type d`; do | 34 | for fontdir in `find $D/usr/lib/X11/fonts -type d`; do |
34 | mkfontdir $fontdir | 35 | mkfontdir $fontdir |
35 | mkfontscale $fontdir | 36 | mkfontscale $fontdir |