diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2012-12-18 13:58:36 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-19 17:54:57 +0000 |
commit | 9596495e09b1738d2e85e0c1a2997c889dd6e6f5 (patch) | |
tree | 07db8282ccb3eecabd64cb7b900f200cbb5e464c /meta/recipes-support/icu/icu.inc | |
parent | c21f80b294a226e00d6dfd8efedb0f7f0fb0c647 (diff) | |
download | poky-9596495e09b1738d2e85e0c1a2997c889dd6e6f5.tar.gz |
ICU: upgrade to 50.1.
Upgrade ICU to 50.1.
All unnecessary patches of the previous version are dropped.
[YOCTO #3557]
(From OE-Core rev: d9e6b45a0abd15b24941d8d04142cd79399424ef)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/icu/icu.inc')
-rw-r--r-- | meta/recipes-support/icu/icu.inc | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/icu.inc b/meta/recipes-support/icu/icu.inc new file mode 100644 index 0000000000..f7257d13e8 --- /dev/null +++ b/meta/recipes-support/icu/icu.inc | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "International Component for Unicode libraries" | ||
2 | DESCRIPTION = "The International Component for Unicode (ICU) is a mature, portable set of C/C++ and Java libraries for Unicode support, software internationalization (I18N) and globalization (G11N), giving applications the same results on all platforms." | ||
3 | HOMEPAGE = "http://site.icu-project.org/" | ||
4 | |||
5 | LICENSE = "ICU" | ||
6 | DEPENDS = "icu-native" | ||
7 | DEPENDS_class-native = "" | ||
8 | |||
9 | S = "${WORKDIR}/icu/source" | ||
10 | STAGING_ICU_SOURCE_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/icu" | ||
11 | |||
12 | PARALLEL_MAKE = "" | ||
13 | FULL_OPTIMIZATION_arm = "-Os" | ||
14 | |||
15 | inherit autotools pkgconfig binconfig | ||
16 | |||
17 | # ICU needs the native build directory as an argument to its --with-cross-build option when | ||
18 | # cross-compiling. Taken the situation that different builds may share a common sstate-cache | ||
19 | # into consideration, the native build directory needs to be staged. | ||
20 | EXTRA_OECONF = "--with-cross-build=${STAGING_DATADIR_NATIVE}/icu/source" | ||
21 | EXTRA_OECONF_class-native = "" | ||
22 | |||
23 | # ICU puts custom m4 autoconf functions in aclocal.m4. | ||
24 | # However, this file is deleted in our build system. | ||
25 | # To make it work, we copy aclocal.m4 to acinclude.m4. | ||
26 | # This is a bug of ICU. See bug reference: | ||
27 | # http://bugs.icu-project.org/trac/ticket/9790 | ||
28 | do_configure_prepend() { | ||
29 | [ -f acinclude.m4 ] || cp aclocal.m4 acinclude.m4 | ||
30 | } | ||
31 | |||
32 | do_install_append() { | ||
33 | if [ ${PN} == 'icu-native' ]; then | ||
34 | mkdir -p ${D}/${STAGING_ICU_SOURCE_DIR_NATIVE} | ||
35 | cp -r ${S} ${D}/${STAGING_ICU_SOURCE_DIR_NATIVE} | ||
36 | fi | ||
37 | } | ||
38 | |||
39 | PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio" | ||
40 | |||
41 | FILES_${PN}-dev += "${libdir}/${BPN}/" | ||
42 | |||
43 | FILES_libicudata = "${libdir}/libicudata.so.*" | ||
44 | FILES_libicuuc = "${libdir}/libicuuc.so.*" | ||
45 | FILES_libicui18n = "${libdir}/libicui18n.so.*" | ||
46 | FILES_libicule = "${libdir}/libicule.so.*" | ||
47 | FILES_libiculx = "${libdir}/libiculx.so.*" | ||
48 | FILES_libicutu = "${libdir}/libicutu.so.*" | ||
49 | FILES_libicuio = "${libdir}/libicuio.so.*" | ||
50 | |||
51 | BBCLASSEXTEND = "native" | ||
52 | |||