1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_UnpackedTarball_UnpackedTarball
,icu
))
12 $(eval
$(call gb_UnpackedTarball_set_tarball
,icu
,$(ICU_TARBALL
)))
14 $(eval
$(call gb_UnpackedTarball_update_autoconf_configs
,icu
,source
))
16 # Data zip contains data/... and needs to end up in icu/source/data/...
17 # Only data/misc/icudata.rc is needed for a Cygwin/MSVC build.
18 $(eval
$(call gb_UnpackedTarball_set_pre_action
,icu
,\
19 unzip
-q
-d source
-o
$(gb_UnpackedTarget_TARFILE_LOCATION
)/$(ICU_DATA_TARBALL
) data
/misc
/icudata.rc \
22 $(eval
$(call gb_UnpackedTarball_set_patchlevel
,icu
,0))
24 $(eval
$(call gb_UnpackedTarball_add_patches
,icu
,\
25 external
/icu
/icu4c-build.patch
.1 \
26 external
/icu
/icu4c-warnings.patch
.1 \
27 external
/icu
/icu4c-macosx.patch
.1 \
28 external
/icu
/icu4c-solarisgcc.patch
.1 \
29 external
/icu
/icu4c-mkdir.patch
.1 \
30 external
/icu
/icu4c-ubsan.patch
.1 \
31 external
/icu
/icu4c-scriptrun.patch
.1 \
32 external
/icu
/icu4c-rtti.patch
.1 \
33 external
/icu
/icu4c-clang-cl.patch
.1 \
34 external
/icu
/c
++20-comparison.patch
.1 \
35 external
/icu
/Wdeprecated-copy-dtor.patch \
36 external
/icu
/icu4c-windows-cygwin-cross.patch
.1 \
37 external
/icu
/icu4c-emscripten-cross.patch
.1 \
38 external
/icu
/icu4c-use-pkgdata-single-ccode-file-mode.patch
.1 \
39 external
/icu
/icu4c-khmerbreakengine.patch
.1 \
40 external
/icu
/icu4c-
$(if
$(filter ANDROID
,$(OS
)),android
,rpath
).patch
.1 \
41 $(if
$(filter-out ANDROID
,$(OS
)),external
/icu
/icu4c-icudata-stdlibs.patch
.1) \
42 external
/icu
/no-python.patch \
45 $(eval
$(call gb_UnpackedTarball_add_file
,icu
,source
/data
/brkitr
/khmerdict.dict
,external
/icu
/khmerdict.dict
))
47 # vim: set noet sw=4 ts=4: