pkgbase = protobuf
	pkgdesc = Protocol Buffers - Google's data interchange format
	pkgver = 28.1
	pkgrel = 1
	url = https://developers.google.com/protocol-buffers/
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = BSD-3-Clause
	checkdepends = python-pytest
	checkdepends = python-numpy
	makedepends = bazel
	makedepends = cmake
	makedepends = gtest
	makedepends = python-build
	makedepends = python-installer
	makedepends = python-setuptools
	makedepends = python-wheel
	makedepends = ruby
	makedepends = ruby-rake
	makedepends = ruby-rake-compiler
	depends = gcc-libs
	depends = glibc
	depends = zlib
	depends = abseil-cpp
	options = !lto
	source = https://github.com/protocolbuffers/protobuf/archive/v28.1/protobuf-28.1.tar.gz
	source = protobuf-fix-build-type-none.patch
	source = protobuf-25.3-ruby-disable-LTO.patch
	sha512sums = 769ef61206e39336d93df786a25c08cdf1acb12f2f5818ae31afb268aad8b02076eeba15c41c68aadbf140c6e1653c0aaefc2a637278c7695ded1b5d72888d81
	sha512sums = 18bc71031bbcbc3810a9985fa670465040f06a6c104ab8079b56bdfc499bb6cec40805a0cefd455031142490a576dc60aa8000523877ac0353b93558e9beabbd
	sha512sums = 1ebdea4e533ee0f71baf1b3fe2623ca723b36a08c6b97475ea5996b10aeb6873cf94d9120596ddd1216bd2f6feb991f8c33078e8104008a5078ace5be5431efd

pkgname = protobuf
	provides = libprotoc.so
	provides = libprotobuf.so
	provides = libprotobuf-lite.so
	replaces = protobuf-cpp

pkgname = python-protobuf
	pkgdesc = Python 3 bindings for Google Protocol Buffers
	depends = protobuf=28.1
	depends = python

pkgname = ruby-google-protobuf
	pkgdesc = Ruby bindings for Google Protocol Buffers
	depends = ruby
