mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[neoslippi] Add neoslippi (#38412)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
This commit is contained in:
21
ports/neoslippi/portfile.cmake
Normal file
21
ports/neoslippi/portfile.cmake
Normal file
@@ -0,0 +1,21 @@
|
||||
vcpkg_from_sourceforge(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO neoslippi
|
||||
FILENAME "NeoSlippi-${VERSION}.zip"
|
||||
SHA512 a1fdd19c0de2e59d3de778be98216702a9c1de05a87b6d7126a6d1ef96c270624f4890ae8d6199498d91e89d2b8219381cb1bf15d29730a402d5152f05c7ea6c
|
||||
NO_REMOVE_ONE_LEVEL
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=False
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/NeoSlippi)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(COPY "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
5
ports/neoslippi/usage
Normal file
5
ports/neoslippi/usage
Normal file
@@ -0,0 +1,5 @@
|
||||
neoslippi provides CMake targets:
|
||||
|
||||
find_package(NeoSlippi CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE NeoSlippi::NeoSlippi)
|
||||
|
||||
18
ports/neoslippi/vcpkg.json
Normal file
18
ports/neoslippi/vcpkg.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "neoslippi",
|
||||
"version": "1.0.3.18",
|
||||
"description": "C++ Slippi replay file parser.",
|
||||
"homepage": "https://sourceforge.net/projects/neoslippi/",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
"nlohmann-json",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6752,6 +6752,10 @@
|
||||
"baseline": "2024-11-24",
|
||||
"port-version": 0
|
||||
},
|
||||
"neoslippi": {
|
||||
"baseline": "1.0.3.18",
|
||||
"port-version": 0
|
||||
},
|
||||
"netcdf-c": {
|
||||
"baseline": "4.9.3",
|
||||
"port-version": 0
|
||||
|
||||
9
versions/n-/neoslippi.json
Normal file
9
versions/n-/neoslippi.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b0c3b8d511cc5835218f0fd6f5ebf63580ec0059",
|
||||
"version": "1.0.3.18",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user