Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 19 additions & 11 deletions protobuf.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: protobuf
version: 3.21.12
version: 3.24.0
epoch: 0
description: Library for extensible, efficient structure packing
copyright:
Expand All @@ -16,22 +16,30 @@ environment:
- autoconf
- zlib-dev
- libtool
- cmake
- samurai
- git

pipeline:
- uses: fetch
- uses: git-checkout
with:
expected-sha256: 930c2c3b5ecc6c9c12615cf5ad93f1cd6e12d0aba862b572e076259970ac3a53
uri: https://github.com/protocolbuffers/protobuf/archive/v${{package.version}}.tar.gz
repository: https://github.com/protocolbuffers/protobuf
tag: v${{package.version}}
expected-commit: 093e258a71caacc053cf5ce86977ba3131361a9a

- runs: |
./autogen.sh
# rm -rf third_party/googletest
cd third_party
git submodule update --init --recursive

- uses: autoconf/configure

- uses: autoconf/make

- uses: autoconf/make-install
- runs: |
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-Dprotobuf_BUILD_TESTS=OFF
ninja -C build
DESTDIR=${{targets.destdir}} ninja -C build install

- uses: strip

Expand Down