diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-05-27 07:24:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-05-27 07:32:53 +0200 |
commit | b433ba8d9a0532560dc7b7de3376dd0317e2c21b (patch) | |
tree | d141553607a337408ef6398ca3f78ced53c74126 /dev-libs/flatbuffers | |
parent | dev-python/pyzmq: Use PEP517 build (diff) | |
download | gentoo-b433ba8d9a0532560dc7b7de3376dd0317e2c21b.tar.gz gentoo-b433ba8d9a0532560dc7b7de3376dd0317e2c21b.tar.bz2 gentoo-b433ba8d9a0532560dc7b7de3376dd0317e2c21b.zip |
dev-libs/flatbuffers: Bump to 23.5.26
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/flatbuffers')
-rw-r--r-- | dev-libs/flatbuffers/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/flatbuffers/flatbuffers-23.5.26.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest index ad0423302a49..939cb14a6d29 100644 --- a/dev-libs/flatbuffers/Manifest +++ b/dev-libs/flatbuffers/Manifest @@ -1 +1,2 @@ DIST flatbuffers-23.3.3.gh.tar.gz 2197401 BLAKE2B be5e3c8ea81ce4b6f2e2c1b2f22e1172434c435f096fa7dade060578c506cff0310e3e2ef0627e26ce2be44f740652eb9a8e1b63578c18f430f7925820f04e66 SHA512 4066c94f2473c7ea16917d29a613e16f840a329089c88e0bdbdb999aef3442ba00abfd2aa92266fa9c067e399dc88e6f0ccac40dc151378857e665638e78bbf0 +DIST flatbuffers-23.5.26.gh.tar.gz 2257271 BLAKE2B 147425e7c018072f4ae4cdb3e034a4f434362d88d5e27b09375965993c279acfbed36064014c8f4fbe3fb81175ac0aa9b07629675e2c7ad33d59a9c85f2c3bb8 SHA512 cd0a5efad8016e1217d01a181d6b02e546f5693c6412361bfeaee820d5dfe5e2a424cee1963270e851c1a4f936ae8a0032a51c5bb16ee19313e0ecc77dc4ba31 diff --git a/dev-libs/flatbuffers/flatbuffers-23.5.26.ebuild b/dev-libs/flatbuffers/flatbuffers-23.5.26.ebuild new file mode 100644 index 000000000000..c8139e30f141 --- /dev/null +++ b/dev-libs/flatbuffers/flatbuffers-23.5.26.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Memory efficient serialization library" +HOMEPAGE=" + https://flatbuffers.dev/ + https://github.com/google/flatbuffers/ +" +SRC_URI=" + https://github.com/google/flatbuffers/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DFLATBUFFERS_BUILD_FLATLIB=$(usex static-libs) + -DFLATBUFFERS_BUILD_SHAREDLIB=ON + -DFLATBUFFERS_BUILD_TESTS=$(usex test) + -DFLATBUFFERS_BUILD_BENCHMARKS=OFF + ) + + cmake_src_configure +} |