diff options
Diffstat (limited to 'dev-libs/flatbuffers')
-rw-r--r-- | dev-libs/flatbuffers/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/flatbuffers/flatbuffers-1.8.0.ebuild | 27 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest index 5952f4f2dc4c..c8244bc63be9 100644 --- a/dev-libs/flatbuffers/Manifest +++ b/dev-libs/flatbuffers/Manifest @@ -1,3 +1,5 @@ DIST flatbuffers-1.7.1.tar.gz 475449 BLAKE2B eb5030cb899e579d7e875cb934c691af2711628c91f398407babb92c9c0e68aaf399d9c15d3ae0a229516fb438eb3332ded576c3ffb07a906a063b80d4dcf1fc SHA512 57732fc352c216c4be6d3237f93b872abf9dd2b62361d7d2856f99804a178760e4665ead2e33d5acdd00984ad03a746f581c9784ece583e1b2df1a10776f967a +DIST flatbuffers-1.8.0.tar.gz 616362 BLAKE2B 545b568fbc1671005c351ba255f9dc2b5f97b618eae13bc74b717d1e08875e465a0afd3965b35ec8243c1dc80223fdab7f15abbfb4196a129700e4a1532a8965 SHA512 8f6c84caa6456418fc751ea9de456dd37378b3239d1a41d2205140e7b19a5b8b2e342a22dc8d7fdd0c36878455e9d7401cc6438d3b771f7875e8fcfe7bbd52f1 EBUILD flatbuffers-1.7.1.ebuild 757 BLAKE2B fffd60fe03499cf34b4827db34382fb3257676a1b29e1f675a006771dda2bae56c86370f0e10b113035868a2349e2609e10e82c949545a9da5580fe30825605f SHA512 a501a99c56475eba20f9d726ce4215ae61f1165b5185fde26461757ae0a77c6fafd73e51b6e59db2a3746f972a8a81ff3cc8256384d50f52d3825198b72869c2 +EBUILD flatbuffers-1.8.0.ebuild 632 BLAKE2B 7bc57afcf6aadcf6e36dd6368561ddf88a2d5c5b132a9a8c9f01219f80217737e5b05997004e2b4d098660c922518d27af445aea663b293f9f38447089e50cd5 SHA512 8db440b05ecc3c1dfc9264ab73d58ed3aedbda8f28c87231c40549811b58e8295cc23a175ff53e5236656fad52e3ae68a67334494b800396ba633793f05b13fe MISC metadata.xml 332 BLAKE2B db6517401d85991288145c5665477a48e6d546a522dccdae0856f127b273879965de38cbc17e054e99387c96da859b89cbd0d6bbd357e9388c15a43b708a7589 SHA512 c30e9735c09dc9df55b25e8943fb2bf4b9b780b396bd82ccdc9ae45c22940599ea38d4bf7a000721e3a0d9b84955fee047a545ce23f3c4c919b349f437182719 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 +} |