[Quill] Add new port (#10902)

* [Quill] Add new port

* Mark port as unsupported for uwp/arm/arm64 and update ci.baseline

* Mark uwp, arm and arm64 as ignored in ci.baseline

* fix alphabetical order in ci.baseline

* Remove duplicate from ci.baseline

* Invert supports expression in CONTROL

* Mark as skip in ci.baseline

* Address review comments

* Bump version to 1.2.1

* add vcpkg_fail_port_install

* use vcpkg_from_github and simplify feature options

* fix file alignment

* Always depend on fmt
This commit is contained in:
Odysseas Georgoudis 2020-04-24 05:40:56 +01:00 committed by GitHub
parent 242897b046
commit b896a0da5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

7
ports/quill/CONTROL Normal file
View File

@ -0,0 +1,7 @@
Source: quill
Version: 1.2.1
Homepage: https://github.com/odygrd/quill/
Description: C++14 Asynchronous Low Latency Logging Library
Supports: !(arm|arm64|uwp|android)
Build-Depends: fmt

View File

@ -0,0 +1,28 @@
vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO odygrd/quill
REF 18271f251ccd5244c0052ed0565a1ada517f5c25 #v1.2.1
SHA512 87e3ff15a5033f3a76702e42403490e6fc4417712f166756c1e8a179451a0cb46a9d58555bf71d3cd87905a0befa027b6f26a28c2656e6589382879c4ca28ea5
HEAD_REF master
)
# remove bundled fmt
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/quill/quill/include/quill/bundled/fmt)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/quill/quill/src/bundled/fmt)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DQUILL_FMT_EXTERNAL=ON
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/quill)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -1527,6 +1527,9 @@ quickfix:x64-windows-static=ignore
quickfix:x86-windows=ignore
quickfix:x64-uwp=fail
quickfix:arm-uwp=fail
quill:arm64-windows=fail
quill:arm-uwp=fail
quill:x64-uwp=fail
quirc:arm64-windows = skip
quirc:arm-uwp = skip
quirc:x64-linux = skip