mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-11 00:26:25 +02:00
As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the references. Thanks to Phil Blundell for the command. (Prompted by oe-core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
23 lines
585 B
PHP
23 lines
585 B
PHP
DESCRIPTION ?= "TrueType font package ${PN}"
|
|
SECTION = "fonts"
|
|
# don't use RRECOMMENDS_${PN} here because sometimes each font is packaged to separate package and each one needs this dep to call update-fonts
|
|
RRECOMMENDS += "font-update-common"
|
|
|
|
# we don't need a compiler nor a c library for these fonts
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
do_install() {
|
|
install -d ${D}${datadir}/fonts/truetype/
|
|
find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
|
|
}
|
|
|
|
pkg_postinst_append() {
|
|
update-fonts
|
|
}
|
|
|
|
pkg_postrm_append() {
|
|
update-fonts
|
|
}
|
|
|
|
inherit allarch
|