[winsparkle] Add arm64 support (#51601)

This commit is contained in:
starxg 2026-05-11 14:41:28 +08:00 committed by GitHub
parent a0e4fcb703
commit f5b672eb8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 17 additions and 2 deletions

View File

@ -39,6 +39,15 @@ elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
file(INSTALL "${SOURCE_PATH}/x64/Release/WinSparkle.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
file(INSTALL "${SOURCE_PATH}/x64/Release/WinSparkle.pdb" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
file(INSTALL "${SOURCE_PATH}/x64/Release/WinSparkle.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
file(INSTALL "${SOURCE_PATH}/ARM64/Release/WinSparkle.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
file(INSTALL "${SOURCE_PATH}/ARM64/Release/WinSparkle.pdb" DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
file(INSTALL "${SOURCE_PATH}/ARM64/Release/WinSparkle.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
# We have no debug, but since Winsparkle is a self-contained dll, we can copy it to the Debug folder as well
file(INSTALL "${SOURCE_PATH}/ARM64/Release/WinSparkle.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
file(INSTALL "${SOURCE_PATH}/ARM64/Release/WinSparkle.pdb" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
file(INSTALL "${SOURCE_PATH}/ARM64/Release/WinSparkle.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
else()
message(FATAL_ERROR "Unsupported architecture: ${VCPKG_TARGET_ARCHITECTURE}")
endif()

View File

@ -1,8 +1,9 @@
{
"name": "winsparkle",
"version": "0.9.2",
"port-version": 1,
"description": "WinSparkle is an easy-to-use software update library for Windows developers.",
"homepage": "https://winsparkle.org",
"license": "MIT",
"supports": "windows & !(arm | uwp)"
"supports": "windows & !(arm32 | uwp)"
}

View File

@ -10862,7 +10862,7 @@
},
"winsparkle": {
"baseline": "0.9.2",
"port-version": 0
"port-version": 1
},
"wintoast": {
"baseline": "1.3.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5ca9e27d0efa996656dac659d0617e194d734998",
"version": "0.9.2",
"port-version": 1
},
{
"git-tree": "9e27e51a386c05a6782ff3c389bee20962c1089a",
"version": "0.9.2",