blob: eda3f7ecdcf5f6450c335579c3e4dcd36554d0b7 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "Encoding files for Poppler"
2DESCRIPTION = "Encoding files for use with poppler that enable poppler to \
3 correctly render CJK and Cyrrilic."
Brad Bishope42b3e32020-01-15 22:08:42 -05004HOMEPAGE = "https://poppler.freedesktop.org/"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005LICENSE = "BSD & GPLv2 & GPLv3+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4870b98343f0bbb25fa43b9d2ba59448 \
7 file://COPYING.adobe;md5=63c6a8a9df204c00461fa5f163d8a663 \
8 file://COPYING.gpl2;md5=751419260aa954499f7abaabaa882bbe \
9"
10
11inherit allarch
12
13INHIBIT_DEFAULT_DEPS = "1"
14
15CMAP_RESOURCES_BASE = "https://github.com/adobe-type-tools/cmap-resources/raw/0561ebca035813ed04c3485bca636a0aa7abdc1d/cmapresources_identity-0/CMap"
16
17SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.gz \
18 ${CMAP_RESOURCES_BASE}/Identity-H;name=idh \
19 ${CMAP_RESOURCES_BASE}/Identity-V;name=idv"
20
21SRC_URI[md5sum] = "35cc7beba00aa174631466f06732be40"
22SRC_URI[sha256sum] = "1f9c7e7de9ecd0db6ab287349e31bf815ca108a5a175cf906a90163bdbe32012"
23SRC_URI[idh.md5sum] = "009c93cf0141ab7bd6acb7eea14306cc"
24SRC_URI[idh.sha256sum] = "ae702c203a82ea124e9b96590f821db6fbf8754e2c4547a9dba0e82f94739e95"
25SRC_URI[idv.md5sum] = "2f32a45d43d001c26eeac6b878855fbf"
26SRC_URI[idv.sha256sum] = "89a85daf7031e93c883e76b9168a226dfd585bf5506e9e1956772163f15cb082"
27
28do_compile() {
29}
30
31do_install() {
32 oe_runmake install DESTDIR=${D} prefix=${prefix} datadir=${datadir}
33 install -d ${D}${datadir}/poppler/cMap
34 install -m644 ${WORKDIR}/Identity-* ${D}${datadir}/poppler/cMap/
35}
36
37FILES_${PN} += "${datadir}"