[simpleble] Add new port (#32813)

* [simpleble] Add new port

* [simpleble] Update to latest commit to fix build issues

* [simpleble] Versioning

* [simpleble] !Android & !UWP

* [simpleble] Overwrite version
This commit is contained in:
myd7349 2023-08-15 08:37:35 +08:00 committed by GitHub
parent 7df1bb605c
commit 4b19d9f935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,25 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO OpenBluetoothToolbox/SimpleBLE
HEAD_REF main
REF a07397dbdd7f8149b7b235b5b21b88b60e8cfbed
SHA512 f9bdb668da151dbc2335b9cfd17a130fdefb349e57e9ff3a270e1c0cc8b7ad1bfdf03704cd1e2c1c7c8b34f44684aa2bf649c14666c2c6fd9ea0ddad1e6bc8a3
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/simpleble"
OPTIONS
-DLIBFMT_VENDORIZE=OFF
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/simpleble")
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")

View File

@ -0,0 +1,19 @@
{
"name": "simpleble",
"version-date": "2023-07-29",
"description": "The ultimate fully-fledged cross-platform library and bindings for Bluetooth Low Energy (BLE).",
"homepage": "https://github.com/OpenBluetoothToolbox/SimpleBLE",
"license": "MIT",
"supports": "!android & !uwp",
"dependencies": [
"fmt",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -7620,6 +7620,10 @@
"baseline": "2020-06-14",
"port-version": 2
},
"simpleble": {
"baseline": "2023-07-29",
"port-version": 0
},
"simpleini": {
"baseline": "4.19",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "40042ec8c4a3d070cda1fd27f4ed5fc931219e3e",
"version-date": "2023-07-29",
"port-version": 0
}
]
}