[wxcharts] Add new port (#24263)

* port wxcharts

* regulate

* add license in vcpkg.json

* fix url

* Update version database

* Update ports/wxcharts/portfile.cmake

vcpkg_from_github instead of vcpkg_from_git

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* try vcpkg_from_github instead of vcpkg_from_git

* add hash

* remove comments

* Update version database

* the patch has been merged in upstream, no need here

* Update version

* Update ports/wxcharts/vcpkg.json

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

* Update version

* Update versions/w-/wxcharts.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

Co-authored-by: abc <a@b.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
This commit is contained in:
Ronald 2022-04-26 06:45:16 +08:00 committed by GitHub
parent 45c885b07f
commit a2de7817a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO wxIshiko/wxCharts
REF c7c7eb4c4132eeb83f25546b1b981dc61e5c188f
SHA512 f46cf467b356e2ffa46db020de42f8aca9beab801e2ade50f7e75650bba9bc83c641702dcd5ee45e82425b96d4371b82e7f16dce3077050a86ba696ed5c326de
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

18
ports/wxcharts/vcpkg.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "wxcharts",
"version-date": "2022-04-22",
"description": "Chart controls for the wxWidgets cross-platform GUI library",
"homepage": "https://www.wxishiko.com/wxCharts",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"wxwidgets"
]
}

View File

@ -7516,6 +7516,10 @@
"baseline": "1.0.0",
"port-version": 1
},
"wxcharts": {
"baseline": "2022-04-22",
"port-version": 0
},
"wxwidgets": {
"baseline": "3.1.5",
"port-version": 10

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "b1e9c16349a281b499d1ff50cdee4dd21c4aafec",
"version-date": "2022-04-22",
"port-version": 0
}
]
}