Use dictionaries prebuilt instead of in-tree; adds several languages.

This commit is contained in:
Router Gray
2019-05-04 07:28:50 -05:00
committed by Lirusaito
parent 2f9a43effd
commit 9bcd3298ba
2 changed files with 3 additions and 1 deletions

View File

@@ -12,4 +12,5 @@ else (STANDALONE)
set(HUNSPELL_LIBRARY libhunspell)
endif (LINUX OR DARWIN)
set(HUNSPELL_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/hunspell)
use_prebuilt_binary(dictionaries)
endif (STANDALONE)

View File

@@ -95,7 +95,8 @@ class ViewerManifest(LLManifest):
# ... and the included spell checking dictionaries
pkgdir = os.path.join(self.args['build'], os.pardir, 'packages')
self.path("dictionaries")
with self.prefix(src=pkgdir):
self.path("dictionaries")
# include the extracted packages information (see BuildPackagesInfo.cmake)
self.path(src=os.path.join(self.args['build'],"packages-info.txt"), dst="packages-info.txt")