[physfs] Enable arm64 for non-Windows targets (#15637)

* [physfs] Enable arm64 for non-Windows targets

* Update version files

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
pastdue 2021-01-15 02:19:19 -05:00 committed by GitHub
parent f87c92e42c
commit 0e46f931b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6327 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e46ccc22c717ad69bb6b6730669da403c86178d5",
"version-string": "3.0.2",
"port-version": 3
},
{
"git-tree": "aa1952ceb05b35ac1b2ce1a91aafcffbf7ef9c0b",
"version-string": "3.0.2-2",

View File

@ -1,6 +0,0 @@
Source: physfs
Version: 3.0.2-2
Homepage: https://icculus.org/physfs/
Description: a library to provide abstract access to various archives
Build-Depends: zlib
Supports: !arm64

View File

@ -1,4 +1,6 @@
vcpkg_fail_port_install(ON_ARCH "arm64")
if(VCPKG_TARGET_IS_WINDOWS AND ${VCPKG_TARGET_ARCHITECTURE} MATCHES "arm64")
message(FATAL_ERROR "Architecture 'arm64' not supported on target 'Windows' by physfs!\n")
endif()
set(PHYSFS_VERSION 3.0.2)
vcpkg_download_distfile(ARCHIVE

11
ports/physfs/vcpkg.json Normal file
View File

@ -0,0 +1,11 @@
{
"name": "physfs",
"version-string": "3.0.2",
"port-version": 3,
"description": "a library to provide abstract access to various archives",
"homepage": "https://icculus.org/physfs/",
"supports": "!(arm64 & windows)",
"dependencies": [
"zlib"
]
}