Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions ports/nuspell/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nuspell/nuspell
REF v5.0.0
SHA512 92605c5f0d413b86711fea3b993d656552d5e72440303d3e71907a503d060ead032dfeb0dd8dbb790f35599b8cca8854bdd8650f0560793d9c62a11aebccc2e5
REF v5.1.0
SHA512 08ce776d224c66ba4bdd8cb22943741f30e8e5ba03396bfef1db598321c9b0f8814dacffcb52287b3b669426c7b08e2c1a40323341a9ff9768a7187002e1d77a
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS -DBUILD_TESTING=OFF
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/nuspell)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/nuspell)
vcpkg_fixup_pkgconfig(
# nuspell.pc depends on icu-uc.pc which has -lm specified as private
# library. Ignore this -lm, otherwise this function shows error
Expand All @@ -20,10 +20,7 @@ vcpkg_fixup_pkgconfig(
)
vcpkg_copy_tools(TOOL_NAMES nuspell AUTO_CLEAN)
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug/include
${CURRENT_PACKAGES_DIR}/debug/share
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
)
file(
INSTALL ${SOURCE_PATH}/COPYING.LESSER
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
RENAME copyright)
file(INSTALL "${SOURCE_PATH}/COPYING.LESSER" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
13 changes: 11 additions & 2 deletions ports/nuspell/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
{
"name": "nuspell",
"version-semver": "5.0.0",
"version-semver": "5.1.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/",
"license": "LGPL-3.0-or-later",
"dependencies": [
"icu"
"icu",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4921,7 +4921,7 @@
"port-version": 0
},
"nuspell": {
"baseline": "5.0.0",
"baseline": "5.1.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": "53fb93bbc0d441813026ef171e32d7479ab839f3",
"version-semver": "5.1.0",
"port-version": 0
},
{
"git-tree": "80e078d3797fd83a92fd3a6d0f59a373e43beadb",
"version-semver": "5.0.0",
Expand Down