[easyloggingpp] Fix hash as lowercase (#21052)

* Update portfile.cmake

This change resolves the hash error while installing the package.

Error:
 File path: [ D:/vcpkg/downloads/temp/muflihun-easyloggingpp-v9.97.0.tar.gz ]
      Expected hash: [ E45789EDAF7A43AD6A73861840D24CCCE9B9D6BBA1AAACF93C6AC26FF7449957251D2CA322C9DA85130B893332DD305B13A2499EAFFC65ECFAAAFA3E11F8D63D ]
        Actual hash: [ e45789edaf7a43ad6a73861840d24ccce9b9d6bba1aaacf93c6ac26ff7449957251d2ca322c9da85130b893332dd305b13a2499eaffc65ecfaaafa3e11f8d63d ]

* Bump version number and fix @NancyLi1013 's comment.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
MSDuran 2021-10-29 20:10:16 +03:00 committed by GitHub
parent 1cea69e191
commit d78a0b47bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 7 deletions

View File

@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO muflihun/easyloggingpp
REF v9.97.0
SHA512 E45789EDAF7A43AD6A73861840D24CCCE9B9D6BBA1AAACF93C6AC26FF7449957251D2CA322C9DA85130B893332DD305B13A2499EAFFC65ECFAAAFA3E11F8D63D
REF v9.97.0
SHA512 e45789edaf7a43ad6a73861840d24ccce9b9d6bba1aaacf93c6ac26ff7449957251d2ca322c9da85130b893332dd305b13a2499eaffc65ecfaaafa3e11f8d63d
HEAD_REF master
)
@ -18,7 +18,6 @@ vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/easyloggingpp" RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_fixup_pkgconfig()
vcpkg_fixup_pkgconfig()

View File

@ -1,7 +1,7 @@
{
"name": "easyloggingpp",
"version": "9.97.0",
"port-version": 1,
"port-version": 2,
"description": "Easylogging++ is a single header efficient logging library for C++ applications.",
"homepage": "https://github.com/amrayn/easyloggingpp",
"dependencies": [

View File

@ -1946,7 +1946,7 @@
},
"easyloggingpp": {
"baseline": "9.97.0",
"port-version": 1
"port-version": 2
},
"eathread": {
"baseline": "1.32.09",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "40ca985ab8030ca0daf7c902e413423801d3e3d4",
"version": "9.97.0",
"port-version": 2
},
{
"git-tree": "9cf908bc2aaf8f7ec50bf54b111aed600ca50282",
"version": "9.97.0",