[zoe] Add new port (#34369)

* [teemo] Update to v2.7

* [teemo] Format manifest

* [teemo] Update to v2.7

* [akali] Update to v1.43

* [akali] Update to v1.43

* [akali] Update to v1.43

* overwrite version

* add license

* overwrite version

* [akali] Update string replace method.

* [akali] run x-add-version command.

* [cpp-ipc] Update to v1.2.0

* [cpp-ipc] Update to v1.2.0

* Add new port named zoe.

* Add zoe to baseline.

* Add zeo.json

* [zoe] Update REF

* [zoe] Update version.

* [zoe] Add port version.

* [zoe] run x-add-version --all

* [zoe] Remove port-version

* [zoe] Update port-version

* [zoe] Update version

* [zoe] Update code ref.

* [zoe] Update git-version.

* [zoe] Update portfile.cmake

* [zoe] overwrite-version

* [zoe] Update ref.

* [zoe] overwrite-version

* [zoe] Update portfile.

* [zoe] overwrite-version

* [zoe] Not support android.

* [zoe] Update zoe.json

* [crashrpt-lite] Add new port.

* Format manifest files

* [crashrpt-lite] Instead deprecated functions.

* add crashrpt-lite.json

* [crashrpt-lite] update version.

* Remvoe crashrpt-lite

* Remvoe crashrpt-lite

* [zoe] Export cmake config files.

* [zoe] Export cmake config files.

* [zoe] Update git-tree.

* [zoe] Add usage and config fixup.

* [zoe] Update git-tree

* [zoe] remove usage.

* [zoe] Update git-tree

* use new function

* vdb

---------

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
Co-authored-by: admin <admin@windows.com>
Co-authored-by: paipai <noexist@gmail.com>
Co-authored-by: Frank <1433351828@qq.com>
This commit is contained in:
winsoft666 2023-11-02 04:14:26 +08:00 committed by GitHub
parent a8ce0ae797
commit b6d0c11ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 63 additions and 0 deletions

28
ports/zoe/portfile.cmake Normal file
View File

@ -0,0 +1,28 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO winsoft666/zoe
HEAD_REF master
REF c4de5eef2139050dc6919170487bc5c5044c9fcf
SHA512 72e439b27405784878c1784fbac7308b021636231402e1fd88cfe3e850f0f539d726dc121278bbe3017aea613c6d4dff0a4034ad5488ebea06d681d81e4c8063
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ZOE_BUILD_SHARED_LIBS)
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" ZOE_USE_STATIC_CRT)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DZOE_BUILD_SHARED_LIBS:BOOL=${ZOE_BUILD_SHARED_LIBS}
-DZOE_USE_STATIC_CRT:BOOL=${ZOE_USE_STATIC_CRT}
-DZOE_BUILD_TESTS:BOOL=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH share/zoe)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_copy_pdbs()

22
ports/zoe/vcpkg.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "zoe",
"version": "3.0",
"maintainers": "winsoft666 <winsoft666@outlook.com>",
"description": "C++ File Download Library, support Multithreading, Breakpoint Transmission, Speed Limit, Real-time Speed.",
"homepage": "https://github.com/winsoft666/zoe",
"supports": "!osx & !uwp & !arm & !android",
"dependencies": [
{
"name": "curl",
"default-features": false
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -9288,6 +9288,10 @@
"baseline": "2023-08-12",
"port-version": 0
},
"zoe": {
"baseline": "3.0",
"port-version": 0
},
"zookeeper": {
"baseline": "3.5.6",
"port-version": 1

9
versions/z-/zoe.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "ef2391f6da7efe52725293a360d2d5f1611cf5d5",
"version": "3.0",
"port-version": 0
}
]
}