[nuspell] update to version 4.2.0 (#15425)

This commit is contained in:
Dimitrij Mijoski 2021-01-05 21:39:10 +01:00 committed by GitHub
parent 41e5b0815f
commit 4533b7483d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 15 deletions

View File

@ -1,5 +1,5 @@
Source: nuspell
Version: 4.0.1
Version: 4.2.0
Description: Nuspell is a fast and safe spelling checker software program.
It is designed for languages with rich morphology and complex word compounding.
Nuspell is written in modern C++ and it supports Hunspell dictionaries.

View File

@ -1,16 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 835ebfb..82fa335 100644
index a98ed58..3756bae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,6 @@ include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
find_package(ICU REQUIRED COMPONENTS uc data)
-find_package(Boost 1.48.0 REQUIRED COMPONENTS locale)
get_directory_property(subproject PARENT_DIRECTORY)
@@ -20,8 +19,6 @@ if (subproject)
@@ -19,8 +19,6 @@ if (subproject)
return()
endif()
@ -20,7 +12,7 @@ index 835ebfb..82fa335 100644
set(Catch2_FOUND Catch2-NOTFOUND PARENT_SCOPE)
set(catch_cmake_lists ${PROJECT_SOURCE_DIR}/external/Catch2/CMakeLists.txt)
diff --git a/src/nuspell/CMakeLists.txt b/src/nuspell/CMakeLists.txt
index a8d215f..78553c5 100644
index 9535686..78553c5 100644
--- a/src/nuspell/CMakeLists.txt
+++ b/src/nuspell/CMakeLists.txt
@@ -27,22 +27,6 @@ target_include_directories(nuspell
@ -33,7 +25,7 @@ index a8d215f..78553c5 100644
- RUNTIME_OUTPUT_NAME nuspell)
-target_compile_definitions(nuspell-bin PRIVATE
- PROJECT_VERSION=\"${PROJECT_VERSION}\")
-target_link_libraries(nuspell-bin nuspell Boost::locale)
-target_link_libraries(nuspell-bin nuspell)
-if (BUILD_SHARED_LIBS AND WIN32)
- # This should be PRE_LINK (or PRE_BUILD), so Vcpkg's POST_BUILD
- # step (see VCPKG_APPLOCAL_DEPS) that copies dll can pick up nuspell.dll

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nuspell/nuspell
REF v4.0.1
SHA512 122616fd24c2de35000ba12d680d3617e7fe97881d33febbcb106ce70d3bac356a00d90680a1bc8ee631ed532ace0f4b4f9fce4760a25b0f7fc1d60553e74528
REF v4.2.0
SHA512 ae9157e9753868c002ed69a765fb705d29d993f3940e11efbc2699778a8b1abee2eb7daa0ff51187b899d6935a215a24662e5b52ec1ef5c644e90a0245f7583d
HEAD_REF master
PATCHES cmake-disable-cli-and-docs.patch
# This patch disables building the CLI tool and leaves only the library.