diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-09-27 14:09:21 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-28 08:01:10 +0100 |
| commit | afefe7de281e558ed823460f80ddc631e718feb3 (patch) | |
| tree | 69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-support/icu | |
| parent | 35708f8860adbf51549b2b2b07c176ba34eed812 (diff) | |
| download | poky-afefe7de281e558ed823460f80ddc631e718feb3.tar.gz | |
meta: fix version checks in all github recipes using the github-releases class
(From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.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_71.1.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-support/icu/icu_71.1.bb b/meta/recipes-support/icu/icu_71.1.bb index b39633c203..df999dce3b 100644 --- a/meta/recipes-support/icu/icu_71.1.bb +++ b/meta/recipes-support/icu/icu_71.1.bb | |||
| @@ -17,7 +17,7 @@ STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}" | |||
| 17 | 17 | ||
| 18 | ICU_MAJOR_VER = "${@d.getVar('PV').split('.')[0]}" | 18 | ICU_MAJOR_VER = "${@d.getVar('PV').split('.')[0]}" |
| 19 | 19 | ||
| 20 | inherit autotools pkgconfig | 20 | inherit autotools pkgconfig github-releases |
| 21 | 21 | ||
| 22 | # ICU needs the native build directory as an argument to its --with-cross-build option when | 22 | # ICU needs the native build directory as an argument to its --with-cross-build option when |
| 23 | # cross-compiling. Taken the situation that different builds may share a common sstate-cache | 23 | # cross-compiling. Taken the situation that different builds may share a common sstate-cache |
| @@ -96,8 +96,8 @@ ICU_FOLDER = "${@icu_download_folder(d)}" | |||
| 96 | ARM_INSTRUCTION_SET:armv4 = "arm" | 96 | ARM_INSTRUCTION_SET:armv4 = "arm" |
| 97 | ARM_INSTRUCTION_SET:armv5 = "arm" | 97 | ARM_INSTRUCTION_SET:armv5 = "arm" |
| 98 | 98 | ||
| 99 | BASE_SRC_URI = "https://github.com/unicode-org/icu/releases/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-src.tgz" | 99 | BASE_SRC_URI = "${GITHUB_BASE_URI}/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-src.tgz" |
| 100 | DATA_SRC_URI = "https://github.com/unicode-org/icu/releases/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-data.zip" | 100 | DATA_SRC_URI = "${GITHUB_BASE_URI}/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-data.zip" |
| 101 | SRC_URI = "${BASE_SRC_URI};name=code \ | 101 | SRC_URI = "${BASE_SRC_URI};name=code \ |
| 102 | ${DATA_SRC_URI};name=data \ | 102 | ${DATA_SRC_URI};name=data \ |
| 103 | file://filter.json \ | 103 | file://filter.json \ |
| @@ -111,8 +111,8 @@ SRC_URI:append:class-target = "\ | |||
| 111 | SRC_URI[code.sha256sum] = "67a7e6e51f61faf1306b6935333e13b2c48abd8da6d2f46ce6adca24b1e21ebf" | 111 | SRC_URI[code.sha256sum] = "67a7e6e51f61faf1306b6935333e13b2c48abd8da6d2f46ce6adca24b1e21ebf" |
| 112 | SRC_URI[data.sha256sum] = "e3882b4fece6e5e039f22c3189b7ba224180fd26fdbfa9db284617455b93e804" | 112 | SRC_URI[data.sha256sum] = "e3882b4fece6e5e039f22c3189b7ba224180fd26fdbfa9db284617455b93e804" |
| 113 | 113 | ||
| 114 | UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src" | 114 | UPSTREAM_CHECK_REGEX = "releases/tag/release-(?P<pver>(?!.+rc).+)" |
| 115 | UPSTREAM_CHECK_URI = "https://github.com/unicode-org/icu/releases" | 115 | GITHUB_BASE_URI = "https://github.com/unicode-org/icu/releases" |
| 116 | 116 | ||
| 117 | EXTRA_OECONF:append:libc-musl = " ac_cv_func_strtod_l=no" | 117 | EXTRA_OECONF:append:libc-musl = " ac_cv_func_strtod_l=no" |
| 118 | 118 | ||
