Diff grpc-1.28.1-r1 with a grpc-1.32.0

/usr/portage/net-libs/grpc/grpc-1.32.0.ebuild 2021-05-02 13:39:00.000000000 +0300
14 14
LICENSE="Apache-2.0"
15 15
SLOT="0"
16 16
KEYWORDS="~amd64 ~ppc64 ~x86"
17
IUSE="doc examples"
17
IUSE="doc examples test"
18 18

  
19
DEPEND="
19
RDEPEND="
20 20
	=dev-cpp/abseil-cpp-20200225*:=
21
	>=dev-libs/protobuf-3.11.2:=
21
	dev-libs/re2:=
22
	>=dev-libs/protobuf-3.13.0:=
22 23
	>=net-dns/c-ares-1.15.0:=
23 24
	sys-libs/zlib:=
24
	>=dev-libs/openssl-1.0.2:0=[-bindist]
25
	>=dev-libs/openssl-1.1.1:0=[-bindist]
26
"
27

  
28
DEPEND="${RDEPEND}
29
	test? (
30
		dev-cpp/benchmark
31
		dev-cpp/gflags
32
	)
25 33
"
26 34

  
27
RDEPEND="${DEPEND}"
28 35
BDEPEND="virtual/pkgconfig"
29 36

  
30
# requires git checkouts of google tools
37
# requires sources of many google tools
31 38
RESTRICT="test"
32 39

  
33 40
S="${WORKDIR}/${PN}-${MY_PV}"
34 41

  
42
PATCHES=( "${FILESDIR}/use-pkg-config-to-find-re2.patch" )
43

  
35 44
src_prepare() {
36 45
	cmake_src_prepare
37 46

  
......
44 53
	local mycmakeargs=(
45 54
		-DgRPC_INSTALL=ON
46 55
		-DgRPC_ABSL_PROVIDER=package
56
		-DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
47 57
		-DgRPC_CARES_PROVIDER=package
48 58
		-DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
49 59
		-DgRPC_INSTALL_LIBDIR="$(get_libdir)"
50 60
		-DgRPC_PROTOBUF_PROVIDER=package
61
		-DgRPC_RE2_PROVIDER=package
51 62
		-DgRPC_SSL_PROVIDER=package
52 63
		-DgRPC_ZLIB_PROVIDER=package
64
		-DgRPC_BUILD_TESTS=$(usex test)
65
		$(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
66
		$(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
53 67
	)
54 68
	cmake_src_configure
55 69
}
Thank you!