Browse Source

libprotobuf: update to 3.11.4

build-on-device
Leonid Plyushch 5 years ago
parent
commit
b1b07440ab
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 4
      packages/libprotobuf/build.sh
  2. 2
      scripts/build/setup/termux_setup_protobuf.sh

4
packages/libprotobuf/build.sh

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://github.com/google/protobuf
TERMUX_PKG_DESCRIPTION="Protocol buffers C++ library"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_VERSION=3.11.3
TERMUX_PKG_VERSION=3.11.4
TERMUX_PKG_SRCURL=https://github.com/google/protobuf/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=cf754718b0aa945b00550ed7962ddc167167bd922b842199eeb6505e6f344852
TERMUX_PKG_SHA256=a79d19dcdf9139fa4b81206e318e33d245c4c9da1ffed21c87288ed4380426f9
TERMUX_PKG_DEPENDS="libc++, zlib"
TERMUX_PKG_BREAKS="libprotobuf-dev"
TERMUX_PKG_REPLACES="libprotobuf-dev"

2
scripts/build/setup/termux_setup_protobuf.sh

@ -8,7 +8,7 @@ termux_setup_protobuf() {
termux_download \
https://github.com/protocolbuffers/protobuf/releases/download/v$_PROTOBUF_VERSION/$_PROTOBUF_ZIP \
$TERMUX_PKG_TMPDIR/$_PROTOBUF_ZIP \
39f5d64b0f31117c94651c880d0a776159e49eab42b2066229569934b936a5e7
6d0f18cd84b918c7b3edd0203e75569e0c8caecb1367bbbe409b45e28514f5be
rm -Rf "$TERMUX_PKG_TMPDIR/protoc-$_PROTOBUF_VERSION-linux-x86_64"
unzip $TERMUX_PKG_TMPDIR/$_PROTOBUF_ZIP -d $TERMUX_PKG_TMPDIR/protobuf-$_PROTOBUF_VERSION

Loading…
Cancel
Save