diff options
Diffstat (limited to 'meta/recipes-support/icu/icu_66.1.bb')
-rw-r--r-- | meta/recipes-support/icu/icu_66.1.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/icu_66.1.bb b/meta/recipes-support/icu/icu_66.1.bb new file mode 100644 index 0000000000..5018464c14 --- /dev/null +++ b/meta/recipes-support/icu/icu_66.1.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | require icu.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=a3808a5b70071b07f87ff2205e4d75a0" | ||
4 | |||
5 | def icu_download_version(d): | ||
6 | pvsplit = d.getVar('PV').split('.') | ||
7 | return pvsplit[0] + "_" + pvsplit[1] | ||
8 | |||
9 | def icu_download_folder(d): | ||
10 | pvsplit = d.getVar('PV').split('.') | ||
11 | return pvsplit[0] + "-" + pvsplit[1] | ||
12 | |||
13 | ICU_PV = "${@icu_download_version(d)}" | ||
14 | ICU_FOLDER = "${@icu_download_folder(d)}" | ||
15 | |||
16 | # http://errors.yoctoproject.org/Errors/Details/20486/ | ||
17 | ARM_INSTRUCTION_SET_armv4 = "arm" | ||
18 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||
19 | |||
20 | BASE_SRC_URI = "https://github.com/unicode-org/icu/releases/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-src.tgz" | ||
21 | SRC_URI = "${BASE_SRC_URI} \ | ||
22 | file://icu-pkgdata-large-cmd.patch \ | ||
23 | file://fix-install-manx.patch \ | ||
24 | file://0001-Fix-big-endian-build.patch \ | ||
25 | file://0001-icu-Added-armeb-support.patch \ | ||
26 | " | ||
27 | |||
28 | SRC_URI_append_class-target = "\ | ||
29 | file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \ | ||
30 | " | ||
31 | SRC_URI[md5sum] = "b33dc6766711517c98d318447e5110f8" | ||
32 | SRC_URI[sha256sum] = "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e" | ||
33 | |||
34 | UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src" | ||
35 | UPSTREAM_CHECK_URI = "https://github.com/unicode-org/icu/releases" | ||