ttf-wqy-zenhei: update to 0.9.45
PATCH 1/1 ttf-wqy-zenhei: update to 0.9.45
Signed-off-by Jonathan Liu <[email protected]>
---
...y-zenhei_0.6.26.bb => ttf-wqy-zenhei_0.9.45.bb} | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
rename meta-oe/recipes-graphics/ttf-fonts/{ttf-wqy-zenhei_0.6.26.bb => ttf-wqy-zenhei_0.9.45.bb} (42%)meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb renamed from meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb +12 -10
@@ -2,24 +2,26 @@ require ttf.inc SUMMARY = "WenQuanYi Zen Hei - A Hei-Ti Style Chinese font" AUTHOR = "Qianqian Fang and The WenQuanYi Project Contributors" -HOMEPAGE = "http://wqy.sourceforge.net/en/" +HOMEPAGE = "http://wenq.org/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=cf540fc7d35b5777e36051280b3a911c" -PR = "r4" -SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}-0.tar.gz" +SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}.tar.gz" +SRC_URI[md5sum] = "4c6c3f4e902dd5ee0a121e8c41d040bd" +SRC_URI[sha256sum] = "e4b7e306475bf9427d1757578f0e4528930c84c44eaa3f167d4c42f110ee75d6" + S = "${WORKDIR}/wqy-zenhei" -do_install_append () { - install -d ${D}${sysconfdir}/fonts/conf.d/ - install -m 0644 ${S}/44-wqy-zenhei.conf ${D}${sysconfdir}/fonts/conf.d/ - install -m 0644 ${S}/66-wqy-zenhei-sharp.conf ${D}${sysconfdir}/fonts/conf.d/ +do_install_append () { + sed -i -e '/<string>[^W]/d' ${S}/44-wqy-zenhei.conf + install -d ${D}${sysconfdir}/fonts/conf.d + + for x in ${S}/*.conf; do + install -m 0644 $x ${D}${sysconfdir}/fonts/conf.d/ + done } PACKAGES = "${PN}" FONT_PACKAGES = "${PN}" FILES_${PN} = "${datadir}/fonts ${sysconfdir}" - -SRC_URI[md5sum] = "bf2c1cb512606d995873bada27c777da" -SRC_URI[sha256sum] = "47355b6ec84bb309614b6d657ddfda993b96ed0be569264f82e523b254f945b2"
Signature · 1 line
2.4.4