diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-19 16:08:41 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-19 16:42:46 +0100 |
commit | 0e9d546e388cf1f504a6f1a966551a917ee32329 (patch) | |
tree | 68fa915ebb8683913222766547605f3a7fec9350 /dev-libs/flatbuffers | |
parent | dev-libs/libzip: Drop 1.6.1 (r0) (diff) | |
download | gentoo-0e9d546e388cf1f504a6f1a966551a917ee32329.tar.gz gentoo-0e9d546e388cf1f504a6f1a966551a917ee32329.tar.bz2 gentoo-0e9d546e388cf1f504a6f1a966551a917ee32329.zip |
dev-libs/flatbuffers: 1.12.0 version bump
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/flatbuffers')
-rw-r--r-- | dev-libs/flatbuffers/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/flatbuffers/flatbuffers-1.12.0.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest index 7d47aaf0e93f..07e8576fac8c 100644 --- a/dev-libs/flatbuffers/Manifest +++ b/dev-libs/flatbuffers/Manifest @@ -1 +1,2 @@ DIST flatbuffers-1.11.0.tar.gz 894944 BLAKE2B 8eee7165f2dfbed6ee0b0cfbec0df995bc6e8a19600ad42ac70788714635ba90d72f2dc24d0e1edd5ac6a1cf6148948f625245d3079e75861d29117f6fcf34fd SHA512 cbb2e1e6885255cc950e2fa8248b56a8bc2c6e52f6fc7ed9066e6ae5a1d53f1263594b83f4b944a672cf9d0e1e800e51ce7fa423eff45abf5056269879c286fe +DIST flatbuffers-1.12.0.tar.gz 1145348 BLAKE2B 441123be124ad851efa30bda0d828a764ebaf79ba6692a6e5904000b33818e9de78c3a964037ac93ef562890980c58169141e55354dce86857c02bcd917150d6 SHA512 8a0b88d739fa4694a69d3630140fe89fdd70d50bba4dadd1758d9aa2920cda16700bcafb8d89fe2a09ac907d3f378240c3cb4abc7106318136799836aba4b063 diff --git a/dev-libs/flatbuffers/flatbuffers-1.12.0.ebuild b/dev-libs/flatbuffers/flatbuffers-1.12.0.ebuild new file mode 100644 index 000000000000..d501c19113cc --- /dev/null +++ b/dev-libs/flatbuffers/flatbuffers-1.12.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +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 ~x86" +IUSE="static-libs test" + +RESTRICT="!test? ( test )" + +DOCS=( readme.md ) + +src_configure() { + local mycmakeargs=( + -DFLATBUFFERS_BUILD_FLATLIB=$(usex static-libs) + -DFLATBUFFERS_BUILD_SHAREDLIB=ON + -DFLATBUFFERS_BUILD_TESTS=$(usex test) + ) + + use elibc_musl && mycmakeargs+=( -DFLATBUFFERS_LOCALE_INDEPENDENT=0 ) + + cmake_src_configure +} |