package/{python-}protobuf: bump to version 33.2
We need to set -Dprotobuf_BUILD_LIBUPB=ON for host-protobuf now as some libupb headers now appear to be required. Also set the new -Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON option to ensure cmake doesn't try to download dependencies. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
7d3f9eaf88
commit
2d19a0b332
@@ -1,3 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE
|
||||
sha256 008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e protobuf-29.3.tar.gz
|
||||
sha256 6b6599b54c88d75904b7471f5ca34a725fa0af92e134dd1a32d5b395aa4b4ca8 protobuf-33.2.tar.gz
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# When bumping this package, make sure to also verify if the
|
||||
# python-protobuf package still works and to update its hash,
|
||||
# as they share the same version/site variables.
|
||||
PROTOBUF_VERSION = 29.3
|
||||
PROTOBUF_VERSION = 33.2
|
||||
PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION)
|
||||
PROTOBUF_LICENSE = BSD-3-Clause
|
||||
PROTOBUF_LICENSE_FILES = LICENSE
|
||||
@@ -26,6 +26,7 @@ PROTOBUF_CONF_OPTS = \
|
||||
-Dprotobuf_BUILD_TESTS=OFF \
|
||||
-Dprotobuf_DISABLE_RTTI=OFF \
|
||||
-Dprotobuf_INSTALL=ON \
|
||||
-Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON \
|
||||
-DWITH_PROTOC=$(HOST_DIR)/bin/protoc
|
||||
|
||||
HOST_PROTOBUF_DEPENDENCIES = host-libabseil-cpp
|
||||
@@ -34,12 +35,13 @@ HOST_PROTOBUF_CONF_OPTS = \
|
||||
-Dprotobuf_ALLOW_CCACHE=ON \
|
||||
-Dprotobuf_BUILD_CONFORMANCE=OFF \
|
||||
-Dprotobuf_BUILD_LIBPROTOC=ON \
|
||||
-Dprotobuf_BUILD_LIBUPB=OFF \
|
||||
-Dprotobuf_BUILD_LIBUPB=ON \
|
||||
-Dprotobuf_BUILD_PROTOBUF_BINARIES=ON \
|
||||
-Dprotobuf_BUILD_PROTOC_BINARIES=ON \
|
||||
-Dprotobuf_BUILD_TESTS=OFF \
|
||||
-Dprotobuf_DISABLE_RTTI=OFF \
|
||||
-Dprotobuf_INSTALL=ON \
|
||||
-Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON \
|
||||
-Dprotobuf_WITH_ZLIB=OFF
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/protobuf/json
|
||||
md5 26ee22a630b0dbfce4de03adc5600fbc protobuf-5.29.3.tar.gz
|
||||
sha256 5da0f41edaf117bde316404bad1a486cb4ededf8e4a54891296f648e8e076620 protobuf-5.29.3.tar.gz
|
||||
md5 59060f8bb01846579e5c8d95917ad925 protobuf-6.33.2.tar.gz
|
||||
sha256 56dc370c91fbb8ac85bc13582c9e373569668a290aa2e66a590c2a0d35ddb9e4 protobuf-6.33.2.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
################################################################################
|
||||
|
||||
PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
|
||||
PYTHON_PROTOBUF_SOURCE = protobuf-5.$(PYTHON_PROTOBUF_VERSION).tar.gz
|
||||
PYTHON_PROTOBUF_SITE = https://files.pythonhosted.org/packages/f7/d1/e0a911544ca9993e0f17ce6d3cc0932752356c1b0a834397f28e63479344
|
||||
PYTHON_PROTOBUF_SOURCE = protobuf-6.$(PYTHON_PROTOBUF_VERSION).tar.gz
|
||||
PYTHON_PROTOBUF_SITE = https://files.pythonhosted.org/packages/34/44/e49ecff446afeec9d1a66d6bbf9adc21e3c7cea7803a920ca3773379d4f6
|
||||
PYTHON_PROTOBUF_LICENSE = BSD-3-Clause
|
||||
PYTHON_PROTOBUF_LICENSE_FILES = LICENSE
|
||||
PYTHON_PROTOBUF_DEPENDENCIES = host-protobuf
|
||||
|
||||
Reference in New Issue
Block a user