Diff grpc-1.56.1 with a grpc-1.57.0-r1
/usr/portage/net-libs/grpc/grpc-1.57.0-r1.ebuild 2023-10-09 14:52:34.472368476 +0300 | ||
---|---|---|
13 | 13 | |
14 | 14 |
LICENSE="Apache-2.0" |
15 | 15 |
# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt |
16 |
SLOT="0/33.156" |
|
16 |
SLOT="0/34.157" |
|
17 | 17 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" |
18 |
IUSE="doc examples test" |
|
18 |
IUSE="doc examples test systemd" |
|
19 | 19 | |
20 | 20 |
# look for submodule versions in third_party dir |
21 | 21 |
RDEPEND=" |
22 |
=dev-cpp/abseil-cpp-20230125.2*:= |
|
22 |
=dev-cpp/abseil-cpp-20230125.3*:= |
|
23 | 23 |
>=dev-libs/re2-0.2021.11.01:= |
24 | 24 |
>=dev-libs/openssl-1.1.1:0=[-bindist(-)] |
25 | 25 |
>=dev-libs/protobuf-23.3:= |
26 | 26 |
dev-libs/xxhash |
27 | 27 |
>=net-dns/c-ares-1.15.0:= |
28 | 28 |
sys-libs/zlib:= |
29 |
systemd? ( sys-apps/systemd:= ) |
|
29 | 30 |
" |
30 | 31 |
DEPEND=" |
31 | 32 |
${RDEPEND} |
... | ... | |
42 | 43 | |
43 | 44 |
S="${WORKDIR}/${PN}-${MY_PV}" |
44 | 45 | |
46 |
PATCHES=( |
|
47 |
"${FILESDIR}"/${PN}-1.57.0-fix-cmake.patch |
|
48 |
) |
|
49 | ||
45 | 50 |
soversion_check() { |
46 | 51 |
local core_sover cpp_sover |
47 | 52 |
# extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")' |
... | ... | |
83 | 88 |
-DgRPC_ZLIB_PROVIDER=package |
84 | 89 |
-DgRPC_BUILD_TESTS=$(usex test) |
85 | 90 |
-DCMAKE_CXX_STANDARD=17 |
91 |
-DCMAKE_DISABLE_FIND_PACKAGE_systemd=$(usex !systemd) |
|
86 | 92 |
$(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '') |
87 | 93 |
) |
88 | 94 |
cmake_src_configure |