From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1163348-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 33916138350
	for <garchives@archives.gentoo.org>; Mon, 20 Apr 2020 07:28:26 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4E805E0A6E;
	Mon, 20 Apr 2020 07:28:25 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1E447E0A5C
	for <gentoo-commits@lists.gentoo.org>; Mon, 20 Apr 2020 07:28:25 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0EF2834EF94
	for <gentoo-commits@lists.gentoo.org>; Mon, 20 Apr 2020 07:28:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DBE7154
	for <gentoo-commits@lists.gentoo.org>; Mon, 20 Apr 2020 07:28:21 +0000 (UTC)
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" <gyakovlev@gentoo.org>
Message-ID: <1587367529.1f847f65dfd69e7acabf03884b0b122ac6f8378f.gyakovlev@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/abseil-cpp/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-cpp/abseil-cpp/Manifest dev-cpp/abseil-cpp/abseil-cpp-20200225.1.ebuild dev-cpp/abseil-cpp/metadata.xml
X-VCS-Directories: dev-cpp/abseil-cpp/
X-VCS-Committer: gyakovlev
X-VCS-Committer-Name: Georgy Yakovlev
X-VCS-Revision: 1f847f65dfd69e7acabf03884b0b122ac6f8378f
X-VCS-Branch: master
Date: Mon, 20 Apr 2020 07:28:21 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 07571815-de75-4d2b-b79e-41e482de6c12
X-Archives-Hash: 53dfb6e4f5339bdf5ce67f07ada95392

commit:     1f847f65dfd69e7acabf03884b0b122ac6f8378f
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 20 07:10:12 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Apr 20 07:25:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f847f65

dev-cpp/abseil-cpp: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-cpp/abseil-cpp/Manifest                     |  1 +
 dev-cpp/abseil-cpp/abseil-cpp-20200225.1.ebuild | 43 +++++++++++++++++++++++++
 dev-cpp/abseil-cpp/metadata.xml                 |  8 +++++
 3 files changed, 52 insertions(+)

diff --git a/dev-cpp/abseil-cpp/Manifest b/dev-cpp/abseil-cpp/Manifest
new file mode 100644
index 00000000000..0a3d81df1a1
--- /dev/null
+++ b/dev-cpp/abseil-cpp/Manifest
@@ -0,0 +1 @@
+DIST abseil-cpp-20200225.1.tar.gz 1679633 BLAKE2B a2bbbc7a94eff4b113bfb50c8a9b56b91963360ec7e40a7ebd153ba54f8f7f7a3a1495685f68f4aa34e7347e005a7b3e3713a0d2b96bbad3e076053e42de32c4 SHA512 ed4f560d02903ac2d07b2365a6865320d749f994b7dc3231b20b6d7ac1393a5970a43468edcb8369782c03bd20902cb84c43424170ecefb39ab3e8af26fd4e44

diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20200225.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20200225.1.ebuild
new file mode 100644
index 00000000000..6fac8bb9445
--- /dev/null
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20200225.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake python-any-r1
+
+DESCRIPTION="Abseil Common Libraries (C++), LTS Branch"
+HOMEPAGE="https://abseil.io"
+SRC_URI="https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+	cmake_src_prepare
+
+	# un-hardcode abseil compiler flags
+	sed -i \
+		-e '/"-maes",/d' \
+		-e '/"-msse4.1",/d' \
+		-e '/"-mfpu=neon"/d' \
+		-e '/"-march=armv8-a+crypto"/d' \
+		absl/copts/copts.py || die
+
+		# now generate cmake files
+		absl/copts/generate_copts.py || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DABSL_ENABLE_INSTALL=TRUE
+	)
+	cmake_src_configure
+}

diff --git a/dev-cpp/abseil-cpp/metadata.xml b/dev-cpp/abseil-cpp/metadata.xml
new file mode 100644
index 00000000000..efcd58fe0b9
--- /dev/null
+++ b/dev-cpp/abseil-cpp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gyakovlev@gentoo.org</email>
+		<name>Georgy Yakovlev</name>
+	</maintainer>
+</pkgmetadata>