Diff protobuf-21.12 with a protobuf-23.3-r2
/usr/portage/dev-libs/protobuf/protobuf-23.3-r2.ebuild 2023-10-09 14:52:29.756368357 +0300 | ||
---|---|---|
19 | 19 |
HOMEPAGE="https://protobuf.dev/" |
20 | 20 | |
21 | 21 |
LICENSE="BSD" |
22 |
SLOT="0/3.$(ver_cut 1-2).0" |
|
22 |
SLOT="0/$(ver_cut 1-2).0" |
|
23 | 23 |
IUSE="emacs examples test zlib" |
24 | 24 |
RESTRICT="!test? ( test )" |
25 | 25 | |
26 | 26 |
BDEPEND="emacs? ( app-editors/emacs:* )" |
27 | 27 |
DEPEND=" |
28 |
>=dev-cpp/abseil-cpp-20230125.3:=[${MULTILIB_USEDEP}] |
|
28 | 29 |
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) |
29 | 30 |
test? ( >=dev-cpp/gtest-1.9[${MULTILIB_USEDEP}] ) |
30 | 31 |
" |
31 | 32 |
RDEPEND=" |
33 |
>=dev-cpp/abseil-cpp-20230125.3:=[${MULTILIB_USEDEP}] |
|
32 | 34 |
emacs? ( app-editors/emacs:* ) |
33 | 35 |
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) |
34 | 36 |
" |
... | ... | |
55 | 57 |
-Dprotobuf_BUILD_EXAMPLES=$(usex examples) |
56 | 58 |
-Dprotobuf_WITH_ZLIB=$(usex zlib) |
57 | 59 |
-Dprotobuf_BUILD_TESTS=$(usex test) |
60 |
-Dprotobuf_ABSL_PROVIDER=package |
|
58 | 61 |
) |
59 | 62 |
use test && mycmakeargs+=(-Dprotobuf_USE_EXTERNAL_GTEST=ON) |
60 | 63 |