mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 09:32:12 +02:00
icu: remove obsolete aclocal.m4 workaround (fixed upstream since v52.1)
Patch also includes some minor formatting cleanup of icu.inc. (From OE-Core rev: 0d5103997afef773376df01260f0d52555e2a9cd) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
abb6cdef94
commit
dc9c8bcda8
@@ -1,5 +1,8 @@
|
||||
SUMMARY = "International Component for Unicode libraries"
|
||||
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."
|
||||
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."
|
||||
HOMEPAGE = "http://site.icu-project.org/"
|
||||
|
||||
LICENSE = "ICU"
|
||||
@@ -23,23 +26,13 @@ EXTRA_OECONF = "--with-cross-build=${STAGING_ICU_DIR_NATIVE}"
|
||||
EXTRA_OECONF_class-native = ""
|
||||
EXTRA_OECONF_class-nativesdk = "--with-cross-build=${STAGING_ICU_DIR_NATIVE}"
|
||||
|
||||
# ICU puts custom m4 autoconf functions in aclocal.m4.
|
||||
# However, this file is deleted in our build system.
|
||||
# To make it work, we copy aclocal.m4 to acinclude.m4.
|
||||
# This is a bug of ICU. See bug reference:
|
||||
# http://bugs.icu-project.org/trac/ticket/9790
|
||||
do_configure_prepend() {
|
||||
[ -f ${S}/acinclude.m4 ] || cp ${S}/aclocal.m4 ${S}/acinclude.m4
|
||||
}
|
||||
|
||||
do_install_append_class-native() {
|
||||
mkdir -p ${D}/${STAGING_ICU_DIR_NATIVE}/config
|
||||
cp -r ${B}/config/icucross.mk ${D}/${STAGING_ICU_DIR_NATIVE}/config
|
||||
cp -r ${B}/config/icucross.inc ${D}/${STAGING_ICU_DIR_NATIVE}/config
|
||||
cp -r ${B}/config/icucross.inc ${D}/${STAGING_ICU_DIR_NATIVE}/config
|
||||
cp -r ${B}/lib ${D}/${STAGING_ICU_DIR_NATIVE}
|
||||
cp -r ${B}/bin ${D}/${STAGING_ICU_DIR_NATIVE}
|
||||
cp -r ${B}/tools ${D}/${STAGING_ICU_DIR_NATIVE}
|
||||
|
||||
}
|
||||
|
||||
PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"
|
||||
@@ -55,4 +48,3 @@ FILES_libicutu = "${libdir}/libicutu.so.*"
|
||||
FILES_libicuio = "${libdir}/libicuio.so.*"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user