From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1050261-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 D394D138334
	for <garchives@archives.gentoo.org>; Thu,  4 Oct 2018 19:14:35 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8789AE08EC;
	Thu,  4 Oct 2018 19:14:34 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 3BDA4E08E8
	for <gentoo-commits@lists.gentoo.org>; Thu,  4 Oct 2018 19:14:34 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 8DBAC335C38
	for <gentoo-commits@lists.gentoo.org>; Thu,  4 Oct 2018 19:14:32 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D3EAC3FB
	for <gentoo-commits@lists.gentoo.org>; Thu,  4 Oct 2018 19:14:30 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@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, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1538680310.cebf7cb1c8872ee9f71e901779e2f7e717300773.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/flatbuffers/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/flatbuffers/Manifest dev-libs/flatbuffers/flatbuffers-1.10.0.ebuild
X-VCS-Directories: dev-libs/flatbuffers/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: cebf7cb1c8872ee9f71e901779e2f7e717300773
X-VCS-Branch: master
Date: Thu,  4 Oct 2018 19:14:30 +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-Archives-Salt: c6c7e45b-c08c-4de5-ad80-ef1f53601b97
X-Archives-Hash: 64520cfb8642406b2eb859156100809c

commit:     cebf7cb1c8872ee9f71e901779e2f7e717300773
Author:     Michael Seifert <m.seifert <AT> digitalernachschub <DOT> de>
AuthorDate: Thu Oct  4 16:19:45 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Oct  4 19:11:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebf7cb1

dev-libs/flatbuffers: Version bump to v1.10.0

Bug: https://bugs.gentoo.org/667742

Signed-off-by: Michael Seifert <m.seifert <AT> digitalernachschub.de>
Closes: https://github.com/gentoo/gentoo/pull/10061
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/flatbuffers/Manifest                  |  1 +
 dev-libs/flatbuffers/flatbuffers-1.10.0.ebuild | 32 ++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest
index afb5c9cf8ea..42ce79e3025 100644
--- a/dev-libs/flatbuffers/Manifest
+++ b/dev-libs/flatbuffers/Manifest
@@ -1,2 +1,3 @@
+DIST flatbuffers-1.10.0.tar.gz 817750 BLAKE2B 1896b01afbdb8527836fa684980169890b1d5f1213d64cc88310f819c5fe7bc2a7e0a87e1abc2565ca165a0406dee9c814af382d2c8f08718ae5d9173530f98a SHA512 b8382c8e9a45d6aca83270e93704b9ef2938e4ef9bb5165edbd8f286329e86353037ad6e54a99fd3d70b0c893d06cfd8766e00f05497e69be4b9e6c0506133d2
 DIST flatbuffers-1.8.0.tar.gz 616362 BLAKE2B 545b568fbc1671005c351ba255f9dc2b5f97b618eae13bc74b717d1e08875e465a0afd3965b35ec8243c1dc80223fdab7f15abbfb4196a129700e4a1532a8965 SHA512 8f6c84caa6456418fc751ea9de456dd37378b3239d1a41d2205140e7b19a5b8b2e342a22dc8d7fdd0c36878455e9d7401cc6438d3b771f7875e8fcfe7bbd52f1
 DIST flatbuffers-1.9.0.tar.gz 681752 BLAKE2B 7886895f79ad5b8b62c4acb479d60a6fe16226a1a9daadf2c457189b7a3381676ba9dd3f8e2af5ebd5f2d78c6ac37d9d83de88ee08b566fd4e4507ecdb887938 SHA512 0ba07dbe5b2fde1d0a6e14ee26ee2816062541d934eda204b846a30c019362f2626761b628c900293928b9b546dba8ca477c13182e022c3e0e0a142fd67f0696

diff --git a/dev-libs/flatbuffers/flatbuffers-1.10.0.ebuild b/dev-libs/flatbuffers/flatbuffers-1.10.0.ebuild
new file mode 100644
index 00000000000..5aee3963ad9
--- /dev/null
+++ b/dev-libs/flatbuffers/flatbuffers-1.10.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils flag-o-matic
+
+DESCRIPTION="Memory efficient serialization library"
+HOMEPAGE="https://google.github.io/flatbuffers/"
+SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs test"
+
+src_configure() {
+	append-cppflags -std=c++11
+
+	local mycmakeargs=(
+		-DFLATBUFFERS_BUILD_FLATLIB=$(usex static-libs)
+		-DFLATBUFFERS_BUILD_SHAREDLIB=ON
+		-DFLATBUFFERS_BUILD_TESTS=$(usex test)
+	)
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+	dobin "${CMAKE_BUILD_DIR}"/flatc
+}