Add <dir> XML tags to default values for FC_DEFAULT_FONTS on non-Darwin systems

This commit is contained in:
Niklas Guertler 2020-09-30 09:58:47 +02:00 committed by Akira TAGOH
parent bc84228a2e
commit 2584554328
1 changed files with 2 additions and 2 deletions

View File

@ -212,8 +212,8 @@ else
conf.set_quoted('FC_DEFAULT_FONTS', '<dir>/System/Library/Fonts</dir> <dir>/Library/Fonts</dir> <dir>~/Library/Fonts</dir> <dir>/System/Library/Assets/com_apple_MobileAsset_Font3</dir> <dir>/System/Library/Assets/com_apple_MobileAsset_Font4</dir>') conf.set_quoted('FC_DEFAULT_FONTS', '<dir>/System/Library/Fonts</dir> <dir>/Library/Fonts</dir> <dir>~/Library/Fonts</dir> <dir>/System/Library/Assets/com_apple_MobileAsset_Font3</dir> <dir>/System/Library/Assets/com_apple_MobileAsset_Font4</dir>')
fonts_conf.set('FC_DEFAULT_FONTS', '<dir>/System/Library/Fonts</dir> <dir>/Library/Fonts</dir> <dir>~/Library/Fonts</dir> <dir>/System/Library/Assets/com_apple_MobileAsset_Font3</dir> <dir>/System/Library/Assets/com_apple_MobileAsset_Font4</dir>') fonts_conf.set('FC_DEFAULT_FONTS', '<dir>/System/Library/Fonts</dir> <dir>/Library/Fonts</dir> <dir>~/Library/Fonts</dir> <dir>/System/Library/Assets/com_apple_MobileAsset_Font3</dir> <dir>/System/Library/Assets/com_apple_MobileAsset_Font4</dir>')
else else
conf.set_quoted('FC_DEFAULT_FONTS', '/usr/share/fonts') conf.set_quoted('FC_DEFAULT_FONTS', '<dir>/usr/share/fonts</dir>')
fonts_conf.set('FC_DEFAULT_FONTS', '/usr/share/fonts') fonts_conf.set('FC_DEFAULT_FONTS', '<dir>/usr/share/fonts</dir>')
endif endif
fc_cachedir = join_paths(prefix, get_option('localstatedir'), 'cache', meson.project_name()) fc_cachedir = join_paths(prefix, get_option('localstatedir'), 'cache', meson.project_name())
thread_dep = dependency('threads') thread_dep = dependency('threads')