diff options
author | Michael Palimaka <kensington@gentoo.org> | 2018-08-10 23:00:16 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-08-10 23:00:46 +1000 |
commit | 3eaac187d302819b6c54ee8d9bffb9243968e086 (patch) | |
tree | eb683b8e879b618742c1cb322083691a81520cba /dev-libs/flatbuffers | |
parent | media-libs/libdmtx: version bump 0.7.5 (diff) | |
download | gentoo-3eaac187d302819b6c54ee8d9bffb9243968e086.tar.gz gentoo-3eaac187d302819b6c54ee8d9bffb9243968e086.tar.bz2 gentoo-3eaac187d302819b6c54ee8d9bffb9243968e086.zip |
dev-libs/flatbuffers: version bump 1.9.0
Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'dev-libs/flatbuffers')
-rw-r--r-- | dev-libs/flatbuffers/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/flatbuffers/flatbuffers-1.9.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest index 89c9c02693ea..afb5c9cf8ea2 100644 --- a/dev-libs/flatbuffers/Manifest +++ b/dev-libs/flatbuffers/Manifest @@ -1 +1,2 @@ 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.9.0.ebuild b/dev-libs/flatbuffers/flatbuffers-1.9.0.ebuild new file mode 100644 index 000000000000..4a387f3894c1 --- /dev/null +++ b/dev-libs/flatbuffers/flatbuffers-1.9.0.ebuild @@ -0,0 +1,32 @@ +# 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 +} + +src_install() { + cmake-utils_src_install + dobin "${CMAKE_BUILD_DIR}"/flatc +} |