Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require ttf.inc |
| 2 | |
| 3 | SUMMARY = "Sazanami Gothic/Mincho Japanese TrueType fonts" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 4 | SUMMARY:ttf-sazanami-gothic = "Sazanami Gothic Japanese TrueType font" |
| 5 | SUMMARY:ttf-sazanami-mincho = "Sazanami Mincho Japanese TrueType font" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | AUTHOR = "Electronic Font Open Laboratory (/efont/)" |
| 7 | HOMEPAGE = "http://sourceforge.jp/projects/efont/" |
| 8 | LICENSE = "PD" |
| 9 | LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0" |
| 10 | SRC_DISTRIBUTE_LICENSES += "${PN}" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | RPROVIDES:${PN} = "virtual-japanese-font" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 12 | PR = "r9" |
| 13 | |
| 14 | SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2" |
| 15 | S = "${WORKDIR}/sazanami-20040629" |
| 16 | |
| 17 | PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" |
| 18 | FONT_PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" |
| 19 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 20 | FILES:ttf-sazanami-gothic = "${datadir}/fonts/truetype/sazanami-gothic.ttf \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 21 | ${datadir}/doc/ttf-sazanami-gothic/README" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | FILES:ttf-sazanami-mincho = "${datadir}/fonts/truetype/sazanami-mincho.ttf \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 23 | ${datadir}/doc/ttf-sazanami-mincho/README" |
| 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | do_install:append() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 26 | # README contains the redistribution license |
| 27 | install -d ${D}${datadir}/doc/ |
| 28 | install -d ${D}${datadir}/doc/ttf-sazanami-gothic |
| 29 | install -d ${D}${datadir}/doc/ttf-sazanami-mincho |
| 30 | install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-gothic |
| 31 | install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho |
| 32 | } |
| 33 | |
| 34 | SRC_URI[md5sum] = "ceef10579a75c92483171f3bd7f77df2" |
| 35 | SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7" |