[ez8-co-yapi] Add new port (#51237)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: luojunyuan <28323948+luojunyuan@users.noreply.github.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
k1mlka 2026-05-28 03:10:31 +08:00 committed by GitHub
parent 6295122d76
commit 7596986b05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ez8-co/yapi
REF a700188cc4cbbc48b3da8254ec5d433a1de47fb4
SHA512 863b9e82d06a53332efc5c5d5a4b984a132102b97f2ddd53fe47d356be851577b73dbac51169eb3c4c9e3e52318847ec9ba96a8f5354dd24f37c87e704c77158
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/yapi.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

4
ports/ez8-co-yapi/usage Normal file
View File

@ -0,0 +1,4 @@
ez8-co-yapi is header-only and can be used from CMake via:
find_path(EZ8_CO_YAPI_INCLUDE_DIRS "ez8-co-yapi/yapi.hpp")
target_include_directories(main PRIVATE "${EZ8_CO_YAPI_INCLUDE_DIRS}")

View File

@ -0,0 +1,8 @@
{
"name": "ez8-co-yapi",
"version-date": "2022-08-10",
"description": "A header-only fusion injector that reduces differences between x64, wow64 and x86 processes.",
"homepage": "https://github.com/ez8-co/yapi",
"license": "MIT",
"supports": "windows & !uwp"
}

View File

@ -2892,6 +2892,10 @@
"baseline": "0.0.3",
"port-version": 0
},
"ez8-co-yapi": {
"baseline": "2022-08-10",
"port-version": 0
},
"ezc3d": {
"baseline": "1.7.0",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "f84191e546268d1c7995b881a84c57f938048ef0",
"version-date": "2022-08-10",
"port-version": 0
}
]
}