Files
meta-kde/recipes-support/ttf-noto-cjk_2019.03.30.bb
Andreas Cord-Landwehr 72784edf16 Convert override syntax to new version
For details see:
https://docs.yoctoproject.org/next/migration-guides/migration-3.4.html

Note that due to this change the latest point release of Dunfell is
the minimal requirement to be compatible with this layer.
2021-12-29 11:54:08 +01:00

30 lines
781 B
BlitzBasic

# SPDX-FileCopyrightText: 2019 Volker Krause <vkrause@kde.org>
#
# SPDX-License-Identifier: MIT
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/googlefonts/noto-cjk.git;protocol=https;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/ \;
}