mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[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:
parent
7df1bb605c
commit
4b19d9f935
25
ports/simpleble/portfile.cmake
Normal file
25
ports/simpleble/portfile.cmake
Normal 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")
|
19
ports/simpleble/vcpkg.json
Normal file
19
ports/simpleble/vcpkg.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
@ -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
|
||||
|
9
versions/s-/simpleble.json
Normal file
9
versions/s-/simpleble.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "40042ec8c4a3d070cda1fd27f4ed5fc931219e3e",
|
||||
"version-date": "2023-07-29",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user