[sciplot] Add new port (#15913)

* add sciplot port

* port should also work on all platforms, as long as gnuplot can be installed

* add version information to vcpkg

* disable uwp in build pipeline and fix version SHA

* uwp not supported

* fix version sha

* Use vcpkg.json and bump version to 0.2.2

* add sciplot version

* [sciplot] Remove inaccessible 0.1 port

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
Julian Scholle 2021-04-01 19:44:04 +02:00 committed by GitHub
parent fecd9f1449
commit cd7f976e99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sciplot/sciplot
REF v0.2.2
SHA512 2e7646e0fd52643bf86c09466d921d7b6a53349cd113e15177c3389654e0489df1d56f5fdcad7fc73834e632fff0a303d1366688ac7bb11937d49babd0742a7f
HEAD_REF vcpkg
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/sciplot)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

7
ports/sciplot/vcpkg.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "sciplot",
"version": "0.2.2",
"description": "A modern c++ scientific plotting library powered by gnuplot",
"homepage": "https://github.com/sciplot/sciplot",
"supports": "!uwp"
}

View File

@ -5388,6 +5388,10 @@
"baseline": "4.4.6",
"port-version": 0
},
"sciplot": {
"baseline": "0.2.2",
"port-version": 0
},
"sciter": {
"baseline": "4.4.3.20",
"port-version": 0

9
versions/s-/sciplot.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "6d01187d3c940b9bf5b3f35902469959fe640a6c",
"version": "0.2.2",
"port-version": 0
}
]
}