mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[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:
parent
45c885b07f
commit
a2de7817a5
18
ports/wxcharts/portfile.cmake
Normal file
18
ports/wxcharts/portfile.cmake
Normal 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
18
ports/wxcharts/vcpkg.json
Normal 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"
|
||||
]
|
||||
}
|
@ -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
|
||||
|
9
versions/w-/wxcharts.json
Normal file
9
versions/w-/wxcharts.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b1e9c16349a281b499d1ff50cdee4dd21c4aafec",
|
||||
"version-date": "2022-04-22",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user