diff options
author | Michael Seifert <m.seifert@digitalernachschub.de> | 2018-10-04 18:19:45 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-04 21:11:50 +0200 |
commit | cebf7cb1c8872ee9f71e901779e2f7e717300773 (patch) | |
tree | 280070e566ad24c28644c1a76332e5099894844f | |
parent | dev-python/ebuildtester: Version bump to v0.1.13 (diff) | |
download | gentoo-cebf7cb1c8872ee9f71e901779e2f7e717300773.tar.gz gentoo-cebf7cb1c8872ee9f71e901779e2f7e717300773.tar.bz2 gentoo-cebf7cb1c8872ee9f71e901779e2f7e717300773.zip |
dev-libs/flatbuffers: Version bump to v1.10.0
Bug: https://bugs.gentoo.org/667742
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Closes: https://github.com/gentoo/gentoo/pull/10061
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | dev-libs/flatbuffers/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/flatbuffers/flatbuffers-1.10.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest index afb5c9cf8ea2..42ce79e30255 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 000000000000..5aee3963ad99 --- /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 +} |