Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require ttf.inc |
| 2 | |
| 3 | SUMMARY = "Inconsolata font - TTF Version" |
| 4 | HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html" |
| 5 | LICENSE = "OFL-1.1" |
| 6 | LIC_FILES_CHKSUM = "file://../OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed" |
| 7 | |
| 8 | SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \ |
| 9 | file://OFL.txt" |
| 10 | |
| 11 | S = "${WORKDIR}/ttf-inconsolata-${PV}" |
| 12 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 13 | FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | ${datadir}/doc/ttf-inconsolata/*" |
| 15 | |
| 16 | do_configure() { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | cp -fr ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | } |
| 19 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 20 | do_install:append() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 21 | install -d ${D}${datadir}/doc/ttf-inconsolata/ |
| 22 | install -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/ |
| 23 | } |
| 24 | |
| 25 | SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf" |
| 26 | SRC_URI[sha256sum] = "1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a" |