Skip to content

Commit

Permalink
[nuspell] Update to version 5.0.0 (#18590)
Browse files Browse the repository at this point in the history
* [nuspell] Update to version 5.0.0

* x-add-version nuspell
  • Loading branch information
dimztimz committed Jun 24, 2021
1 parent 1232117 commit b011e65
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 62 deletions.
7 changes: 0 additions & 7 deletions ports/nuspell/CONTROL

This file was deleted.

46 changes: 0 additions & 46 deletions ports/nuspell/cmake-disable-cli-and-docs.patch

This file was deleted.

11 changes: 3 additions & 8 deletions ports/nuspell/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nuspell/nuspell
REF v4.2.0
SHA512 ae9157e9753868c002ed69a765fb705d29d993f3940e11efbc2699778a8b1abee2eb7daa0ff51187b899d6935a215a24662e5b52ec1ef5c644e90a0245f7583d
REF v5.0.0
SHA512 92605c5f0d413b86711fea3b993d656552d5e72440303d3e71907a503d060ead032dfeb0dd8dbb790f35599b8cca8854bdd8650f0560793d9c62a11aebccc2e5
HEAD_REF master
PATCHES cmake-disable-cli-and-docs.patch
# This patch disables building the CLI tool and leaves only the library.
# That is because Vcpkg complains when it finds .exe files in the folder
# "bin". Instead it expects them under "tools", which is different
# convention than on Unixes. This patch is quick fix, the CLI is not
# that important.
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
Expand All @@ -24,6 +18,7 @@ vcpkg_fixup_pkgconfig(
# because it can't find this. -lm is part of glibc on Linux.
SYSTEM_LIBRARIES m
)
vcpkg_copy_tools(TOOL_NAMES nuspell AUTO_CLEAN)
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug/include
${CURRENT_PACKAGES_DIR}/debug/share
Expand Down
13 changes: 13 additions & 0 deletions ports/nuspell/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "nuspell",
"version-semver": "5.0.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."
],
"homepage": "https://nuspell.github.io/",
"dependencies": [
"icu"
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4377,7 +4377,7 @@
"port-version": 0
},
"nuspell": {
"baseline": "4.2.0",
"baseline": "5.0.0",
"port-version": 0
},
"nvtt": {
Expand Down
5 changes: 5 additions & 0 deletions versions/n-/nuspell.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "80e078d3797fd83a92fd3a6d0f59a373e43beadb",
"version-semver": "5.0.0",
"port-version": 0
},
{
"git-tree": "97027ba299650a7ef96081bf3a466ac76108593f",
"version-string": "4.2.0",
Expand Down

0 comments on commit b011e65

Please sign in to comment.