[libb2] Add supports and install pkg-conifg on macOS VM (#12398)

* [libb2] Add supports and install pkg-conifg on macOS VM

* Add blank line to the end of the json file

* vcpkg x-format-manifest --all

* Remove failed ports in ci baseline file
This commit is contained in:
Phoebe 2020-07-14 23:37:14 +08:00 committed by GitHub
parent f38a61de33
commit 9891a8f213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 11 deletions

View File

@ -1,4 +0,0 @@
Source: libb2
Version: 0.98.1-2
Homepage: https://github.com/BLAKE2/libb2
Description: C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp

View File

@ -1,3 +1,5 @@
vcpkg_fail_port_install(ON_TARGET "WINDOWS")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO BLAKE2/libb2
@ -23,5 +25,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_copy_pdbs()
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

8
ports/libb2/vcpkg.json Normal file
View File

@ -0,0 +1,8 @@
{
"name": "libb2",
"version-string": "0.98.1",
"port-version": 3,
"description": "C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp",
"homepage": "https://github.com/BLAKE2/libb2",
"supports": "!windows"
}

View File

@ -18,6 +18,7 @@ jobs:
- bash: |
brew list autoconf || brew install autoconf
brew list automake || brew install automake
brew list pkg-config || brew install pkg-config
brew list libtool || brew install libtool
brew list bison || brew install bison
brew list gfortran || brew cask install gfortran

View File

@ -653,12 +653,6 @@ leveldb:x64-uwp=fail
libaiff:x64-linux=fail
libarchive:arm-uwp=fail
libass:x64-windows-static=fail
libb2:x86-windows=fail
libb2:x64-windows=fail
libb2:x64-windows-static=fail
libb2:x64-uwp=fail
libb2:arm64-windows=fail
libb2:arm-uwp=fail
libbf:arm64-windows=fail
libbf:arm-uwp=fail
libbf:x64-uwp=fail