blob: 21897a7589e0b7912e8422268c33cbd1ca2f4392 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001require ttf.inc
2
3SUMMARY = "WenQuanYi Zen Hei - A Hei-Ti Style Chinese font"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05004HOMEPAGE = "http://wenq.org/"
Andrew Geissler9aee5002022-03-30 16:27:02 +00005LICENSE = "GPL-2.0-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006LIC_FILES_CHKSUM = "file://COPYING;md5=cf540fc7d35b5777e36051280b3a911c"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}.tar.gz"
9SRC_URI[md5sum] = "4c6c3f4e902dd5ee0a121e8c41d040bd"
10SRC_URI[sha256sum] = "e4b7e306475bf9427d1757578f0e4528930c84c44eaa3f167d4c42f110ee75d6"
11
12S = "${WORKDIR}/wqy-zenhei"
13
Patrick Williams213cb262021-08-07 19:21:33 -050014do_install:append () {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015 sed -i -e '/<string>[^W]/d' ${S}/44-wqy-zenhei.conf
16 install -d ${D}${sysconfdir}/fonts/conf.d
17
18 for x in ${S}/*.conf; do
19 install -m 0644 $x ${D}${sysconfdir}/fonts/conf.d/
20 done
21}
22
23PACKAGES = "${PN}"
24FONT_PACKAGES = "${PN}"
25
Patrick Williams213cb262021-08-07 19:21:33 -050026FILES:${PN} = "${datadir}/fonts ${sysconfdir}"