diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-07 15:51:07 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-07 15:52:56 +0100 |
commit | ea941c86046d5e2a9ea7d1ae8ce237feab4e9f53 (patch) | |
tree | 1c364ae7c7a126e876bfa97915276119eb72a91b /dev-libs | |
parent | dev-libs/flatbuffers: Add myself as maintainer (diff) | |
download | gentoo-ea941c86046d5e2a9ea7d1ae8ce237feab4e9f53.tar.gz gentoo-ea941c86046d5e2a9ea7d1ae8ce237feab4e9f53.tar.bz2 gentoo-ea941c86046d5e2a9ea7d1ae8ce237feab4e9f53.zip |
dev-libs/flatbuffers: Bump to 22.12.06
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/flatbuffers/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/flatbuffers/flatbuffers-22.12.06.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest index 36742322397f..bb14ddd597cd 100644 --- a/dev-libs/flatbuffers/Manifest +++ b/dev-libs/flatbuffers/Manifest @@ -1,2 +1,3 @@ DIST flatbuffers-2.0.0.tar.gz 1538022 BLAKE2B ccd827a43da39cf831727b439beed0cea216cdf50dbfe70954854bbe388b2c47ed4e78cc87e3fc0d5568034b13baa2ea96480914cc8129747bccbf8ea928847c SHA512 26a06b572c0e4c9685743bd2d2162ac7dcd74b9324624cc3f3ef5b154c0cee7c52a04b77cdc184245d2d6ae38dfdcc4fd66001c318aa8ca001d2bf1d85d66a89 DIST flatbuffers-2.0.6.tar.gz 1724250 BLAKE2B b6969b28dba753c4551b33d27409d9925c10a640ae860264f8054c19a470ce3da366c0bf7917bf7fe4f6cb57acbfbe1837f175fde40b84d311df6d1378d146ce SHA512 be631f34064c28d81876bf137c796e9736623cf2cc4f2a05dd45372e7195729c99fad1fa795f8ce71a408756a842edbdc0c3bc714a7cf63203a1de8681d86fb6 +DIST flatbuffers-22.12.06.gh.tar.gz 2172096 BLAKE2B 92bf0c56c10fa369e7a8a53a7f903af6b5f17560a3558587914c29ab8a655f3ee078c3e261426ca5d9ad0587419d4f0049459edc552e25958f80b80ba9539d59 SHA512 1b2c8eaa2ebeb92c3ebc363888b34b817d7b62a568e40bce2b037814f1f0103d4cb7db8507ec9ca05421be61b0b2be3edd6c4d564f75d1ce39278d73f8442ac1 diff --git a/dev-libs/flatbuffers/flatbuffers-22.12.06.ebuild b/dev-libs/flatbuffers/flatbuffers-22.12.06.ebuild new file mode 100644 index 000000000000..6c4c402f183d --- /dev/null +++ b/dev-libs/flatbuffers/flatbuffers-22.12.06.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Memory efficient serialization library" +HOMEPAGE="https://google.github.io/flatbuffers/" +SRC_URI=" + https://github.com/google/flatbuffers/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0/2" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~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) + -DFLATBUFFERS_BUILD_BENCHMARKS=OFF + ) + + cmake_src_configure +} |