mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[hidapi] Update to 0.12.0 (#25008)
* Updated to latest release: https://github.com/libusb/hidapi/releases/tag/hidapi-0.12.0 * Update SHA * SHA = 0 * Overwrite version * SHA512 * version * Removed failing line introduced in #22320 * version * Added vcpkg_replace_string again, now for libhidapi.cmake instead of hidapi.cmake * x-add-version
This commit is contained in:
parent
2aed520ed7
commit
d9e6139cd4
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO libusb/hidapi
|
||||
REF hidapi-0.11.2
|
||||
SHA512 c4d04bf570aa98dd88d7ce08ef1abb0675d500c9aa2c22f0437fa30b700a94446779f77e1170267926d5f6f0d9cdb2bb81ad1fe20d158c18587fddbca59e9517
|
||||
REF hidapi-0.12.0
|
||||
SHA512 866268927698db6fa553e000ead3c0c4b8df67ea768d36acac9c71f06f0bd8283778e90eee03f81aaa930f38dbb5719391906c7d2742b74479ffa436104f5fa4
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -16,7 +16,7 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/hidapi/hidapi.cmake" "\"/hidapi\"" "\"\${_IMPORT_PREFIX}/include\"")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/hidapi/libhidapi.cmake" "\"/hidapi\"" "\"\${_IMPORT_PREFIX}/include\"")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE-bsd.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "hidapi",
|
||||
"version-semver": "0.11.2",
|
||||
"port-version": 1,
|
||||
"version-semver": "0.12.0",
|
||||
"description": "A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac and Windows.",
|
||||
"homepage": "https://github.com/libusb/hidapi",
|
||||
"license": "BSD-3-Clause-Clear",
|
||||
|
@ -2777,8 +2777,8 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"hidapi": {
|
||||
"baseline": "0.11.2",
|
||||
"port-version": 1
|
||||
"baseline": "0.12.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"highfive": {
|
||||
"baseline": "2.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "803a911247de97c28264c5dee2102b368137562d",
|
||||
"version-semver": "0.12.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "145fcc6e2c3aa564666793d494a6b90c1323e0ac",
|
||||
"version-semver": "0.11.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user