diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-02-01 11:58:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-02 16:57:21 +0000 |
commit | 94fab905765f5c7618edc2ac85f75992062413c6 (patch) | |
tree | c40f10bc957558a654b732f1cc44f6e5cbc87ccd /meta/recipes-support/icu | |
parent | ad0b7366785e2b9d8edaa3496364a8c32f8c27b3 (diff) | |
download | poky-94fab905765f5c7618edc2ac85f75992062413c6.tar.gz |
icu: update SRC_URI
New releases of ICU are published on github.
(From OE-Core rev: 1a01c30653c2b0282543aa3cdae8d87af871c24a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/icu')
-rw-r--r-- | meta/recipes-support/icu/icu_64.2.bb | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/meta/recipes-support/icu/icu_64.2.bb b/meta/recipes-support/icu/icu_64.2.bb index 10bac7aac0..44caa437bf 100644 --- a/meta/recipes-support/icu/icu_64.2.bb +++ b/meta/recipes-support/icu/icu_64.2.bb | |||
@@ -6,13 +6,18 @@ def icu_download_version(d): | |||
6 | pvsplit = d.getVar('PV').split('.') | 6 | pvsplit = d.getVar('PV').split('.') |
7 | return pvsplit[0] + "_" + pvsplit[1] | 7 | return pvsplit[0] + "_" + pvsplit[1] |
8 | 8 | ||
9 | def icu_download_folder(d): | ||
10 | pvsplit = d.getVar('PV').split('.') | ||
11 | return pvsplit[0] + "-" + pvsplit[1] | ||
12 | |||
9 | ICU_PV = "${@icu_download_version(d)}" | 13 | ICU_PV = "${@icu_download_version(d)}" |
14 | ICU_FOLDER = "${@icu_download_folder(d)}" | ||
10 | 15 | ||
11 | # http://errors.yoctoproject.org/Errors/Details/20486/ | 16 | # http://errors.yoctoproject.org/Errors/Details/20486/ |
12 | ARM_INSTRUCTION_SET_armv4 = "arm" | 17 | ARM_INSTRUCTION_SET_armv4 = "arm" |
13 | ARM_INSTRUCTION_SET_armv5 = "arm" | 18 | ARM_INSTRUCTION_SET_armv5 = "arm" |
14 | 19 | ||
15 | BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV}-src.tgz" | 20 | BASE_SRC_URI = "https://github.com/unicode-org/icu/releases/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-src.tgz" |
16 | SRC_URI = "${BASE_SRC_URI} \ | 21 | SRC_URI = "${BASE_SRC_URI} \ |
17 | file://icu-pkgdata-large-cmd.patch \ | 22 | file://icu-pkgdata-large-cmd.patch \ |
18 | file://fix-install-manx.patch \ | 23 | file://fix-install-manx.patch \ |
@@ -26,5 +31,5 @@ SRC_URI_append_class-target = "\ | |||
26 | SRC_URI[md5sum] = "a3d18213beec454e3cdec9a3116d6b05" | 31 | SRC_URI[md5sum] = "a3d18213beec454e3cdec9a3116d6b05" |
27 | SRC_URI[sha256sum] = "627d5d8478e6d96fc8c90fed4851239079a561a6a8b9e48b0892f24e82d31d6c" | 32 | SRC_URI[sha256sum] = "627d5d8478e6d96fc8c90fed4851239079a561a6a8b9e48b0892f24e82d31d6c" |
28 | 33 | ||
29 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" | 34 | UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src" |
30 | UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/" | 35 | UPSTREAM_CHECK_URI = "https://github.com/unicode-org/icu/releases" |