Browse Source

libprotobuf: update to 3.11.2

emacs-27
Leonid Plyushch 5 years ago
parent
commit
d2c81e2d3a
  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.1
TERMUX_PKG_VERSION=3.11.2
TERMUX_PKG_SRCURL=https://github.com/google/protobuf/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=4f8e805825c53bbc3c9f6b6abc009b5b5679e4702bccfca1121c42ff5ec801c7
TERMUX_PKG_SHA256=e8c7601439dbd4489fe5069c33d374804990a56c2f710e00227ee5d8fd650e67
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 \
1102323cdaacd589e50b8b7770595f220f54d18a1d76ee3c445198f80ab865b8
c0c666fb679a8221bed01bffeed1f80727c6c7827d0cbd8f162195efb12df9e0
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