[protozero] update to 1.8.0 (#43575)

This commit is contained in:
toge 2025-02-01 16:48:35 +09:00 committed by GitHub
parent 2ded45cc7a
commit 40e853715a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 27 additions and 41 deletions

View File

@ -1,17 +0,0 @@
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Wed, 16 Feb 2022 00:11:38 +0100
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b975d490..df2ca15f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,7 +52,9 @@ endif()
#
#-----------------------------------------------------------------------------
-find_package(Protobuf)
+if(BUILD_TESTING)
+ find_package(Protobuf)
+endif()
#-----------------------------------------------------------------------------

View File

@ -1,22 +1,20 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mapbox/protozero
SHA512 90bf1f487efa0ad9da2f3b887b7a6dbd849fa3687dd2126c324f902a8584722f4f7d4a2ea86f6a0e75999f7be829f6ae26cad9df1cae55d0b29a9ec24a4dbfd2
REF v1.7.1
HEAD_REF master
PATCHES
fix-no-tests.patch # from https://github.com/mapbox/protozero/pull/110
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mapbox/protozero
SHA512 b5c4cef9112e03f64d53c2f15f8def28129f720f77674e8d1aac7ad663f18630bb3923495a57f94917490d27acab27f07574a6c170c9e1fb151eef702a4ffc5f
REF "v${VERSION}"
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,6 @@
{
"name": "protozero",
"version-semver": "1.7.1",
"version-semver": "1.8.0",
"description": "Minimalist protocol buffer decoder and encoder in C++",
"homepage": "https://github.com/mapbox/protozero",
"license": "BSD-2-Clause",

View File

@ -7261,7 +7261,7 @@
"port-version": 0
},
"protozero": {
"baseline": "1.7.1",
"baseline": "1.8.0",
"port-version": 0
},
"proxsuite": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d83a3c4af103b7f37529f13bf28e1d2c2579d0d9",
"version-semver": "1.8.0",
"port-version": 0
},
{
"git-tree": "f6fa6a99279f9efb98bafc45707a1bcf9ef690e4",
"version-semver": "1.7.1",