From 4c2550584e9a915641715a275a63a0b6404f42ef Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 7 Mar 2024 16:22:45 +0100 Subject: dev-libs/flatbuffers: Bump to 24.3.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-libs/flatbuffers/Manifest | 1 + dev-libs/flatbuffers/flatbuffers-24.3.6.ebuild | 33 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-libs/flatbuffers/flatbuffers-24.3.6.ebuild (limited to 'dev-libs') diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest index 16918eaf4e7a..df7a4cf841f8 100644 --- a/dev-libs/flatbuffers/Manifest +++ b/dev-libs/flatbuffers/Manifest @@ -1,2 +1,3 @@ DIST flatbuffers-23.1.21.gh.tar.gz 2181861 BLAKE2B 6368358c21e677feb466245a746b86cebb6d6a4058bb6d593de81bf3c32ddfb9fd475e4bb225d4529ea106253456a5ed1ee6d024b1e2521e02efef171750f428 SHA512 fa62188f773ad044644a58caf1e25bef417dfdea47c9da8a2ea7f997154b4f3976019e32e73cc533696a3d4e45ec4a8402b6df140878dfa2ff078740d61b4b0f DIST flatbuffers-23.5.26.gh.tar.gz 2257271 BLAKE2B 147425e7c018072f4ae4cdb3e034a4f434362d88d5e27b09375965993c279acfbed36064014c8f4fbe3fb81175ac0aa9b07629675e2c7ad33d59a9c85f2c3bb8 SHA512 cd0a5efad8016e1217d01a181d6b02e546f5693c6412361bfeaee820d5dfe5e2a424cee1963270e851c1a4f936ae8a0032a51c5bb16ee19313e0ecc77dc4ba31 +DIST flatbuffers-24.3.6.gh.tar.gz 2296876 BLAKE2B 2a9233c5256c16a494a850999565ee7b7fe6a032794770f7a9cb47e43d1abf8335f08f1ec2e94cb3fdb06d452bcb46c4b7f98519a7d52d2479891d50beeaf3c3 SHA512 2b0a97ee3ff0236b38dac9edbe4d984ae32c0a89436fd043b831e27c947782c704937afd44216ac1f7bdb7ad003f09bc381b1567e4866462fd3c9d6c7ab272e1 diff --git a/dev-libs/flatbuffers/flatbuffers-24.3.6.ebuild b/dev-libs/flatbuffers/flatbuffers-24.3.6.ebuild new file mode 100644 index 000000000000..c03ba67b3e92 --- /dev/null +++ b/dev-libs/flatbuffers/flatbuffers-24.3.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 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 ~loong ~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 +} -- cgit v1.2.3-65-gdbad