blob: 5a403f0775ba4c8461f123d2aaa0d95f05ddfa03 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001require ttf.inc
2
3SUMMARY = "Sazanami Gothic/Mincho Japanese TrueType fonts"
Patrick Williams213cb262021-08-07 19:21:33 -05004SUMMARY:ttf-sazanami-gothic = "Sazanami Gothic Japanese TrueType font"
5SUMMARY:ttf-sazanami-mincho = "Sazanami Mincho Japanese TrueType font"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006HOMEPAGE = "http://sourceforge.jp/projects/efont/"
7LICENSE = "PD"
8LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0"
9SRC_DISTRIBUTE_LICENSES += "${PN}"
Patrick Williams213cb262021-08-07 19:21:33 -050010RPROVIDES:${PN} = "virtual-japanese-font"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011PR = "r9"
12
13SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2"
14S = "${WORKDIR}/sazanami-20040629"
15
16PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho"
17FONT_PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho"
18
Patrick Williams213cb262021-08-07 19:21:33 -050019FILES:ttf-sazanami-gothic = "${datadir}/fonts/truetype/sazanami-gothic.ttf \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020 ${datadir}/doc/ttf-sazanami-gothic/README"
Patrick Williams213cb262021-08-07 19:21:33 -050021FILES:ttf-sazanami-mincho = "${datadir}/fonts/truetype/sazanami-mincho.ttf \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050022 ${datadir}/doc/ttf-sazanami-mincho/README"
23
Patrick Williams213cb262021-08-07 19:21:33 -050024do_install:append() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025 # README contains the redistribution license
26 install -d ${D}${datadir}/doc/
27 install -d ${D}${datadir}/doc/ttf-sazanami-gothic
28 install -d ${D}${datadir}/doc/ttf-sazanami-mincho
29 install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-gothic
30 install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho
31}
32
33SRC_URI[md5sum] = "ceef10579a75c92483171f3bd7f77df2"
34SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7"