# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit cmake DESCRIPTION="Client library written in C for MongoDB" HOMEPAGE="https://github.com/mongodb/mongo-c-driver" SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm64 ~hppa ~riscv x86" IUSE="debug examples icu sasl ssl static-libs test" REQUIRED_USE="test? ( static-libs )" # No tests on x86 because tests require dev-db/mongodb which don't support # x86 anymore (bug #645994) RESTRICT="x86? ( test ) !test? ( test )" RDEPEND="app-arch/snappy:= app-arch/zstd:= >=dev-libs/libbson-${PV}[static-libs?]