-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add kf5sonnet port * [kf5sonnet] remove binaries * Fixed kf5sonnet for windows * [kf5sonnet] fix windows build * [kf5sonnet] update to 5.75.0 * [kf5sonnet] update to 5.84.0 * [kf5sonnet] update versions * [kf5sonnet] use semver Co-authored-by: Phoebe <[email protected]> * [kf5sonnet] replace deprecated functions Co-authored-by: Phoebe <[email protected]> * [kf5sonnet] update versions * [kf5sonnet] DISABLE_PARALLEL_CONFIGURE * [kf5sonnet] update versions * [kf5sonnet] fix MAYBE_UNUSED_VARIABLES usage * [kf5sonnet] update versions Co-authored-by: Kuntal Majumder <[email protected]> Co-authored-by: Phoebe <[email protected]>
- Loading branch information
1 parent
5304f82
commit bfa4cea
Showing
4 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO KDE/sonnet | ||
REF v5.84.0 | ||
SHA512 9e7d121f447e3320c27c3708f5d1d4cc735e775749cded268502b593a0b1f6ea703e68ce1d2d4f1806e0adb73aafaedf660586f8ee740f4a9a834e23cb9880e4 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
DISABLE_PARALLEL_CONFIGURE | ||
OPTIONS | ||
-DBUILD_TESTING=OFF | ||
-DKDE_INSTALL_PLUGINDIR=plugins | ||
-DKDE_INSTALL_DATAROOTDIR=data | ||
-DKDE_INSTALL_QTPLUGINDIR=plugins | ||
-DBUILD_HTML_DOCS=OFF | ||
-DBUILD_MAN_DOCS=OFF | ||
-DBUILD_QTHELP_DOCS=OFF | ||
MAYBE_UNUSED_VARIABLES | ||
BUILD_HTML_DOCS | ||
BUILD_MAN_DOCS | ||
BUILD_QTHELP_DOCS | ||
) | ||
|
||
vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/bin") | ||
vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/debug/bin") | ||
|
||
vcpkg_cmake_install() | ||
|
||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}") | ||
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/gentrigrams${VCPKG_HOST_EXECUTABLE_SUFFIX}" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/gentrigrams${VCPKG_HOST_EXECUTABLE_SUFFIX}") | ||
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/parsetrigrams${VCPKG_HOST_EXECUTABLE_SUFFIX}" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/parsetrigrams${VCPKG_HOST_EXECUTABLE_SUFFIX}") | ||
|
||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/KF5Sonnet) | ||
|
||
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}") | ||
file(APPEND "${CURRENT_PACKAGES_DIR}/tools/${PORT}/qt.conf" "Data = ${VCPKG_ROOT_DIR}/installed/${TARGET_TRIPLET}/data") | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
endif() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/etc") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/gentrigrams${VCPKG_HOST_EXECUTABLE_SUFFIX}") | ||
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/parsetrigrams${VCPKG_HOST_EXECUTABLE_SUFFIX}") | ||
|
||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "kf5sonnet", | ||
"version-semver": "5.84.0", | ||
"description": "Multi-language spell checker", | ||
"homepage": "https://api.kde.org/frameworks/sonnet/html/index.html", | ||
"dependencies": [ | ||
"ecm", | ||
"qt5-base", | ||
"qt5-tools", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "7f6d9ebeec45c6354fd96f1ee04b9e34063e33b0", | ||
"version-semver": "5.84.0", | ||
"port-version": 0 | ||
} | ||
] | ||
} |