diff options
author | Michael Palimaka <kensington@gentoo.org> | 2018-01-12 20:16:30 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-01-12 20:17:06 +1100 |
commit | 7707dd6627a8ba2df364570831f1fce1fd4a3634 (patch) | |
tree | 4802c896ef1dfb5392cb88ed0cfb0c1bc5e4c573 /dev-libs/flatbuffers | |
parent | kde-misc/basket: remove dead homepage (diff) | |
download | gentoo-7707dd6627a8ba2df364570831f1fce1fd4a3634.tar.gz gentoo-7707dd6627a8ba2df364570831f1fce1fd4a3634.tar.bz2 gentoo-7707dd6627a8ba2df364570831f1fce1fd4a3634.zip |
dev-libs/flatbuffers: version bump 1.8.0
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'dev-libs/flatbuffers')
-rw-r--r-- | dev-libs/flatbuffers/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/flatbuffers/flatbuffers-1.8.0.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest index e6f058b45bb6..8f4f53e69fca 100644 --- a/dev-libs/flatbuffers/Manifest +++ b/dev-libs/flatbuffers/Manifest @@ -1 +1,2 @@ DIST flatbuffers-1.7.1.tar.gz 475449 BLAKE2B eb5030cb899e579d7e875cb934c691af2711628c91f398407babb92c9c0e68aaf399d9c15d3ae0a229516fb438eb3332ded576c3ffb07a906a063b80d4dcf1fc SHA512 57732fc352c216c4be6d3237f93b872abf9dd2b62361d7d2856f99804a178760e4665ead2e33d5acdd00984ad03a746f581c9784ece583e1b2df1a10776f967a +DIST flatbuffers-1.8.0.tar.gz 616362 BLAKE2B 545b568fbc1671005c351ba255f9dc2b5f97b618eae13bc74b717d1e08875e465a0afd3965b35ec8243c1dc80223fdab7f15abbfb4196a129700e4a1532a8965 SHA512 8f6c84caa6456418fc751ea9de456dd37378b3239d1a41d2205140e7b19a5b8b2e342a22dc8d7fdd0c36878455e9d7401cc6438d3b771f7875e8fcfe7bbd52f1 diff --git a/dev-libs/flatbuffers/flatbuffers-1.8.0.ebuild b/dev-libs/flatbuffers/flatbuffers-1.8.0.ebuild new file mode 100644 index 000000000000..f5dd8c45be0b --- /dev/null +++ b/dev-libs/flatbuffers/flatbuffers-1.8.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 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_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 +} |