commit:     8d94f39fcaf398ef225b0a68b0c1232d0825ebed
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Sun Oct 20 05:26:52 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  5 00:39:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d94f39f

dev-cpp/gtest: add subslot

When some packages like cpp/abseil-cpp are built with USE=test, some
installed shared libraries are linked to libgtest/libgmock. And because
gtest doesn't impose a SOVERSION, it appears they would need a rebuild
with every new version of dev-cpp/gtest.

Bug: https://bugs.gentoo.org/941550
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/gtest/{gtest-1.14.0-r1.ebuild => gtest-1.14.0-r2.ebuild} | 4 ++--
 dev-cpp/gtest/{gtest-1.15.2.ebuild => gtest-1.15.2-r1.ebuild}    | 4 ++--
 dev-cpp/gtest/gtest-9999.ebuild                                  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild 
b/dev-cpp/gtest/gtest-1.14.0-r2.ebuild
similarity index 97%
rename from dev-cpp/gtest/gtest-1.14.0-r1.ebuild
rename to dev-cpp/gtest/gtest-1.14.0-r2.ebuild
index 4187a128ec02..0e994fdd33bc 100644
--- a/dev-cpp/gtest/gtest-1.14.0-r1.ebuild
+++ b/dev-cpp/gtest/gtest-1.14.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -28,7 +28,7 @@ DESCRIPTION="Google C++ Testing Framework"
 HOMEPAGE="https://github.com/google/googletest";
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
 IUSE="doc examples test"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-cpp/gtest/gtest-1.15.2.ebuild 
b/dev-cpp/gtest/gtest-1.15.2-r1.ebuild
similarity index 97%
rename from dev-cpp/gtest/gtest-1.15.2.ebuild
rename to dev-cpp/gtest/gtest-1.15.2-r1.ebuild
index f7916479456c..9772c8c9667e 100644
--- a/dev-cpp/gtest/gtest-1.15.2.ebuild
+++ b/dev-cpp/gtest/gtest-1.15.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -28,7 +28,7 @@ DESCRIPTION="Google C++ Testing Framework"
 HOMEPAGE="https://github.com/google/googletest";
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
 IUSE="abseil doc examples test"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild
index f7916479456c..9772c8c9667e 100644
--- a/dev-cpp/gtest/gtest-9999.ebuild
+++ b/dev-cpp/gtest/gtest-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -28,7 +28,7 @@ DESCRIPTION="Google C++ Testing Framework"
 HOMEPAGE="https://github.com/google/googletest";
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
 IUSE="abseil doc examples test"
 RESTRICT="!test? ( test )"
 

Reply via email to