mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
icu: version 68.1
This commit is contained in:
parent
219bf4b9a8
commit
20cb0d6447
@ -1,35 +0,0 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
|
||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
||||||
|
|
||||||
PKG_NAME="icu"
|
|
||||||
PKG_VERSION="61.1"
|
|
||||||
PKG_SHA256="d007f89ae8a2543a53525c74359b65b36412fa84b3349f1400be6dcf409fafef"
|
|
||||||
PKG_LICENSE="Custom"
|
|
||||||
PKG_SITE="http://www.icu-project.org"
|
|
||||||
PKG_URL="http://download.icu-project.org/files/icu4c/${PKG_VERSION}/icu4c-${PKG_VERSION//./_}-src.tgz"
|
|
||||||
PKG_DEPENDS_HOST="toolchain:host"
|
|
||||||
PKG_DEPENDS_TARGET="toolchain icu:host"
|
|
||||||
PKG_LONGDESC="International Components for Unicode library."
|
|
||||||
|
|
||||||
PKG_ICU_OPTS="--disable-extras \
|
|
||||||
--disable-icuio \
|
|
||||||
--disable-layout \
|
|
||||||
--disable-renaming \
|
|
||||||
--disable-samples \
|
|
||||||
--disable-tests \
|
|
||||||
--disable-tools"
|
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_HOST="--enable-static \
|
|
||||||
--disable-shared \
|
|
||||||
$PKG_ICU_OPTS"
|
|
||||||
|
|
||||||
configure_package() {
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--with-cross-build=$PKG_BUILD/.$HOST_NAME \
|
|
||||||
$PKG_ICU_OPTS"
|
|
||||||
|
|
||||||
PKG_CONFIGURE_SCRIPT="${PKG_BUILD}/source/configure"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_makeinstall_target() {
|
|
||||||
rm -rf $INSTALL
|
|
||||||
}
|
|
25
packages/addons/addon-depends/icu/package.mk
Normal file
25
packages/addons/addon-depends/icu/package.mk
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
|
PKG_NAME="icu"
|
||||||
|
PKG_VERSION="68.1"
|
||||||
|
PKG_SHA256="5b3cfb519c20511c1c0429b093ec16960f6a6a0d7968a9065fda393f9eba48fc"
|
||||||
|
PKG_LICENSE="Custom"
|
||||||
|
PKG_SITE="http://www.icu-project.org"
|
||||||
|
PKG_URL="https://github.com/unicode-org/icu/archive/release-${PKG_VERSION//./-}.tar.gz"
|
||||||
|
PKG_DEPENDS_HOST="toolchain:host"
|
||||||
|
PKG_DEPENDS_TARGET="toolchain icu:host"
|
||||||
|
PKG_LONGDESC="International Components for Unicode library."
|
||||||
|
|
||||||
|
PKG_BUILD_FLAGS="-sysroot"
|
||||||
|
|
||||||
|
configure_package() {
|
||||||
|
PKG_CONFIGURE_SCRIPT="${PKG_BUILD}/icu4c/source/configure"
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-layout \
|
||||||
|
--disable-layoutex \
|
||||||
|
--disable-renaming \
|
||||||
|
--disable-samples \
|
||||||
|
--disable-tests \
|
||||||
|
--disable-tools \
|
||||||
|
--with-cross-build=${PKG_BUILD}/.${HOST_NAME}"
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur icu4c-67-1/icu-release-67-1/icu4c/source/config/mh-linux icu4c-67-1-ldflags/icu-release-67-1/icu4c/source/config/mh-linux
|
||||||
|
--- icu-release-67-1/icu4c/source/config/mh-linux 2020-04-22 19:49:10.000000000 +0200
|
||||||
|
+++ icu-release-67-1.ldflags/icu4c/source/config/mh-linux 2020-09-05 17:58:05.635014182 +0200
|
||||||
|
@@ -23,7 +23,7 @@
|
||||||
|
LD_RPATH_PRE = -Wl,-rpath,
|
||||||
|
|
||||||
|
## These are the library specific LDFLAGS
|
||||||
|
-LDFLAGSICUDT=-nodefaultlibs -nostdlib
|
||||||
|
+#LDFLAGSICUDT=-nodefaultlibs -nostdlib
|
||||||
|
|
||||||
|
## Compiler switch to embed a library name
|
||||||
|
# The initial tab in the next line is to prevent icu-config from reading it.
|
Loading…
x
Reference in New Issue
Block a user