Warning, /graphics/krita/3rdparty/ext_icu/0006-meson-Enable-icudata-for-MSVC.patch is written in an unsupported language. File is not indexed.
0001 From d7ca1a58606094cde49e5615f614acc6c7cd173b Mon Sep 17 00:00:00 2001 0002 From: "L. E. Segovia" <amy@amyspark.me> 0003 Date: Mon, 21 Nov 2022 10:30:59 -0300 0004 Subject: [PATCH 6/7] meson: Enable icudata for MSVC 0005 0006 --- 0007 source/data/meson.build | 32 +++++++++++++++----------------- 0008 1 file changed, 15 insertions(+), 17 deletions(-) 0009 0010 diff --git a/source/data/meson.build b/source/data/meson.build 0011 index 4a1bba5..b175771 100644 0012 --- a/source/data/meson.build 0013 +++ b/source/data/meson.build 0014 @@ -74,23 +74,21 @@ if host_machine.system() == 'windows' 0015 sources += windows.compile_resources('misc/icudata.rc', include_directories: incdir) 0016 endif 0017 0018 -if cpp.get_argument_syntax() != 'msvc' 0019 - icudata = library( 0020 - icudata_name, 0021 - sources, 0022 - include_directories: incdir, 0023 - version: U_ICU_VERSION, 0024 - vs_module_defs: icudata_exports, 0025 - install: true, 0026 - ) 0027 +icudata = library( 0028 + icudata_name, 0029 + sources, 0030 + include_directories: incdir, 0031 + version: U_ICU_VERSION, 0032 + vs_module_defs: icudata_exports, 0033 + install: true, 0034 +) 0035 0036 - icudata_dep = declare_dependency( 0037 - link_with: icudata, 0038 - include_directories: incdir, 0039 - compile_args: usage_args, 0040 - ) 0041 +icudata_dep = declare_dependency( 0042 + link_with: icudata, 0043 + include_directories: incdir, 0044 + compile_args: usage_args, 0045 +) 0046 0047 - if meson.version().version_compare('>=0.54.0') 0048 - meson.override_dependency('icu-data', icudata_dep) 0049 - endif 0050 +if meson.version().version_compare('>=0.54.0') 0051 + meson.override_dependency('icu-data', icudata_dep) 0052 endif 0053 -- 0054 2.24.1.windows.2 0055