diff options
Diffstat (limited to 'vcpkg/ports/libkeyfinder')
| -rw-r--r-- | vcpkg/ports/libkeyfinder/portfile.cmake | 24 | ||||
| -rw-r--r-- | vcpkg/ports/libkeyfinder/vcpkg.json | 18 |
2 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/libkeyfinder/portfile.cmake b/vcpkg/ports/libkeyfinder/portfile.cmake new file mode 100644 index 0000000..cb4bafe --- /dev/null +++ b/vcpkg/ports/libkeyfinder/portfile.cmake @@ -0,0 +1,24 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO mixxxdj/libkeyfinder + REF ${VERSION} + SHA512 31d86715172b62dd72b122a8d480db4598731b87ca58522ad797116acfcbc53b8ecf8fe7eb2b129857b5044b27d32dda9e03927e0a27f8edcdc5d6ce607a76eb + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_TESTING=OFF +) + +vcpkg_cmake_install() +vcpkg_copy_pdbs() +vcpkg_cmake_config_fixup(PACKAGE_NAME KeyFinder CONFIG_PATH lib/cmake/KeyFinder) +vcpkg_fixup_pkgconfig() + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) + +file(REMOVE_RECURSE + "${CURRENT_PACKAGES_DIR}/debug/include" + "${CURRENT_PACKAGES_DIR}/debug/share") diff --git a/vcpkg/ports/libkeyfinder/vcpkg.json b/vcpkg/ports/libkeyfinder/vcpkg.json new file mode 100644 index 0000000..3a90230 --- /dev/null +++ b/vcpkg/ports/libkeyfinder/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "libkeyfinder", + "version": "2.2.8", + "description": "Musical key detection for digital audio", + "homepage": "https://github.com/mixxxdj/libkeyfinder", + "license": "GPL-3.0-or-later", + "dependencies": [ + "fftw3", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |