[7zip] Add supports field (#13821)

This commit is contained in:
NancyLi1013 2020-10-09 03:30:58 +08:00 committed by GitHub
parent fdcfd8e5d7
commit 7bb217d989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 10 deletions

View File

@ -1,4 +1,6 @@
Source: 7zip
Version: 19.00
Port-Version: 1
Port-Version: 2
Homepage: https://www.7-zip.org
Description: Library for archiving file with a high compression ratio.
Supports: !(linux|osx|arm|uwp)

View File

@ -1,4 +1,4 @@
include(vcpkg_common_functions)
vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp" "linux" "osx")
set(7ZIP_VERSION 19.00)
vcpkg_download_distfile(ARCHIVE
@ -27,8 +27,6 @@ vcpkg_copy_pdbs()
file(
INSTALL ${CMAKE_CURRENT_LIST_DIR}/License.txt
DESTINATION ${CURRENT_PACKAGES_DIR}/share/7zip
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
RENAME copyright
)
vcpkg_test_cmake(PACKAGE_NAME 7zip)

View File

@ -36,11 +36,6 @@
3fd:x64-windows=fail
3fd:x64-windows-static=fail
3fd:x86-windows=fail
7zip:arm64-windows=fail
7zip:arm-uwp=fail
7zip:x64-linux=fail
7zip:x64-osx=fail
7zip:x64-uwp=fail
activemq-cpp:x64-linux=fail
activemq-cpp:x64-osx=fail
akali:x64-uwp=fail