commit:     6d231d90376246566071cd3bd91ada45d8f57abc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 13 11:49:50 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 17:29:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d231d90

dev-libs/protobuf: add 21.12

Bug: https://bugs.gentoo.org/909081
Closes: https://bugs.gentoo.org/906811
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/protobuf/Manifest                                        | 1 +
 dev-libs/protobuf/{protobuf-23.3.ebuild => protobuf-21.12.ebuild} | 4 +---
 dev-libs/protobuf/protobuf-23.3.ebuild                            | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 54444c1352c6..20e1338a9868 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -1,2 +1,3 @@
+DIST protobuf-21.12.tar.gz 5141166 BLAKE2B 
33500612d103afb817062486a741e8e5503f82c42c70054d47d1899e6bb79f3fdde2666cad5b8eff6e1bc539c3b0cdf9f2b125ce7e5d3a459a69e84d67ab535e
 SHA512 
2dc8f552388438268d8b9f7a9e84c6abf1736be3d5031438c789c317410c9f4b5cedd25bf7da6d67b3ba32ca890869f9ddaab2284d6ac0e734a5b135ffbb1346
 DIST protobuf-21.9.tar.gz 5110670 BLAKE2B 
a4f5b7f58e1c5904ca990b100a72992f6f56177b28773f8de8c99e4158391d33cfb8aa8575915887fc9ae4294faf81d4ff6b470bc07b394bfd5885a09ba0fafe
 SHA512 
6954b42d21921e630173b7848c056ab95635627d8eddec960f3db2ddda13eedde00520a9b350722e76e2998649eb8ebe10758e1db938b6a91e38ff3295b1b7c1
 DIST protobuf-23.3.tar.gz 5043803 BLAKE2B 
ee2edee230969555c9ef95069c7b1d6c23c3d1f8ea1b2249fb3e9f6fcf63312c6e10e9da65b80629fb08d5fb08d05a19bb9c752c25b892c1e3fd6f18b9279eb3
 SHA512 
646af367dbc61b42e322cf0b335f360e428b272e2b1f5361b2f17c18d3dc9dddd615e1279436028b1a42275a0beadda37c2c934fc27d6c892131cc8d526d8b3b

diff --git a/dev-libs/protobuf/protobuf-23.3.ebuild 
b/dev-libs/protobuf/protobuf-21.12.ebuild
similarity index 96%
copy from dev-libs/protobuf/protobuf-23.3.ebuild
copy to dev-libs/protobuf/protobuf-21.12.ebuild
index d4664ca777c0..6fe34f584e4c 100644
--- a/dev-libs/protobuf/protobuf-23.3.ebuild
+++ b/dev-libs/protobuf/protobuf-21.12.ebuild
@@ -19,13 +19,12 @@ DESCRIPTION="Google's Protocol Buffers - Extensible 
mechanism for serializing st
 HOMEPAGE="https://protobuf.dev/";
 
 LICENSE="BSD"
-SLOT="0/$(ver_cut 1-2)"
+SLOT="0/3.$(ver_cut 1-2).0"
 IUSE="emacs examples test zlib"
 RESTRICT="!test? ( test )"
 
 BDEPEND="emacs? ( app-editors/emacs:* )"
 DEPEND="
-       dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]
        zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
        test? ( >=dev-cpp/gtest-1.9[${MULTILIB_USEDEP}] )
 "
@@ -56,7 +55,6 @@ multilib_src_configure() {
                -Dprotobuf_BUILD_EXAMPLES=$(usex examples)
                -Dprotobuf_WITH_ZLIB=$(usex zlib)
                -Dprotobuf_BUILD_TESTS=$(usex test)
-               -Dprotobuf_ABSL_PROVIDER=package
        )
        use test && mycmakeargs+=(-Dprotobuf_USE_EXTERNAL_GTEST=ON)
 

diff --git a/dev-libs/protobuf/protobuf-23.3.ebuild 
b/dev-libs/protobuf/protobuf-23.3.ebuild
index d4664ca777c0..1f8c83bb436e 100644
--- a/dev-libs/protobuf/protobuf-23.3.ebuild
+++ b/dev-libs/protobuf/protobuf-23.3.ebuild
@@ -19,7 +19,7 @@ DESCRIPTION="Google's Protocol Buffers - Extensible mechanism 
for serializing st
 HOMEPAGE="https://protobuf.dev/";
 
 LICENSE="BSD"
-SLOT="0/$(ver_cut 1-2)"
+SLOT="0/$(ver_cut 1-2).0"
 IUSE="emacs examples test zlib"
 RESTRICT="!test? ( test )"
 

Reply via email to