diff --git a/ports/annoy/portfile.cmake b/ports/annoy/portfile.cmake new file mode 100644 index 00000000000..c33cb628f8a --- /dev/null +++ b/ports/annoy/portfile.cmake @@ -0,0 +1,20 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO spotify/annoy + REF 0457742d12cf7a263f7c709ef1d470e5f08f791d # master on 2023-02-25 + SHA512 df26b18a5a165081a9373076f974ee977b0b4b54e7a58da3723f608e4cc46aab1d0978f2663965c8bbb81d123c8efff1a77040ef2bfdc0287b08214514b40ecc + HEAD_REF master +) + +set(VCPKG_BUILD_TYPE "release") # header-only port + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/annoy) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/annoy/vcpkg.json b/ports/annoy/vcpkg.json new file mode 100644 index 00000000000..c594444b8fc --- /dev/null +++ b/ports/annoy/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "annoy", + "version-date": "2023-02-25", + "description": "Approximate Nearest Neighbors optimized for memory usage and loading/saving to disk", + "homepage": "https://github.com/spotify/annoy", + "license": "Apache-2.0", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/a-/annoy.json b/versions/a-/annoy.json new file mode 100644 index 00000000000..3d64f3ebbe0 --- /dev/null +++ b/versions/a-/annoy.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "fb0fa777748e35b69b4d3206cccc7ba770d12ee4", + "version-date": "2023-02-25", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 1f8e11434b3..93ec82e11a6 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -120,6 +120,10 @@ "baseline": "chromium_5414", "port-version": 1 }, + "annoy": { + "baseline": "2023-02-25", + "port-version": 0 + }, "antlr4": { "baseline": "4.11.1", "port-version": 1