blob: 961f022ad7ae9ad9b89d8fe4bb3ea708b9ca3696 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001require icu.inc
2
3LIC_FILES_CHKSUM = "file://../LICENSE;md5=63752c57bd0b365c9af9f427ef79c819"
4
5def icu_download_version(d):
6 pvsplit = d.getVar('PV').split('.')
7 return pvsplit[0] + "_" + pvsplit[1]
8
9ICU_PV = "${@icu_download_version(d)}"
10
11# http://errors.yoctoproject.org/Errors/Details/20486/
12ARM_INSTRUCTION_SET_armv4 = "arm"
13ARM_INSTRUCTION_SET_armv5 = "arm"
14
15BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV}-src.tgz"
16SRC_URI = "${BASE_SRC_URI} \
17 file://icu-pkgdata-large-cmd.patch \
18 file://fix-install-manx.patch \
19 file://0002-Add-ARC-support.patch \
20 file://CVE-2018-18928.patch \
21 "
22
23SRC_URI_append_class-target = "\
24 file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
25 "
26SRC_URI[md5sum] = "9e40f6055294284df958200e308bce50"
27SRC_URI[sha256sum] = "05c490b69454fce5860b7e8e2821231674af0a11d7ef2febea9a32512998cb9d"
28
29UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
30UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/"