[lerc] Update to 4.0.0 (#26882)

* Update to 4.0.0

* Update versions
This commit is contained in:
Kai Pastor 2022-09-20 20:37:29 +02:00 committed by GitHub
parent 4e07dd99b8
commit 63879cfda1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 5 deletions

View File

@ -2,7 +2,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
index e90fcdd..17c79e8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,9 +26,16 @@ add_library(LercLib ${SOURCES})
@@ -26,12 +26,19 @@ add_library(LercLib ${SOURCES})
endif()
install(
@ -19,3 +19,6 @@ index e90fcdd..17c79e8 100644
+ NAMESPACE unofficial::Lerc::
+ DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/unofficial-lerc"
+)
# Configure and install pkgconfig file
configure_file(Lerc.pc.in ${CMAKE_CURRENT_BINARY_DIR}/Lerc.pc @ONLY)

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Esri/lerc
REF v3.0
SHA512 8e04d890c4d46528641b354ec3f47f2b0563e1740927ac894925a30f7de2b235cb3517ce7e477886bd3eb50ebd6c6e78f22d73d5500877e552d9e684e626293b
REF v4.0.0
SHA512 36fe453b6e732f6bed554d1c1c5cd4668aec63593d6de11f12b659c7b9cbc059ac9aaacc6cea483b3257d522f1b07e13c299914d08b1f8aeb0bb2cde42ba47cf
HEAD_REF master
PATCHES
"create_package.patch"
@ -13,6 +13,11 @@ vcpkg_cmake_configure(
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-lerc)
vcpkg_fixup_pkgconfig()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/Lerc_c_api.h" "defined(LERC_STATIC)" "1")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -1,6 +1,6 @@
{
"name": "lerc",
"version": "3.0",
"version": "4.0",
"description": "An open-source image or raster format which supports rapid encoding and decoding for any pixel type",
"homepage": "https://github.com/Esri/lerc",
"license": "Apache-2.0",

View File

@ -3481,7 +3481,7 @@
"port-version": 0
},
"lerc": {
"baseline": "3.0",
"baseline": "4.0",
"port-version": 0
},
"lest": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9fce90d3d96f4afb8ffcf1b2e7484ee75aa78ed2",
"version": "4.0",
"port-version": 0
},
{
"git-tree": "3037b9fd610059bc84e89607a3e58aa13641cdd8",
"version": "3.0",