1 |
commit: 6ddbca2126255c57f72d397a77bab1ad7cf74c8d |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 23 22:49:22 2020 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 24 02:21:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ddbca21 |
7 |
|
8 |
dev-cpp/abseil-cpp: bump to 20200923.2, add cxx17 useflag |
9 |
|
10 |
Some revdeps may require absl built with -DCMAKE_CXX_STANDARD=17 |
11 |
Normally that should not be a useflag, but we need to expose it to |
12 |
package-manager so other packages can depend on it. |
13 |
Upstream insist on using cmake for that and not proper headers... |
14 |
|
15 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
16 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
17 |
|
18 |
dev-cpp/abseil-cpp/Manifest | 2 +- |
19 |
.../{abseil-cpp-20200923.1.ebuild => abseil-cpp-20200923.2.ebuild} | 3 ++- |
20 |
dev-cpp/abseil-cpp/metadata.xml | 3 +++ |
21 |
3 files changed, 6 insertions(+), 2 deletions(-) |
22 |
|
23 |
diff --git a/dev-cpp/abseil-cpp/Manifest b/dev-cpp/abseil-cpp/Manifest |
24 |
index 5cd7b36af75..f9ff8083fe1 100644 |
25 |
--- a/dev-cpp/abseil-cpp/Manifest |
26 |
+++ b/dev-cpp/abseil-cpp/Manifest |
27 |
@@ -1,3 +1,3 @@ |
28 |
DIST abseil-cpp-20200225.2.tar.gz 1679650 BLAKE2B bbadb2b86fd390f51322e687526c72a3b13caff6391974462a1146cc563616ce479330336a489a71e27b143e7cbea6695fc12c91fb721185a5116b3a6c5506b1 SHA512 75a607dee825e83c10dcd5e509515461f1b12c4aca861e4739ac4d41357b8e893dbfbe33873aa5c05463dde0891dedd7535af2ec59f173de29488e1b1321b335 |
29 |
-DIST abseil-cpp-20200923.1.tar.gz 1783899 BLAKE2B 2f9f07bdfd5fe5b70bd470446cf00a3f6ce7790a60bf5063120fb00e78c73f19ddb7843bb57079c64a9542953b121dbac6cf0cef88617effc6e74344711142bd SHA512 1fb484f66218a2296e9f648ed98a5d09e591eb680ea1912cce44be22ea8051a0d0e27ab30f5df1ec22311c11768d4d998bbdfc62a1ef6c0088e254dd19c71f7b |
30 |
+DIST abseil-cpp-20200923.2.tar.gz 1783972 BLAKE2B 7ba01cab353de9bf34230e0efa567b1dc16680144579841a0fd127b95fb36cc8b63fc3c7da6a0a7c350c32b91955c6b6bb23a3ca52e50174a4dce5d3c1b9e936 SHA512 fdbb0f84265bc1d4f24aac0af6d0eb8cb603f801fc14d63ac1e9d3bab47703a8a2ff5f44a0a4d325819dbea50fc533d967e1bfd65004ec11ef35fadc44a2b855 |
31 |
DIST gtest-1.10.0_p20200702.tar.gz 866900 BLAKE2B c162d47868583ba270675abe5df935b8f4b9a9c00dbdc80dd88afa7f2b98266640b32b2ea5e8f9f6d6227196b5d2f79dbfda4e9585106224e814cc1503cf777d SHA512 715d887b59b47d4691c7c90ef0cf0ffc3d1e758e500263c76b50fd506e90a9d1c390af745933cfe3f55e1edac5d72dccedef3cb9a50b71a5b796424471a3017b |
32 |
|
33 |
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20200923.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20200923.2.ebuild |
34 |
similarity index 93% |
35 |
rename from dev-cpp/abseil-cpp/abseil-cpp-20200923.1.ebuild |
36 |
rename to dev-cpp/abseil-cpp/abseil-cpp-20200923.2.ebuild |
37 |
index 51528f25fff..4226c48ba11 100644 |
38 |
--- a/dev-cpp/abseil-cpp/abseil-cpp-20200923.1.ebuild |
39 |
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20200923.2.ebuild |
40 |
@@ -22,7 +22,7 @@ LICENSE=" |
41 |
" |
42 |
SLOT="0" |
43 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
44 |
-IUSE="test" |
45 |
+IUSE="cxx17 test" |
46 |
|
47 |
DEPEND="" |
48 |
RDEPEND="${DEPEND}" |
49 |
@@ -57,6 +57,7 @@ src_configure() { |
50 |
-DABSL_ENABLE_INSTALL=TRUE |
51 |
-DABSL_LOCAL_GOOGLETEST_DIR="${WORKDIR}/googletest-${GTEST_COMMIT}" |
52 |
-DABSL_RUN_TESTS=$(usex test) |
53 |
+ $(usex cxx17 -DCMAKE_CXX_STANDARD=17 '') # it has to be a useflag for some consumers |
54 |
$(usex test -DBUILD_TESTING=ON '') #intentional usex |
55 |
) |
56 |
cmake_src_configure |
57 |
|
58 |
diff --git a/dev-cpp/abseil-cpp/metadata.xml b/dev-cpp/abseil-cpp/metadata.xml |
59 |
index efcd58fe0b9..f73fb9254b8 100644 |
60 |
--- a/dev-cpp/abseil-cpp/metadata.xml |
61 |
+++ b/dev-cpp/abseil-cpp/metadata.xml |
62 |
@@ -5,4 +5,7 @@ |
63 |
<email>gyakovlev@g.o</email> |
64 |
<name>Georgy Yakovlev</name> |
65 |
</maintainer> |
66 |
+ <use> |
67 |
+ <flag name="cxx17">Build with -DCMAKE_CXX_STANDARD=17 (required by some revdeps)</flag> |
68 |
+ </use> |
69 |
</pkgmetadata> |