aboutsummaryrefslogtreecommitdiff
path: root/ports/libkeyfinder
diff options
context:
space:
mode:
authorJonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>2021-09-04 08:37:20 +0800
committerGitHub <noreply@github.com>2021-09-03 17:37:20 -0700
commitfbc1e4178adee73b8a0d8d08078b6cac41d7f840 (patch)
tree7e027993083f710bf4cb4ccc9c710f8b9e02603b /ports/libkeyfinder
parent14f6b67e427f7291dd89f2a73d46d779e744ea5b (diff)
downloadvcpkg-fbc1e4178adee73b8a0d8d08078b6cac41d7f840.tar.gz
vcpkg-fbc1e4178adee73b8a0d8d08078b6cac41d7f840.zip
[libmupdf/liblinear/libkeyfinder] Update to latest version (#19959)
* [libmupdf/liblinear/libkeyfinder] Update to latest version * update version * update vcpkg.json format * update version
Diffstat (limited to 'ports/libkeyfinder')
-rw-r--r--ports/libkeyfinder/portfile.cmake17
-rw-r--r--ports/libkeyfinder/vcpkg.json12
2 files changed, 19 insertions, 10 deletions
diff --git a/ports/libkeyfinder/portfile.cmake b/ports/libkeyfinder/portfile.cmake
index 0eba972be..8b06add32 100644
--- a/ports/libkeyfinder/portfile.cmake
+++ b/ports/libkeyfinder/portfile.cmake
@@ -1,24 +1,25 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mixxxdj/libkeyfinder
- REF v2.2.4
- SHA512 6673b9a81dbfa3693fc4e7af4e5fc0f351f0c60b00fdafeb9e3437e2f77b5fec7d1e78e3989ff1daca72770a1d3cdbe3837508718b8e8aba3ac3f3d56af81a56
+ REF v2.2.5
+ SHA512 54463d1f1111dc474d3e43723fddd5579ea1a3842f99f43e50e85622a1d6ee6fe42b22c300ce5ba5807cf6b2d7067af741773af95974a42c5d863c53165893eb
HEAD_REF main
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- test BUILD_TESTING
+ FEATURES
+ test BUILD_TESTING
)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
vcpkg_copy_pdbs()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KeyFinder TARGET_PATH share/KeyFinder)
+vcpkg_cmake_config_fixup(PACKAGE_NAME KeyFinder CONFIG_PATH lib/cmake/KeyFinder)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/libkeyfinder/vcpkg.json b/ports/libkeyfinder/vcpkg.json
index c1fa0a6a8..c52f0c914 100644
--- a/ports/libkeyfinder/vcpkg.json
+++ b/ports/libkeyfinder/vcpkg.json
@@ -1,11 +1,19 @@
{
"name": "libkeyfinder",
- "version-string": "2.2.4",
+ "version-string": "2.2.5",
"description": "Musical key detection for digital audio",
"homepage": "https://github.com/mixxxdj/libkeyfinder",
"license": "GPL-3.0-or-later",
"dependencies": [
- "fftw3"
+ "fftw3",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
],
"features": {
"test": {