diff options
Diffstat (limited to 'dev-libs/libbson')
-rw-r--r-- | dev-libs/libbson/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libbson/libbson-1.24.4.ebuild | 49 | ||||
-rw-r--r-- | dev-libs/libbson/metadata.xml | 2 |
3 files changed, 53 insertions, 2 deletions
diff --git a/dev-libs/libbson/Manifest b/dev-libs/libbson/Manifest index 10353ca4e5f0..68e171a4e192 100644 --- a/dev-libs/libbson/Manifest +++ b/dev-libs/libbson/Manifest @@ -1,4 +1,6 @@ AUX libbson-1.14.0-no-docs.patch 356 BLAKE2B 801760527a7511a0472d85ba6a6ca00d4b59306f5ec69f0f6b5d89c1858d342a7ec724c7dece3a56ea6506a794c876496e54c498d1d69ec8fb5d7869e68ee94e SHA512 e28f9099f382f7e96ce804c32d30976af4df26f2153c3dd250504b33f522f16ded73563a45f306a9439bf27e723c931df53217cc3735362120e88e4c8f3ce8aa DIST libbson-1.18.0.tar.gz 7246954 BLAKE2B 9418ab2e132f8a8c582bcbea8c7b090e9e45e34219845d8f6b7a99d4ebfb17ef2eec2223504e9a4ab7f51ca01e904a7f3bb04bf9f8bf20c010ab9f82894a728e SHA512 c970f347689916172a957fc431b307bab3cb63367d4b39c49745c75b9fa84f0035db934c551570a4141733fc1bc6b33b118911c3b69ecdea797f19312b213606 +DIST libbson-1.24.4.tar.gz 7916661 BLAKE2B e361b52bf16eed7437428b0481d792ecf2f9cc283fdd6f23916d4a3ffb1b7d7c9ea7a7c4cf5f369e21fb6d4f564b91e07ac2ee44656855993218593dc4f1c166 SHA512 3563c061565d17a76581e188f6e184d7e41f2729812c8815afd34e03ebe6c1d25d7498a2cb1b599a09d24f6268c36473ef5113a14c7585a1532c9abf2e56e936 EBUILD libbson-1.18.0.ebuild 1018 BLAKE2B 908e9aaa50d22370be2d4bcff8a7d990c5ad06f408eb591d15d20bc0e6a766006064f68603a990a812bb47575b4c227a2c7bd8e4bbb7b562b140358f3f8c6f2a SHA512 f51e9df859b562570babebcb8678be5f8fed8c39ff6f52aacba6366108cfb32e34728be075f2772b90d378d89b6d7fe8cfa96b14623a3565070c54d85f7751b2 -MISC metadata.xml 334 BLAKE2B 1ac3657fbaff07b8c50acc95b9df44493770dee67f965a7489b3483d0038c0e5c41a7ca689c7005d2f766993fa1747d0bbcd6277dcd5d68630480e9d58beb323 SHA512 e71f29845e2f49c78bf3f515c601eaf6e01b4fba2c19d78cac11108e49c7f0eb85f24e374843553ec9b139c60fa31d3a9574f30d21225c848fedcf4b317fb6f5 +EBUILD libbson-1.24.4.ebuild 1105 BLAKE2B db7d52cc0beaa46452ee3d89cdee34336b54523bf4ce7c494ff4508292505c3e9557f51f26ab8f294c8c9f60fe2fb7d56fa325f470e7ef82f251362fd462993c SHA512 b90a0469c684f7e49568e9a24f9019afa48060c17a178feb21cb58ebdfb3495d43dab2eed3ecd33481cf7474f9bbb7d1d72e89353fbfdaa3c910f246b7da7d97 +MISC metadata.xml 341 BLAKE2B ddeb43b42ef985263efa22e2ea22db33ab03c51aac7775baef0f4fea0f9441ec599eea7c62d65cd4f9f9a76853a97f4daab183103b1773a7daa1c84afbe10180 SHA512 925511347dd3d1d955ad86319b4c5560d5e759be66b7f9d127e4d47fb98fbd2fd625b373302c8d4170ae8bddfdbf0ce7b774dc89568d7aa6a19fbf95f23a4f75 diff --git a/dev-libs/libbson/libbson-1.24.4.ebuild b/dev-libs/libbson/libbson-1.24.4.ebuild new file mode 100644 index 000000000000..b21689d766dc --- /dev/null +++ b/dev-libs/libbson/libbson-1.24.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Library routines related to building,parsing and iterating BSON documents" +HOMEPAGE="https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson" +SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/mongo-c-driver-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~loong ~ppc ~riscv ~sparc ~x86" +IUSE="examples static-libs" + +BDEPEND="dev-python/sphinx" + +S="${WORKDIR}/mongo-c-driver-${PV}" + +src_prepare() { + cmake_src_prepare + + # remove doc files + sed -i '/^\s*install\s*(FILES COPYING NEWS/,/^\s*)/ {d}' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DENABLE_BSON=ON + -DENABLE_EXAMPLES=OFF + -DENABLE_MAN_PAGES=ON + -DENABLE_MONGOC=OFF + -DENABLE_TESTS=OFF + -DENABLE_STATIC="$(usex static-libs ON OFF)" + -DENABLE_UNINSTALL=OFF + ) + + cmake_src_configure +} + +src_install() { + if use examples; then + docinto examples + dodoc src/libbson/examples/*.c + fi + + cmake_src_install +} diff --git a/dev-libs/libbson/metadata.xml b/dev-libs/libbson/metadata.xml index 4969d78d9fe6..c01295da36f6 100644 --- a/dev-libs/libbson/metadata.xml +++ b/dev-libs/libbson/metadata.xml @@ -6,6 +6,6 @@ <name>Ultrabug</name> </maintainer> <upstream> - <remote-id type="github">mongodb/libbson</remote-id> + <remote-id type="github">mongodb/mongo-c-driver</remote-id> </upstream> </pkgmetadata> |