Add recipe for Noto CJK fonts

Massively increases the image size, but without those the CJK modes of
QtVKB don't show anything useful.
This commit is contained in:
Volker Krause
2019-03-30 22:35:43 +01:00
parent 35bedfdec7
commit 3d2d9954da

View File

@@ -0,0 +1,25 @@
DESCRIPTION = "Google Noto CJK fonts"
SECTION = "fonts"
HOMEPAGE = "https://www.google.com/get/noto/"
LICENSE = "OFL-1.1"
LIC_FILES_CHKSUM = "file://LICENSE;md5=55719faa0112708e946b820b24b14097"
inherit allarch fontcache
INHIBIT_DEFAULT_DEPS = "1"
SRC_URI = "git://github.com/googlei18n/noto-cjk.git;nobranch=1"
SRCREV = "9326451d9b4f32ec7f8640581c5053cc192039f2"
S = "${WORKDIR}/git"
PACKAGES = "ttf-noto-cjk"
FONT_PACKAGES = "ttf-noto-cjk"
FILES_${PN} = " ${datadir}/fonts/truetype/ "
do_compile[noexec] = "1"
do_install() {
install -d ${D}${datadir}/fonts/truetype/
find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
}