1 |
commit: 03457fad6d5a2df1196f5cf75d4f7740f83b9f74 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 24 14:46:24 2020 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 24 20:01:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03457fad |
7 |
|
8 |
dev-cpp/abseil-cpp: bump to 20200225.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
dev-cpp/abseil-cpp/Manifest | 1 + |
14 |
dev-cpp/abseil-cpp/abseil-cpp-20200225.2.ebuild | 46 +++++++++++++++++++++++++ |
15 |
2 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-cpp/abseil-cpp/Manifest b/dev-cpp/abseil-cpp/Manifest |
18 |
index 0a3d81df1a1..edb2239e5df 100644 |
19 |
--- a/dev-cpp/abseil-cpp/Manifest |
20 |
+++ b/dev-cpp/abseil-cpp/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST abseil-cpp-20200225.1.tar.gz 1679633 BLAKE2B a2bbbc7a94eff4b113bfb50c8a9b56b91963360ec7e40a7ebd153ba54f8f7f7a3a1495685f68f4aa34e7347e005a7b3e3713a0d2b96bbad3e076053e42de32c4 SHA512 ed4f560d02903ac2d07b2365a6865320d749f994b7dc3231b20b6d7ac1393a5970a43468edcb8369782c03bd20902cb84c43424170ecefb39ab3e8af26fd4e44 |
23 |
+DIST abseil-cpp-20200225.2.tar.gz 1679650 BLAKE2B bbadb2b86fd390f51322e687526c72a3b13caff6391974462a1146cc563616ce479330336a489a71e27b143e7cbea6695fc12c91fb721185a5116b3a6c5506b1 SHA512 75a607dee825e83c10dcd5e509515461f1b12c4aca861e4739ac4d41357b8e893dbfbe33873aa5c05463dde0891dedd7535af2ec59f173de29488e1b1321b335 |
24 |
|
25 |
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20200225.2.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20200225.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5db378ff536 |
28 |
--- /dev/null |
29 |
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20200225.2.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+ |
38 |
+inherit cmake python-any-r1 |
39 |
+ |
40 |
+DESCRIPTION="Abseil Common Libraries (C++), LTS Branch" |
41 |
+HOMEPAGE="https://abseil.io" |
42 |
+SRC_URI="https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
47 |
+IUSE="" |
48 |
+ |
49 |
+DEPEND="" |
50 |
+RDEPEND="${DEPEND}" |
51 |
+BDEPEND="${PYTHON_DEPS}" |
52 |
+ |
53 |
+# requires source of gtest and other libs |
54 |
+RESTRICT=test |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ cmake_src_prepare |
58 |
+ |
59 |
+ # un-hardcode abseil compiler flags |
60 |
+ sed -i \ |
61 |
+ -e '/"-maes",/d' \ |
62 |
+ -e '/"-msse4.1",/d' \ |
63 |
+ -e '/"-mfpu=neon"/d' \ |
64 |
+ -e '/"-march=armv8-a+crypto"/d' \ |
65 |
+ absl/copts/copts.py || die |
66 |
+ |
67 |
+ # now generate cmake files |
68 |
+ absl/copts/generate_copts.py || die |
69 |
+} |
70 |
+ |
71 |
+src_configure() { |
72 |
+ local mycmakeargs=( |
73 |
+ -DABSL_ENABLE_INSTALL=TRUE |
74 |
+ ) |
75 |
+ cmake_src_configure |
76 |
+} |