Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require ttf.inc |
| 2 | |
| 3 | SUMMARY = "Gentium fonts - TTF Version" |
| 4 | HOMEPAGE = "http://scripts.sil.org/gentium" |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 5 | LICENSE = "OFL-1.0" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL" |
| 7 | LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \ |
| 8 | " |
| 9 | PR = "r8" |
| 10 | |
| 11 | SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz " |
| 12 | |
| 13 | S = "${WORKDIR}/ttf-sil-gentium-${PV}" |
| 14 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 15 | do_install:append() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | |
| 17 | install -d ${D}${datadir}/doc/ttf-gentium/ |
| 18 | install -d ${D}${datadir}/doc/ttf-gentium-alt/ |
| 19 | |
| 20 | install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium/ |
| 21 | install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium-alt/ |
| 22 | |
| 23 | } |
| 24 | |
| 25 | PACKAGES = "${PN} ${PN}-alt" |
| 26 | FONT_PACKAGES = "${PN} ${PN}-alt" |
| 27 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 28 | FILES:${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 29 | ${datadir}/fonts/truetype/GenAR*.ttf \ |
| 30 | ${datadir}/doc/ttf-gentium-alt/*" |
| 31 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 32 | FILES:${PN} = "${datadir}/fonts/truetype/GenI*.ttf \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 33 | ${datadir}/fonts/truetype/GenR*.ttf \ |
| 34 | ${datadir}/doc/ttf-gentium/*" |
| 35 | |
| 36 | SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883" |
| 37 | SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37" |