From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 77A8D139695 for ; Sat, 29 Jul 2017 03:42:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C30571FC0D5; Sat, 29 Jul 2017 03:42:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 9E5BE1FC0C0 for ; Sat, 29 Jul 2017 03:42:47 +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 7E017341A5B for ; Sat, 29 Jul 2017 03:42:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB00C74BB for ; Sat, 29 Jul 2017 03:42:44 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1501299755.0c24b5e4bd0c84f038d6fd2b94e65b46afd82947.kensington@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.7.1.ebuild X-VCS-Directories: dev-libs/flatbuffers/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 0c24b5e4bd0c84f038d6fd2b94e65b46afd82947 X-VCS-Branch: master Date: Sat, 29 Jul 2017 03:42:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 784fe73b-2530-4475-b59d-c8af161cf4c9 X-Archives-Hash: cafd5ec30d7e00302ae0543e5b184f6c commit: 0c24b5e4bd0c84f038d6fd2b94e65b46afd82947 Author: Michael Palimaka gentoo org> AuthorDate: Sat Jul 29 03:39:44 2017 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Sat Jul 29 03:42:35 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c24b5e4 dev-libs/flatbuffers: version bump 1.7.1 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-libs/flatbuffers/Manifest | 1 + dev-libs/flatbuffers/flatbuffers-1.7.1.ebuild | 33 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest index 0640c010d59..b3af42e7858 100644 --- a/dev-libs/flatbuffers/Manifest +++ b/dev-libs/flatbuffers/Manifest @@ -1 +1,2 @@ DIST flatbuffers-1.6.0.tar.gz 440968 SHA256 768c50ebf5823f8cde81a9e38ffff115c8f5a5d031a37520d0024e7b9c6cd22e SHA512 d1e4d47cac663010eda58ca801e6da5e9d54104115dbb70b125b9251041611229e39c17a4b63f06eee2424f3cdd733b8efa49c723759ad533a07d33ef8406bcc WHIRLPOOL 1572de7bf181d00bbdf68d27b6ce369693f7eeb4a27aa56adfd9eb46554c520d0a66350eb2db071c5b4a8fb00b2bf67cb06732a2c7d1e716d2347ea72a4882a0 +DIST flatbuffers-1.7.1.tar.gz 475449 SHA256 0f8dcdcfbbaba034756f97e4f9946a3784399b578f1b60c8deee3c85fafa3089 SHA512 57732fc352c216c4be6d3237f93b872abf9dd2b62361d7d2856f99804a178760e4665ead2e33d5acdd00984ad03a746f581c9784ece583e1b2df1a10776f967a WHIRLPOOL 8a86ca1a5d0af6b0a637e1716cf32e8a7784b45d22ddaaf76fce5189c8a67dcbac74eb9d7e852c79d3f4c47543a95bb1765e5a297c5025b0a1ac0e3fae9a76da diff --git a/dev-libs/flatbuffers/flatbuffers-1.7.1.ebuild b/dev-libs/flatbuffers/flatbuffers-1.7.1.ebuild new file mode 100644 index 00000000000..80004da2362 --- /dev/null +++ b/dev-libs/flatbuffers/flatbuffers-1.7.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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_prepare() { + sed -i -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" CMakeLists.txt || die + + cmake-utils_src_prepare +} + +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 +}