diff --git a/ports/pbc/CONTROL b/ports/pbc/CONTROL index ba09843ded9ef8..b717ac1e52e05f 100644 --- a/ports/pbc/CONTROL +++ b/ports/pbc/CONTROL @@ -1,4 +1,5 @@ Source: pbc -Version: 0.5.14-1 -Build-Depends: mpir +Version: 0.5.14-2 +Build-Depends: mpir (windows) +Homepage: https://crypto.stanford.edu/pbc Description: Pairing-Based Crypto library provides low-level routines for pairing-based cryptosystems. diff --git a/ports/pbc/portfile.cmake b/ports/pbc/portfile.cmake index 32e233420c7d45..3f47fa56ea3fde 100644 --- a/ports/pbc/portfile.cmake +++ b/ports/pbc/portfile.cmake @@ -1,14 +1,4 @@ -include(vcpkg_common_functions) - -vcpkg_check_linkage(ONLY_STATIC_LIBRARY) - -if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") - message(FATAL_ERROR "PBC currently can only be built for desktop") -endif() - -if(VCPKG_CRT_LINKAGE STREQUAL "static" AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") - message(FATAL_ERROR "PBC currently can only be built using the dynamic CRT when building DLLs") -endif() +vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP") set(PBC_VERSION 0.5.14) @@ -78,8 +68,9 @@ if(VCPKG_CMAKE_SYSTEM_NAME) ) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share ${CURRENT_PACKAGES_DIR}/share/info) - configure_file(${SOURCE_PATH}/COPYING ${CURRENT_PACKAGES_DIR}/share/pbc/copyright COPYONLY) + file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) else() + vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO blynn/pbc diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt index bc83397a03c3c7..feae9e8a417fec 100644 --- a/scripts/ci.baseline.txt +++ b/scripts/ci.baseline.txt @@ -1297,6 +1297,8 @@ pangomm:x64-windows=ignore pangomm:x86-windows=ignore parmetis:x64-linux=fail parmetis:x64-osx=fail +pbc:arm-uwp=fail +pbc:x64-uwp=fail pcre2:arm-uwp=fail pdal:x64-linux=fail pdal:x64-osx=fail