blob: 945a5f3a859e4afa1810a35c62b95040f15e91b8 [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 -05006AUTHOR = "Electronic Font Open Laboratory (/efont/)"
7HOMEPAGE = "http://sourceforge.jp/projects/efont/"
8LICENSE = "PD"
9LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0"
10SRC_DISTRIBUTE_LICENSES += "${PN}"
Patrick Williams213cb262021-08-07 19:21:33 -050011RPROVIDES:${PN} = "virtual-japanese-font"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050012PR = "r9"
13
14SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2"
15S = "${WORKDIR}/sazanami-20040629"
16
17PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho"
18FONT_PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho"
19
Patrick Williams213cb262021-08-07 19:21:33 -050020FILES:ttf-sazanami-gothic = "${datadir}/fonts/truetype/sazanami-gothic.ttf \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021 ${datadir}/doc/ttf-sazanami-gothic/README"
Patrick Williams213cb262021-08-07 19:21:33 -050022FILES:ttf-sazanami-mincho = "${datadir}/fonts/truetype/sazanami-mincho.ttf \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023 ${datadir}/doc/ttf-sazanami-mincho/README"
24
Patrick Williams213cb262021-08-07 19:21:33 -050025do_install:append() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050026 # 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
34SRC_URI[md5sum] = "ceef10579a75c92483171f3bd7f77df2"
35SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7"