mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 02:29:00 +08:00
[hikogui] update to version 0.7.0 (#27134)
* [hikogui] update to version 0.7.0 * [hikogui] empty ttauri and fix deprecated port files. Make ttauri an empty dependency only port which imports hikogui. Update the hikogui portfile to use non-deprecated functions. * [ttauri] version update * Update ports/hikogui/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * remove port-version Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
This commit is contained in:
parent
dcc6c1d4bf
commit
6800713976
25
ports/hikogui/portfile.cmake
Normal file
25
ports/hikogui/portfile.cmake
Normal file
@ -0,0 +1,25 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO hikogui/hikogui
|
||||
REF v0.7.0
|
||||
SHA512 64555c67e5a44f336a3528d3a894d43e2751a1f4e4e4d9f6618c085ef0be4a502610a36625d95f79298080cb483f7361a758f7c43b4784999b0b5d839baacb28
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DHI_BUILD_TESTS=OFF
|
||||
-DHI_BUILD_EXAMPLES=OFF
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
21
ports/hikogui/vcpkg.json
Normal file
21
ports/hikogui/vcpkg.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "hikogui",
|
||||
"version": "0.7.0",
|
||||
"maintainers": "@takev",
|
||||
"description": "A portable, low latency, retained-mode GUI framework written in C++.",
|
||||
"homepage": "https://github.com/hikogui/hikogui",
|
||||
"license": "BSL-1.0",
|
||||
"supports": "windows & x64",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
},
|
||||
"vulkan",
|
||||
"vulkan-memory-allocator"
|
||||
]
|
||||
}
|
@ -1,26 +1 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ttauri-project/ttauri
|
||||
REF v0.5.0
|
||||
SHA512 946c8b7fbd030235d06fff3e100c6be15c2dd360306c674906eb395067642ea38551290ebf4d2c398798219b5c0711eeaecb57bc5021db9f91ec343baab64171
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DTT_BUILD_TESTS=OFF
|
||||
-DTT_BUILD_EXAMPLES=OFF
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||
|
@ -1,14 +1,13 @@
|
||||
{
|
||||
"name": "ttauri",
|
||||
"version": "0.5.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"maintainers": "@takev",
|
||||
"description": "A portable, low latency, retained-mode GUI framework written in C++.",
|
||||
"description": "A portable, low latency, retained-mode GUI framework written in C++. (renamed to hikogui)",
|
||||
"homepage": "https://github.com/ttauri-project/ttauri",
|
||||
"license": "BSL-1.0",
|
||||
"supports": "windows & x64",
|
||||
"dependencies": [
|
||||
"vulkan",
|
||||
"vulkan-memory-allocator"
|
||||
"hikogui"
|
||||
]
|
||||
}
|
||||
|
@ -2904,6 +2904,10 @@
|
||||
"baseline": "0.14.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"hikogui": {
|
||||
"baseline": "0.7.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"hiredis": {
|
||||
"baseline": "1.0.2",
|
||||
"port-version": 4
|
||||
@ -7490,7 +7494,7 @@
|
||||
},
|
||||
"ttauri": {
|
||||
"baseline": "0.5.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"turbobase64": {
|
||||
"baseline": "2020-01-12",
|
||||
|
9
versions/h-/hikogui.json
Normal file
9
versions/h-/hikogui.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3ed99f330c9de6be97e6e2e25c3ff55080fbbcd5",
|
||||
"version": "0.7.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "528e0c198c489d3212ba2b8e7048bbc0a379f4b2",
|
||||
"version": "0.5.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "5990b7368bf89a8b6cd1fa2a7b33406c9ef3a24e",
|
||||
"version": "0.5.0",
|
||||
|
Loading…
Reference in New Issue
Block a user