Skip to content

Commit

Permalink
protobuf: Update to 25.1
Browse files Browse the repository at this point in the history
Add abseil-cpp as a dependency. It is required since version 22.0 (aka 3.22.0)[1]

[1] protocolbuffers/protobuf@a9f1ea6
  • Loading branch information
AlessandroBono committed May 14, 2024
1 parent 65fcd61 commit 9002ec9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gvsbuild/projects/protobuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ def __init__(self):
Project.__init__(
self,
"protobuf",
version="3.21.12",
lastversion_major=3,
archive_url="https://github.com/protocolbuffers/protobuf/releases/download/v{minor}.{micro}/protobuf-cpp-{version}.tar.gz",
hash="4eab9b524aa5913c6fffb20b2a8abf5ef7f95a80bc0701f3a6dbb4c607f73460",
version="25.1",
archive_url="https://github.com/protocolbuffers/protobuf/releases/download/v{version}/protobuf-{version}.tar.gz",
hash="9bd87b8280ef720d3240514f884e56a712f2218f0d693b48050c836028940a42",
dependencies=[
"abseil-cpp",
"cmake",
"zlib",
"ninja",
Expand All @@ -39,7 +39,7 @@ def build(self):
# We need to compile with STATIC_RUNTIME off since protobuf-c also compiles with it OFF
CmakeProject.build(
self,
cmake_params=r'-DBUILD_SHARED_LIBS=ON -Dprotobuf_DEBUG_POSTFIX="" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_WITH_ZLIB=ON -Dprotobuf_MSVC_STATIC_RUNTIME=OFF',
cmake_params=r'-DBUILD_SHARED_LIBS=ON -Dprotobuf_ABSL_PROVIDER=package -Dprotobuf_DEBUG_POSTFIX="" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_WITH_ZLIB=ON -Dprotobuf_MSVC_STATIC_RUNTIME=OFF',
use_ninja=True,
)

Expand Down

0 comments on commit 9002ec9

Please sign in to comment.