From 8d94f39fcaf398ef225b0a68b0c1232d0825ebed Mon Sep 17 00:00:00 2001 From: Peter Levine Date: Sun, 20 Oct 2024 01:26:52 -0400 Subject: [PATCH] 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 Signed-off-by: Paul Zander Signed-off-by: Sam James --- .../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(-) rename dev-cpp/gtest/{gtest-1.14.0-r1.ebuild => gtest-1.14.0-r2.ebuild} (97%) rename dev-cpp/gtest/{gtest-1.15.2.ebuild => gtest-1.15.2-r1.ebuild} (97%) 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 4187a128ec02f..0e994fdd33bc3 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 f7916479456c8..9772c8c9667ed 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 f7916479456c8..9772c8c9667ed 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 )"