diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/chromaprint/portfile.cmake | 16 | ||||
| -rw-r--r-- | ports/chromaprint/vcpkg.json | 10 |
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/chromaprint/portfile.cmake b/ports/chromaprint/portfile.cmake new file mode 100644 index 000000000..da430faa5 --- /dev/null +++ b/ports/chromaprint/portfile.cmake @@ -0,0 +1,16 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO acoustid/chromaprint + REF v1.5.0 + SHA512 333114949928abdf5d4b11aba1db6ec487eebe526324c68d903b3fa80a3af87a28d942af765a2f873e63a1bf222b658b6438cd10cde4446f61b26ea91f537469 +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA +) +vcpkg_install_cmake() +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/chromaprint/vcpkg.json b/ports/chromaprint/vcpkg.json new file mode 100644 index 000000000..4808008c9 --- /dev/null +++ b/ports/chromaprint/vcpkg.json @@ -0,0 +1,10 @@ +{ + "name": "chromaprint", + "version-string": "1.5.0", + "description": "C library for generating audio fingerprints used by AcoustID", + "homepage": "https://github.com/acoustid/chromaprint", + "license": "LGPL-2.1-or-later", + "dependencies": [ + "ffmpeg" + ] +} |
