blob: 136061798551f5a4d9b3c7351e944b42a6617f11 [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/"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00005LICENSE = "BSD-3-Clause & GPLv2 & GPLv3+"
Andrew Geissler4b7c1152020-11-30 19:55:29 -06006LIC_FILES_CHKSUM = "file://COPYING;md5=96287d49ec274d9c3222b5f966c132fd \
7 file://COPYING.adobe;md5=a790726a74164c30b5de1ef93fd69e99 \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08008 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
William A. Kennington III49e95662021-09-15 16:19:36 -070021SRC_URI[sha256sum] = "2cec05cd1bb03af98a8b06a1e22f6e6e1a65b1e2f3816cb3069bb0874825f08c"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022SRC_URI[idh.md5sum] = "009c93cf0141ab7bd6acb7eea14306cc"
23SRC_URI[idh.sha256sum] = "ae702c203a82ea124e9b96590f821db6fbf8754e2c4547a9dba0e82f94739e95"
24SRC_URI[idv.md5sum] = "2f32a45d43d001c26eeac6b878855fbf"
25SRC_URI[idv.sha256sum] = "89a85daf7031e93c883e76b9168a226dfd585bf5506e9e1956772163f15cb082"
26
27do_compile() {
28}
29
30do_install() {
31 oe_runmake install DESTDIR=${D} prefix=${prefix} datadir=${datadir}
32 install -d ${D}${datadir}/poppler/cMap
33 install -m644 ${WORKDIR}/Identity-* ${D}${datadir}/poppler/cMap/
34}
35
Patrick Williams213cb262021-08-07 19:21:33 -050036FILES:${PN} += "${datadir}"