diff --git a/ports/chromaprint/portfile.cmake b/ports/chromaprint/portfile.cmake new file mode 100644 index 0000000000..da430faa5b --- /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 0000000000..4808008c97 --- /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" + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 97ef4ae361..b45ddb950c 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1164,6 +1164,10 @@ "baseline": "0.40-4", "port-version": 0 }, + "chromaprint": { + "baseline": "1.5.0", + "port-version": 0 + }, "chromium-base": { "baseline": "86.0.4199.1", "port-version": 1 diff --git a/versions/c-/chromaprint.json b/versions/c-/chromaprint.json new file mode 100644 index 0000000000..5fc772975e --- /dev/null +++ b/versions/c-/chromaprint.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "1f3fe321540c3d87ad63fe85efa5b48bd9c55ac8", + "version-string": "1.5.0", + "port-version": 0 + } + ] +}