diff options
| author | Be <be@mixxx.org> | 2021-01-28 19:21:46 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-28 19:21:46 -0800 |
| commit | 2eece71f53de6f9a83d2b686b8adceb40100a134 (patch) | |
| tree | f9b111121b0fbd5672452d21ab57b9f1ec7ec393 /ports/libkeyfinder | |
| parent | c5bffbd985a40efa10213143bbb6c3617ba19a7b (diff) | |
| download | vcpkg-2eece71f53de6f9a83d2b686b8adceb40100a134.tar.gz vcpkg-2eece71f53de6f9a83d2b686b8adceb40100a134.zip | |
[libkeyfinder] add new port with libkeyfinder 2.2.4 (#15878)
Diffstat (limited to 'ports/libkeyfinder')
| -rw-r--r-- | ports/libkeyfinder/portfile.cmake | 24 | ||||
| -rw-r--r-- | ports/libkeyfinder/vcpkg.json | 18 |
2 files changed, 42 insertions, 0 deletions
diff --git a/ports/libkeyfinder/portfile.cmake b/ports/libkeyfinder/portfile.cmake new file mode 100644 index 000000000..0eba972be --- /dev/null +++ b/ports/libkeyfinder/portfile.cmake @@ -0,0 +1,24 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO mixxxdj/libkeyfinder + REF v2.2.4 + SHA512 6673b9a81dbfa3693fc4e7af4e5fc0f351f0c60b00fdafeb9e3437e2f77b5fec7d1e78e3989ff1daca72770a1d3cdbe3837508718b8e8aba3ac3f3d56af81a56 + HEAD_REF main +) + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + test BUILD_TESTING +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + OPTIONS ${FEATURE_OPTIONS} +) + +vcpkg_install_cmake() +vcpkg_copy_pdbs() +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KeyFinder TARGET_PATH share/KeyFinder) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +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 new file mode 100644 index 000000000..c1fa0a6a8 --- /dev/null +++ b/ports/libkeyfinder/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "libkeyfinder", + "version-string": "2.2.4", + "description": "Musical key detection for digital audio", + "homepage": "https://github.com/mixxxdj/libkeyfinder", + "license": "GPL-3.0-or-later", + "dependencies": [ + "fftw3" + ], + "features": { + "test": { + "description": "Build tests", + "dependencies": [ + "catch2" + ] + } + } +} |
