[qwtw] Add new port (#12748)

* [qwtw] add new port (qwtw library)

* CI baseline updated

* [qwtw] CONTROL bug fix
This commit is contained in:
ig-or 2020-08-07 11:44:13 -07:00 committed by GitHub
parent 80ef2a3455
commit 5b35ffe65b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

7
ports/qwtw/CONTROL Normal file
View File

@ -0,0 +1,7 @@
Source: qwtw
Version: 3.0
Homepage: https://github.com/ig-or/qwtw
Description: qwt-based 2D plotting library
Supports: windows & x64 & !static
Build-Depends: qt5-base, qt5-svg, qwt, marble, boost-system, boost-filesystem, boost-date-time, boost-chrono, boost-regex, boost-thread, boost-circular-buffer, boost-asio

19
ports/qwtw/portfile.cmake Normal file
View File

@ -0,0 +1,19 @@
vcpkg_fail_port_install(ON_TARGET "LINUX" "OSX" "UWP" "ANDROID" ON_ARCH "arm" "x86" ON_LIBRARY_LINKAGE "static")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ig-or/qwtw
REF 54bedcce743991f2f274bebda0ee399683a9e9bb
SHA512 defd7f199c8bf490f5ac69deade4a4a45581c0fa5b79cf2aa1fbec8c46bbbe1d9c9cf0f7ba383e8e92f5e6145b42a837b7dc555017893797f72dab1ce490e57a
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)