xorg-font-common: Add PACKAGE_WRITE_DEPS for postinst
mkfontdir and mkfontscale are used in the postinstall script. (From OE-Core rev: 7b2ab076386a6a8e92a90c0c804647feca61dd40) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
31943a7ecf
commit
5d01111eb8
|
@ -4,7 +4,7 @@ BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
|
|||
SECTION = "x11/fonts"
|
||||
LICENSE = "MIT-X"
|
||||
|
||||
DEPENDS = " encodings font-alias font-util-native mkfontdir-native mkfontscale-native"
|
||||
DEPENDS = " encodings font-alias font-util-native"
|
||||
RDEPENDS_${PN} = "encodings font-util font-alias"
|
||||
|
||||
XORG_PN = "${BPN}"
|
||||
|
@ -30,6 +30,7 @@ do_install_append() {
|
|||
|
||||
FILES_${PN} += " ${libdir}/X11/fonts ${datadir}"
|
||||
|
||||
PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native"
|
||||
pkg_postinst_${PN} () {
|
||||
for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
|
||||
mkfontdir $fontdir
|
||||
|
|
Loading…
Reference in New Issue