Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require ttf.inc |
| 2 | |
| 3 | SUMMARY = "WenQuanYi Zen Hei - A Hei-Ti Style Chinese font" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 4 | HOMEPAGE = "http://wenq.org/" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 5 | LICENSE = "GPL-2.0-only" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf540fc7d35b5777e36051280b3a911c" |
| 7 | |
| 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}.tar.gz" |
| 9 | SRC_URI[md5sum] = "4c6c3f4e902dd5ee0a121e8c41d040bd" |
| 10 | SRC_URI[sha256sum] = "e4b7e306475bf9427d1757578f0e4528930c84c44eaa3f167d4c42f110ee75d6" |
| 11 | |
| 12 | S = "${WORKDIR}/wqy-zenhei" |
| 13 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 14 | do_install:append () { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | 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 | |
| 23 | PACKAGES = "${PN}" |
| 24 | FONT_PACKAGES = "${PN}" |
| 25 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 26 | FILES:${PN} = "${datadir}/fonts ${sysconfdir}" |