blob: 5e355eefa7e9a758d61710d0a73bb71a378fdf98 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001require ttf.inc
2
3SUMMARY = "Gentium fonts - TTF Version"
4HOMEPAGE = "http://scripts.sil.org/gentium"
Brad Bishop36a3e3e2019-10-02 13:29:27 -04005LICENSE = "OFL-1.0"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL"
7LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \
8"
9PR = "r8"
10
11SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz "
12
13S = "${WORKDIR}/ttf-sil-gentium-${PV}"
14
Patrick Williams213cb262021-08-07 19:21:33 -050015do_install:append() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050016
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
25PACKAGES = "${PN} ${PN}-alt"
26FONT_PACKAGES = "${PN} ${PN}-alt"
27
Patrick Williams213cb262021-08-07 19:21:33 -050028FILES:${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050029 ${datadir}/fonts/truetype/GenAR*.ttf \
30 ${datadir}/doc/ttf-gentium-alt/*"
31
Patrick Williams213cb262021-08-07 19:21:33 -050032FILES:${PN} = "${datadir}/fonts/truetype/GenI*.ttf \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050033 ${datadir}/fonts/truetype/GenR*.ttf \
34 ${datadir}/doc/ttf-gentium/*"
35
36SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883"
37SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37"