Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Encoding files for Poppler" |
| 2 | DESCRIPTION = "Encoding files for use with poppler that enable poppler to \ |
| 3 | correctly render CJK and Cyrrilic." |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 4 | HOMEPAGE = "https://poppler.freedesktop.org/" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 5 | LICENSE = "BSD & GPLv2 & GPLv3+" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=96287d49ec274d9c3222b5f966c132fd \ |
| 7 | file://COPYING.adobe;md5=a790726a74164c30b5de1ef93fd69e99 \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 8 | file://COPYING.gpl2;md5=751419260aa954499f7abaabaa882bbe \ |
| 9 | " |
| 10 | |
| 11 | inherit allarch |
| 12 | |
| 13 | INHIBIT_DEFAULT_DEPS = "1" |
| 14 | |
| 15 | CMAP_RESOURCES_BASE = "https://github.com/adobe-type-tools/cmap-resources/raw/0561ebca035813ed04c3485bca636a0aa7abdc1d/cmapresources_identity-0/CMap" |
| 16 | |
| 17 | SRC_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 | |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 21 | SRC_URI[md5sum] = "a7f15fb2f26c60a7a92093cfdf2378d5" |
| 22 | SRC_URI[sha256sum] = "6e2fcef66ec8c44625f94292ccf8af9f1d918b410d5aa69c274ce67387967b30" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | SRC_URI[idh.md5sum] = "009c93cf0141ab7bd6acb7eea14306cc" |
| 24 | SRC_URI[idh.sha256sum] = "ae702c203a82ea124e9b96590f821db6fbf8754e2c4547a9dba0e82f94739e95" |
| 25 | SRC_URI[idv.md5sum] = "2f32a45d43d001c26eeac6b878855fbf" |
| 26 | SRC_URI[idv.sha256sum] = "89a85daf7031e93c883e76b9168a226dfd585bf5506e9e1956772163f15cb082" |
| 27 | |
| 28 | do_compile() { |
| 29 | } |
| 30 | |
| 31 | do_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 | |
| 37 | FILES_${PN} += "${datadir}" |